This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[own 6.0 w/ enabled websvc/core module; dup of issue 81501] java.lang.RuntimeException: DOM graph creation failed: org.netbeans.modules.schema2beans.Schema2BeansRuntimeException: Failed to create the XML-DOM Document. Check your XML to make sure it is correct. Premature end of file. might still randomly happen when creating new websvc client in emtpy j2se project (empty = any j2se project wo/ jax-ws.xml file) because of incorrect condition in J2SEProject.getJaxWsModel(): if (fo==null) jaxWsModel = JaxWsModelProvider.getDefault().getJaxWsModel(WSUtils.class.getResource...); else jaxWsModel = JaxWsModelProvider.getDefault().getJaxWsModel(fo); The exception is thrown by JaxWsModelProvider.getDefault().getJaxWsModel(fo) in case when fo != null, but the file represented by fo does not exists on the disk (is not valid). this should fix the problem: < if (fo==null) ----- > if (fo==null || !fo.isValid())
cannot reproduce any more
v.