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.
This bug was originally marked as duplicate of bug 152142, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 6.8 (Build 200912041610) VM: BEA JRockit(R), R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-ia32, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: Linux Stacktrace: org.xml.sax.SAXParseException: Premature end of file. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283) at org.openide.xml.XMLUtil.parse(XMLUtil.java:348) at org.netbeans.spi.settings.DOMConvertor.read(DOMConvertor.java:116) at org.netbeans.modules.j2ee.deployment.impl.TargetModuleConverter.getTargetModulesByContextRoot(TargetModuleConverter.java:223) at org.netbeans.modules.j2ee.deployment.impl.TargetModule.findByContextRoot(TargetModule.java:236)
Created attachment 123584 [details] stacktrace
Can you provide a test project or describe precisely preconditions? IMO this can happen only when userdir gets corrupted.