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 83653 - Series of Exceptions following ClassCastException in AXIModel
Summary: Series of Exceptions following ClassCastException in AXIModel
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-29 02:58 UTC by Michael Frisino
Modified: 2006-10-19 14:40 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 Michael Frisino 2006-08-29 02:58:57 UTC
CAVEAT - tiis is based on my developer build where I took latest NB binaries and
build the "ant soa" for the Entpack.

If this is not reproducible for others, then it is probably a version
incompatibility problem that will go away for other builds.

---------------------------------


I was just clicking th efile nodes in the TRS sample project explorer. Just
single clicking file nodes. And I got this, I suspect in response to clicking on
the 

java.lang.ClassCastException: org.netbeans.modules.xml.axi.impl.AXIModelImpl
	at
org.netbeans.modules.xml.axi.impl.AXIModelListener.propertyChange(AXIModelListener.java:44)
	at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
	at
org.netbeans.modules.xml.xam.AbstractModel$Transaction.fireCompleteEventSet(AbstractModel.java:397)
	at
org.netbeans.modules.xml.xam.AbstractModel$Transaction.fireEvents(AbstractModel.java:385)
	at
org.netbeans.modules.xml.xam.AbstractModel.endTransaction(AbstractModel.java:289)
	at
org.netbeans.modules.xml.xam.AbstractModel.endTransaction(AbstractModel.java:281)
	at org.netbeans.modules.xml.xam.AbstractModel.sync(AbstractModel.java:227)
	at
org.netbeans.modules.xml.xam.AbstractModelFactory.getModel(AbstractModelFactory.java:83)
	at org.netbeans.modules.xml.axi.AXIModelFactory.getModel(AXIModelFactory.java:76)
	at org.netbeans.modules.xml.axi.AXIModelFactory.getModel(AXIModelFactory.java:66)
	at
org.netbeans.modules.xml.schema.abe.navigator.NavigatorContent.getAXIModel(NavigatorContent.java:167)
	at
org.netbeans.modules.xml.schema.abe.navigator.NavigatorContent.show(NavigatorContent.java:92)
	at
org.netbeans.modules.xml.schema.abe.navigator.ABENavigatorPanel.resultChanged(ABENavigatorPanel.java:85)
	at org.openide.util.lookup.SimpleProxyLookup.checkLookup(SimpleProxyLookup.java:85)
	at org.openide.util.lookup.SimpleProxyLookup.access$000(SimpleProxyLookup.java:36)
	at
org.openide.util.lookup.SimpleProxyLookup$ProxyResult.checkResult(SimpleProxyLookup.java:147)
	at
org.openide.util.lookup.SimpleProxyLookup$ProxyResult.allInstances(SimpleProxyLookup.java:219)
	at
org.netbeans.modules.xml.schema.abe.navigator.ABENavigatorPanel.resultChanged(ABENavigatorPanel.java:80)
	at
org.netbeans.modules.xml.schema.abe.navigator.ABENavigatorPanel.panelActivated(ABENavigatorPanel.java:68)
	at
org.netbeans.modules.navigator.NavigatorController.updateContext(NavigatorController.java:229)
	at
org.netbeans.modules.navigator.NavigatorController.access$600(NavigatorController.java:62)
[catch] at
org.netbeans.modules.navigator.NavigatorController$ActNodeSetter.run(NavigatorController.java:388)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

---------------------------------------

Once the above happens, then ever other file selection is also messed up and a
whole series of exceptions occur. This is a bad bug. 

java.lang.NullPointerException
	at
org.netbeans.modules.xml.text.navigator.XMLNavigatorPanel.panelDeactivated(XMLNavigatorPanel.java:74)
	at
org.netbeans.modules.navigator.NavigatorController.updateContext(NavigatorController.java:225)
	at
org.netbeans.modules.navigator.NavigatorController.access$600(NavigatorController.java:62)
[catch] at
org.netbeans.modules.navigator.NavigatorController$ActNodeSetter.run(NavigatorController.java:388)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

-----------------------
Comment 1 Samaresh Panda 2006-08-29 18:15:37 UTC
Checking in AXIModelListener.java;
/cvs/xml/axi/src/org/netbeans/modules/xml/axi/impl/Attic/AXIModelListener.java,v
 <--  AXIModelListener.java
new revision: 1.1.2.5;
Comment 2 Andrei Chistiakov 2006-10-19 14:40:55 UTC
Verified in build 061010_1.