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.
Build: NetBeans IDE Dev (Build 201003220200) VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04 OS: Linux User Comments: yardus: Adding a new platform yardus: Adding another NB6.8 based platform 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.modules.apisupport.project.universe.ModuleList.scanCluster(ModuleList.java:926) at org.netbeans.modules.apisupport.project.universe.ModuleList.findOrCreateModuleListFromCluster(ModuleList.java:883) at org.netbeans.modules.apisupport.project.universe.ModuleList.findOrCreateModuleListFromBinaries(ModuleList.java:856)
Created attachment 95590 [details] stacktrace
Created attachment 95598 [details] Example of an NB platform causing this problem The exception pops out when trying to add a platform containing some *.xml_hidden files. The attached application exhibits the problem. The same attached application works fine in NB6.8
Regression against NB6.8
Exception is coming from Netigso-related code: changeset: 156973:3b3ed9d0e31f user: Jaroslav Tulach <jtulach@netbeans.org> date: Mon Oct 05 15:24:20 2009 +0200 summary: Use config/Modules/*.xml to locate appropriate cluster modules
http://hg.netbeans.org/core-main/rev/48a2f573f6e0
Integrated into 'main-golden', will be available in build *201003250201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/48a2f573f6e0 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #182556: Don't parse files which don't have .xml extension