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 167448 - GFESB v2.1: ClassCastException when accessing QoS properties
Summary: GFESB v2.1: ClassCastException when accessing QoS properties
Status: CLOSED DUPLICATE of bug 167012
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jun Qian
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-22 09:54 UTC by Kirill Sorokin
Modified: 2009-12-03 02:38 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 Kirill Sorokin 2009-06-22 09:54:44 UTC
In CASA editor, when I click on any of the QoS badges that appear on the links, I get a ClassCastException (below). The
curious part is that it works correctly from time to time. But in most cases I get the exception.

java.lang.ClassCastException: org.netbeans.modules.compapp.casaeditor.model.casa.CasaWrapperModel
	at org.netbeans.modules.compapp.casaeditor.graph.actions.CasaQoSEditAction.mouseReleased(CasaQoSEditAction.java:106)
	at org.netbeans.api.visual.action.WidgetAction$Chain.mouseReleased(WidgetAction.java:790)
	at org.netbeans.api.visual.widget.SceneComponent$Operator$3.operate(SceneComponent.java:553)
	at org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:324)
	at org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:316)
	at org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:316)
	at org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:316)
	at org.netbeans.api.visual.widget.SceneComponent.processLocationOperator(SceneComponent.java:274)
	at org.netbeans.api.visual.widget.SceneComponent.mouseReleased(SceneComponent.java:155)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
	at java.awt.Component.processMouseEvent(Component.java:5602)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
	at java.awt.Component.processEvent(Component.java:5367)
	at java.awt.Container.processEvent(Container.java:2010)
	at java.awt.Component.dispatchEventImpl(Component.java:4068)
	at java.awt.Container.dispatchEventImpl(Container.java:2068)
	at java.awt.Component.dispatchEvent(Component.java:3903)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
	at java.awt.Container.dispatchEventImpl(Container.java:2054)
	at java.awt.Window.dispatchEventImpl(Window.java:1801)
	at java.awt.Component.dispatchEvent(Component.java:3903)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

--
Product Version: NetBeans IDE 6.5.1 (Build 200905151554)
Java: 1.5.0_19; Java HotSpot(TM) Client VM 1.5.0_19-137
System: Mac OS X version 10.5.7 running on i386; MacRoman; en_US (nb)
Userdir: /Users/ksorokin/Desktop/GFESB-2.1/netbeans.app/Contents/Resources/.netbeans/glassfishesb
Comment 1 Jun Qian 2009-09-14 21:04:53 UTC

*** This issue has been marked as a duplicate of 167012 ***
Comment 2 rajupgl 2009-12-03 02:38:38 UTC
Verified in the latest build(20091202-0720) and it's working fine.Hence closing the issue.