HitMan exception after use of SCENCO tool

Bug #1351504 reported by Danil Sokolov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Workcraft
Fix Committed
High
Danil Sokolov

Bug Description

To reproduce open the attached file and move the mouse over the nodes. The following exception is thrown:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at org.workcraft.plugins.cpog.VisualScenario.hitTestInLocalSpace(VisualScenario.java:269)
        at org.workcraft.dom.visual.VisualTransformableNode.hitTest(VisualTransformableNode.java:163)
        at org.workcraft.dom.visual.HitMan.isBranchHit(HitMan.java:94)
        at org.workcraft.dom.visual.HitMan.hitBranch(HitMan.java:131)
        at org.workcraft.dom.visual.HitMan.hitFirst(HitMan.java:121)
        at org.workcraft.dom.visual.HitMan.hitFirstChild(HitMan.java:146)
        at org.workcraft.dom.visual.HitMan.hitTestForSelection(HitMan.java:203)
        at org.workcraft.dom.visual.HitMan.hitTestForSelection(HitMan.java:277)
        at org.workcraft.gui.graph.tools.SelectionTool.updateState(SelectionTool.java:245)
        at org.workcraft.gui.graph.tools.SelectionTool.mouseMoved(SelectionTool.java:342)
        at org.workcraft.gui.graph.GraphEditorPanelMouseListener.mouseMoved(GraphEditorPanelMouseListener.java:75)
        at java.awt.Component.processMouseMotionEvent(Unknown Source)
        at javax.swing.JComponent.processMouseMotionEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$200(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

Tags: cpog ui

Related branches

Revision history for this message
Danil Sokolov (danilovesky) wrote :
Changed in workcraft:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.