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.

Bug 217431

Summary: org.xml.sax.SAXParseException: Premature end of file.
Product: serverplugins Reporter: Exceptions Reporter <exceptions_reporter>
Component: InfrastructureAssignee: Petr Hejl <phejl>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 191858
Attachments: stacktrace

Description Exceptions Reporter 2012-08-26 21:38:27 UTC
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)
Comment 1 Exceptions Reporter 2012-08-26 21:38:29 UTC
Created attachment 123584 [details]
stacktrace
Comment 2 Petr Hejl 2012-10-15 13:22:34 UTC
Can you provide a test project or describe precisely preconditions? IMO this
can happen only when userdir gets corrupted.