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 270006

Summary: ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Product: xml Reporter: tdnorb
Component: TAXAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal CC: carmarthen, tdnorb
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 12917
Attachments: stacktrace

Description tdnorb 2017-03-06 23:33:47 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: Mac OS X

User Comments:
carmarthen: I was trying to add new file type in ADA-support module

GUEST: In a new NB-Module creating a Window Component thows an exception

tdnorb: Building a new RCP app

GUEST: Following the Google Demo for modules




Stacktrace: 
java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
   at org.apache.xerces.parsers.SAXParser.<init>(SAXParser.java:0)
   at org.apache.xerces.parsers.SAXParser.<init>(SAXParser.java:0)
   at org.netbeans.tax.io.XNIBuilder$XMLBuilder.<init>(XNIBuilder.java:320)
   at org.netbeans.tax.io.XNIBuilder.buildDocument(XNIBuilder.java:142)
   at org.netbeans.modules.xml.tax.parser.XMLParsingSupport.parse(XMLParsingSupport.java:71)
   at org.netbeans.modules.apisupport.project.layers.LayerUtils$CookieImpl.openDocumentRoot(LayerUtils.java:257)
Comment 1 tdnorb 2017-03-06 23:33:50 UTC
Created attachment 163786 [details]
stacktrace
Comment 2 Svata Dedic 2017-03-14 12:15:36 UTC
tdnorb: some specific instruction ?
Comment 3 tdnorb 2017-03-14 13:05:00 UTC
Svata, I believe I was attempting to manually modify the layers.xml for my project, i.e. adding a folder to the File menu, in order to customize the menu, via right click context menu.  I'm unable to be more specific than that as I don't remember any more details.