Page 1 of 1

Java exception

Posted: Fri Jun 25, 2010 10:33 am
by kazutaka
Hello.
I am using a custom model which worked on opensim 1.9, but with 2.02 I always get a java exception error during IK process and it just stops. The error message I am getting is:


java.lang.NullPointerException
[catch] at org.opensim.view.motions.MotionsDB$1.run(MotionsDB.java:299)
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)

RE: Java exception

Posted: Fri Jun 25, 2010 2:07 pm
by aymanh
Hi Kazutaka,

It would be hard to track this down without the model, setup and data files but it seems that the exception is thrown while trying to load the resulting motion into the GUI. Can you run the IK from the command line? Does the resulting motion file look right? Can you load the resulting motion separately?

-Ayman