Error while hiding/showing wrapping surfaces
Posted: Fri Apr 04, 2014 8:58 am
Hello OpenSim community,
I have installed OpenSim 3.2 (OpenSim-3.2.0-win32VC10P.exe) on a computer that was recently upgraded to Windows 8. When I load a model (arm26.osim, for example) and try to show or hide a wrapping surface in the model, I receive a Java Illegal Argument Exception (see below). This issue happens with any wrapping surface in any model on this computer.
Any suggestions on how to fix this issue?
Thank you,
Allison
java.lang.IllegalArgumentException: No enum class org.opensim.modeling.Geometry$GeometryType with value 200072336
at org.opensim.modeling.Geometry$GeometryType.swigToEnum(Geometry.java:82)
at org.opensim.modeling.Geometry.getShape(Geometry.java:43)
at org.opensim.view.AnalyticGeometryDisplayer.getPolyData(AnalyticGeometryDisplayer.java:65)
at org.opensim.view.AnalyticGeometryDisplayer.updateFromProperties(AnalyticGeometryDisplayer.java:198)
at org.opensim.view.SingleModelVisuals.updateObjectDisplay(SingleModelVisuals.java:840)
at org.opensim.view.pub.ViewDB.updateModelDisplay(ViewDB.java:1162)
at org.opensim.view.nodes.PropertyEditorAdaptor.handlePropertyChangeCommon(PropertyEditorAdaptor.java:117)
at org.opensim.view.nodes.PropertyEditorAdaptor.handlePropertyChange(PropertyEditorAdaptor.java:504)
at org.opensim.view.nodes.PropertyEditorAdaptor.setValueInt(PropertyEditorAdaptor.java:149)
at org.opensim.view.nodes.PropertyEditorAdaptor.setValueInt(PropertyEditorAdaptor.java:144)
at org.opensim.view.ObjectDisplayShowHideBaseAction.applyOperationToNode(ObjectDisplayShowHideBaseAction.java:114)
at org.opensim.view.ObjectDisplayShowHideBaseAction.performAction(ObjectDisplayShowHideBaseAction.java:89)
at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:129)
at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95)
at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116)
at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99)
at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:126)
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:809)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
at java.awt.Component.processMouseEvent(Component.java:6290)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6055)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4653)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:607)
at java.awt.EventQueue$1.run(EventQueue.java:605)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:621)
at java.awt.EventQueue$2.run(EventQueue.java:619)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:618)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
I have installed OpenSim 3.2 (OpenSim-3.2.0-win32VC10P.exe) on a computer that was recently upgraded to Windows 8. When I load a model (arm26.osim, for example) and try to show or hide a wrapping surface in the model, I receive a Java Illegal Argument Exception (see below). This issue happens with any wrapping surface in any model on this computer.
Any suggestions on how to fix this issue?
Thank you,
Allison
java.lang.IllegalArgumentException: No enum class org.opensim.modeling.Geometry$GeometryType with value 200072336
at org.opensim.modeling.Geometry$GeometryType.swigToEnum(Geometry.java:82)
at org.opensim.modeling.Geometry.getShape(Geometry.java:43)
at org.opensim.view.AnalyticGeometryDisplayer.getPolyData(AnalyticGeometryDisplayer.java:65)
at org.opensim.view.AnalyticGeometryDisplayer.updateFromProperties(AnalyticGeometryDisplayer.java:198)
at org.opensim.view.SingleModelVisuals.updateObjectDisplay(SingleModelVisuals.java:840)
at org.opensim.view.pub.ViewDB.updateModelDisplay(ViewDB.java:1162)
at org.opensim.view.nodes.PropertyEditorAdaptor.handlePropertyChangeCommon(PropertyEditorAdaptor.java:117)
at org.opensim.view.nodes.PropertyEditorAdaptor.handlePropertyChange(PropertyEditorAdaptor.java:504)
at org.opensim.view.nodes.PropertyEditorAdaptor.setValueInt(PropertyEditorAdaptor.java:149)
at org.opensim.view.nodes.PropertyEditorAdaptor.setValueInt(PropertyEditorAdaptor.java:144)
at org.opensim.view.ObjectDisplayShowHideBaseAction.applyOperationToNode(ObjectDisplayShowHideBaseAction.java:114)
at org.opensim.view.ObjectDisplayShowHideBaseAction.performAction(ObjectDisplayShowHideBaseAction.java:89)
at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:129)
at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95)
at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116)
at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99)
at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:126)
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:809)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
at java.awt.Component.processMouseEvent(Component.java:6290)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6055)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4653)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:607)
at java.awt.EventQueue$1.run(EventQueue.java:605)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:621)
at java.awt.EventQueue$2.run(EventQueue.java:619)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:618)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)