Java exception

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Kazutaka Takahashi
Posts: 16
Joined: Tue Jan 29, 2008 4:48 pm

Java exception

Post by Kazutaka Takahashi » Fri Jun 25, 2010 10:33 am

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)

User avatar
Ayman Habib
Posts: 2236
Joined: Fri Apr 01, 2005 12:24 pm

RE: Java exception

Post by Ayman Habib » Fri Jun 25, 2010 2:07 pm

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

POST REPLY