#62 Multi view very unstable

Bug
open
Jerome Robert
9
2008-08-18
2008-08-18
Jerome Robert
No

In jCAE 0.16.0, closing and opening new 3D tabs leads to this exception or to native crash.

java.lang.IllegalMonitorStateException
at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:127)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1175)
at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431)
at sun.awt.SunToolkit.awtUnlock(SunToolkit.java:253)
at vtk.vtkPanel.UnLock(Native Method)
at vtk.vtkPanel.unlock(vtkPanel.java:58)
at org.jcae.vtk.Canvas.unlock(Canvas.java:227)
at org.jcae.vtk.MultiCanvas.addProp(MultiCanvas.java:87)
at org.jcae.vtk.MultiCanvas.actorCreated(MultiCanvas.java:107)
at org.jcae.vtk.AbstractNode.fireActorCreated(AbstractNode.java:218)
at org.jcae.vtk.AbstractNode.refreshActor(AbstractNode.java:505)
at org.jcae.vtk.Node.refresh(Node.java:743)
at org.jcae.vtk.Node.refresh(Node.java:733)
at org.jcae.vtk.ViewableCAD.computeNodes(ViewableCAD.java:264)
at org.jcae.vtk.ViewableCAD.refresh(ViewableCAD.java:87)
at org.jcae.netbeans.cad.ViewShapeCookie.view(ViewShapeCookie.java:59)
at org.openide.actions.ViewAction.performAction(ViewAction.java:80)
at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581)
at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:577)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)

Discussion