Page 1 of 1

Problems with v3.2

Posted: Mon Jun 09, 2014 7:28 pm
by kaewing
Hi,

I am using OpenSim version 3.2, but since yesterday it has not been able to run any of the tools. For example, when I run Scale in the GUI, the scaled model does not appear, although the Messages window indicates that the tool is running. Using the same setup files in 3.0.1 works fine. I tried uninstalling and then reinstalling v3.2 to no avail. In addition, the program does not respond well to opening and closing models in the Navigator.

Do you have any ideas why this is occurring?

Thanks!
Katie

Re: Problems with v3.2

Posted: Tue Jun 10, 2014 9:16 am
by aymanh
Hi Katie,

As described on this trail
https://simtk.org/forums/viewtopic.php?f=91&t=4591

you can restore your installation of OpenSim to "factory setting" of a fresh install, and that should take care of the problem. On some machines with slow graphics cards, loading of the visualization libraries first time takes a while so it may help to close the view window if it's not responding properly and open a new view window.

Please let us know if that resolves your problem for the benefit of the user community.

All the best,
-Ayman

Re: Problems with v3.2

Posted: Tue Jun 10, 2014 11:00 pm
by kaewing
Hi Ayman,

Thanks for the suggestions but unfortunately I'm still not having much luck. When I tried to run the vc10redist_x64.exe file, I got an error about Microsoft Visual C++ Redistributable. I uninstalled older versions of this and uninstalled OpenSim 3.2 again, but after restoring the installation the same problem exists.

I checked to see if the C:\OpenSim 3.2\bin folder is in my system path and it is.

I'm not sure if the problem is with my graphics card since the visualization is fine in older versions of OpenSim. I just don't understand why 3.2 would stop working suddenly!

Cheers,
Katie

Re: Problems with v3.2

Posted: Wed Jun 11, 2014 11:41 am
by aymanh
Hi Katie,

Earlier releases of OpenSim were only 32 bit, did you try the 32 bit installer of OpenSim 3.2? (as it sounds you're trying the 64-bit version). This would rule out one of the main differences. Unless you plan to use the API in Matlab or python, and you have a 64-bit installation there's absolutely no reason to use the 64 bit installer altogether.

Please let us know how that goes,
-Ayman

Re: Problems with v3.2

Posted: Wed Jun 11, 2014 7:15 pm
by kaewing
Hi Ayman,

I installed the 32 bit version of OpenSim 3.2 and the same problem persisted. I realized there was a Java error (too small to see in the corner), which said:

java.lang.NullPointerException
at org.netbeans.api.visual.graph.GraphScene.setEdgeSource(GraphScene.java:201)
at org.opensim.topologyEditor.topologyEditorTopComponent.populateDefault(topologyEditorTopComponent.java:153)
at org.opensim.topologyEditor.topologyEditorTopComponent.update(topologyEditorTopComponent.java:191)
at java.util.Observable.notifyObservers(Observable.java:142)
at org.opensim.view.pub.OpenSimDB.setCurrentModel(OpenSimDB.java:250)
at org.opensim.view.pub.OpenSimDB.addModel(OpenSimDB.java:144)
at org.opensim.view.pub.OpenSimDB.addModel(OpenSimDB.java:133)
at org.opensim.view.FileOpenOsimModelAction$1.run(FileOpenOsimModelAction.java:95)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:646)
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.awt.EventQueue.dispatchEvent(EventQueue.java:616)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

I uninstalled Windows versions of Java and ensured the version that came with the distribution was installed. Still no luck.

I then read in a previous thread that the error could be due to a corrupted model. I tried opening the gait2392 model from the Models folder and scaling worked fine, so I just ended up recopying this file to become my generic model.

So it seems the problem didn't have to do with my environment, but rather with a corrupt model. I still don't understand what would have corrupted it and why the same "bad" model works fine in previous versions of OpenSim, as well as 3.2 on my laptop. Anyway, I'm happy everything seems to be working now. I greatly appreciate your help.

Best wishes,
Katie