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 - ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Summary: ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguratio...
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: TAX (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-06 23:33 UTC by tdnorb
Modified: 2017-03-14 13:05 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 12917


Attachments
stacktrace (1.71 KB, text/plain)
2017-03-06 23:33 UTC, tdnorb
Details

Note You need to log in before you can comment on or make changes to this bug.
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.