error with starting Opensim

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
User avatar
Ayman Habib
Posts: 2235
Joined: Fri Apr 01, 2005 12:24 pm

RE: error with starting Opensim

Post by Ayman Habib » Thu Jun 17, 2010 10:22 am

Hi Giovanni,

What's the problem are you running into now? please post the messages.log file containing the stack-trace of the crash if you continue to have problems. Removing the .opensim folder as described by Matthias is needed, the registry keeps user preferences across sessions and probably you wouldn't need to change it.

Good luck,
-Ayman

User avatar
Giovanni Ferreira
Posts: 6
Joined: Wed Jun 02, 2010 5:07 pm

RE: error with starting Opensim

Post by Giovanni Ferreira » Thu Jun 17, 2010 7:10 pm

Hi Matthias and Ayman

I'm kinda dummie with this computer stuff, actually.. heheh

so, here's what happens when I start OpenSim

java.lang.NullPointerException
at org.opensim.view.pub.ViewDB.updateModelDisplay(ViewDB.java:1039)
at org.opensim.coordinateviewer.CoordinateViewerTopComponent.rebuild(CoordinateViewerTopComponent.java:588)
[catch] at org.opensim.coordinateviewer.Installer$1.run(Installer.java:23)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)



and this is what happens when I try to open a model

java.lang.NullPointerException
at org.opensim.view.pub.ViewDB.updateModelDisplay(ViewDB.java:1039)
at org.opensim.coordinateviewer.CoordinateViewerTopComponent.componentOpened(CoordinateViewerTopComponent.java:376)
at org.opensim.coordinateviewer.CoordinateViewerTopComponent.update(CoordinateViewerTopComponent.java:426)
at java.util.Observable.notifyObservers(Unknown Source)
at org.opensim.view.pub.OpenSimDB.setCurrentModel(OpenSimDB.java:182)
at org.opensim.view.pub.OpenSimDB.setCurrentModel(OpenSimDB.java:169)
at org.opensim.view.nodes.ModelMakeCurrentAction.performAction(ModelMakeCurrentAction.java:19)
at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:100)
at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:53)
at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:96)
at org.openide.explorer.view.TreeView$PopupSupport.mouseClicked(TreeView.java:1386)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
[catch] at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


I did read both of your replies, but here's the question: "C:/documents and settings" doesn't actually exists in Windows7. So, where's this ".opensim" file?

thanks again

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

RE: error with starting Opensim

Post by Ayman Habib » Fri Jun 18, 2010 8:02 am

Hi Giovanni,

This looks more like the localization issue described in this trail:
https://simtk.org/forum/message.php?msg_id=1180

which you can fix in Edit->Preferences as described on the trail above.

Can you try that?
-Ayman

User avatar
Giovanni Ferreira
Posts: 6
Joined: Wed Jun 02, 2010 5:07 pm

RE: error with starting Opensim

Post by Giovanni Ferreira » Fri Jun 18, 2010 4:34 pm

HELLO EVERYONE!

what a wonderful day, full of joy and happiness!

I did it! OpenSim is running smoothly here!

I followed the instructions about change the "dot" for "comma" in some preferences, such as background color, marker color, marker display radius and muscle display radius.


So this is it. thanks to everyone who helped me!

best regards,

Giovanni Ferreira

POST REPLY