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 79979 - 'Go To Source' from Navigator throws ClassCastException
Summary: 'Go To Source' from Navigator throws ClassCastException
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: bhate
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-11 13:17 UTC by Andrei Chistiakov
Modified: 2006-07-18 12:13 UTC (History)
4 users (show)

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 Andrei Chistiakov 2006-07-11 13:17:51 UTC
Reproduced in build 060710.

To reproduce the bug:

- open an XML schema;
- invoke 'Go To Source' on any schema component displayed in Navigator.

java.lang.ClassCastException: org.openide.nodes.FilterNode cannot be cast to
org.netbeans.modules.xml.schema.abe.nodes.ABEAbstractNode
	at
org.netbeans.modules.xml.schema.abe.action.ShowSourceAction1.performAction(ShowSourceAction1.java:93)
	at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:537)
	at
org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.actionPerformed(ActionsBridge.java:87)
	at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:80)
	at
org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(ActionsBridgeImpl.java:30)
	at
org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.doRun(ActionsBridge.java:78)
	at org.netbeans.modules.openide.util.ActionsBridge$1.run(ActionsBridge.java:47)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 bhate 2006-07-12 18:29:22 UTC
this issue is fixed
we will see goto source and goto schema from schema design navigator.
Comment 2 Andrei Chistiakov 2006-07-18 12:13:35 UTC
Verified in build 060717.