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 70506 - Unable to expand XML layer
Summary: Unable to expand XML layer
Status: VERIFIED DUPLICATE of bug 66967
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-16 14:15 UTC by Tomas Danek
Modified: 2005-12-19 11:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2005-12-16 14:15:52 UTC
I think it might be a dupe, but:

current trunk (5.1) on WIN XP

1) create feedreader sample
2) try to expand node FeedReader|Imporatnt files|XML Layer
3) exception, and another attempt expands only to Please wait.

java.lang.ClassCastException:
com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration
cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
	at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
	at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
	at org.netbeans.tax.io.XNIBuilder$XMLBuilder.<init>(XNIBuilder.java:289)
	at org.netbeans.tax.io.XNIBuilder.buildDocument(XNIBuilder.java:111)
	at
org.netbeans.modules.xml.tax.parser.XMLParsingSupport.parse(XMLParsingSupport.java:40)
	at
org.netbeans.modules.apisupport.project.layers.LayerUtils$CookieImpl.openDocumentRoot(LayerUtils.java:286)
	at
org.netbeans.modules.apisupport.project.layers.WritableXMLFileSystem.<init>(WritableXMLFileSystem.java:117)
	at
org.netbeans.modules.apisupport.project.layers.LayerUtils$LayerHandle.layer(LayerUtils.java:436)
	at
org.netbeans.modules.apisupport.project.layers.LayerNode$1.run(LayerNode.java:98)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
Comment 1 Jesse Glick 2005-12-16 21:41:39 UTC
Use a newer Mustang.

*** This issue has been marked as a duplicate of 66967 ***
Comment 2 Tomas Danek 2005-12-19 11:26:30 UTC
thanks. verified duplicate.