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 197869 - org.xml.sax.SAXParseException: Content is not allowed in prolog.
Summary: org.xml.sax.SAXParseException: Content is not allowed in prolog.
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-19 17:17 UTC by Exceptions Reporter
Modified: 2011-09-14 06:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 177827


Attachments
stacktrace (2.62 KB, text/plain)
2011-04-19 17:17 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2011-04-19 17:17:03 UTC
Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows 7

Stacktrace: 
org.xml.sax.SAXParseException: Content is not allowed in prolog.
   at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249)
   at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
   at org.openide.xml.XMLUtil.parse(XMLUtil.java:352)
   at org.netbeans.spi.settings.DOMConvertor.read(DOMConvertor.java:119)
   at org.netbeans.modules.j2ee.deployment.impl.TargetModuleConverter$2.call(TargetModuleConverter.java:230)
   at org.netbeans.modules.j2ee.deployment.impl.TargetModuleConverter$2.call(TargetModuleConverter.java:224)
Comment 1 Exceptions Reporter 2011-04-19 17:17:08 UTC
Created attachment 107840 [details]
stacktrace
Comment 2 Antonin Nebuzelsky 2011-04-20 12:49:18 UTC
Jesse, please evaluate. I see you were touching XMLUtil most recently.
Comment 3 Jesse Glick 2011-04-20 14:48:44 UTC
Just a malformed XML file being parsed. Should probably use fo.getPath() in the warning message so you can see which one.
Comment 4 Petr Hejl 2011-09-13 11:31:49 UTC
These reports seems to be just corrupted files - forcibly terminated IDE perhaps.

web-main 6a6d19d52421
Comment 5 Quality Engineering 2011-09-14 06:28:09 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/6a6d19d52421
User: phejl@netbeans.org
Log: #197869 org.xml.sax.SAXParseException: Content is not allowed in prolog