OpenSim - Startup Error

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
User avatar
Federico Scholcoff
Posts: 3
Joined: Sat Sep 19, 2009 2:48 pm

OpenSim - Startup Error

Post by Federico Scholcoff » Sun Sep 20, 2009 11:54 am

Hello.

I just downloaded OpenSim and, like a few other people, I get a java.lang.NullPointerException exception upon startup. I am running Windows 7 and and have tried starting OpenSim in several different compatibility modes (Windows 2000, Windows XP) and I still get the same error.

I found a thread from another person with this problem but they solved it by changing the compatibility mode to Windows 2000 which did not work for me.

Any help is appreciated!

Here is my error message log:

-------------------------------------------------------------------------------
>Log Session: Saturday, September 19, 2009 11:21:31 PM GMT
>System Info:
Product Version = OpenSim 1.9.1
Operating System = Windows NT (unknown) version 6.1 running on x86
Java; VM; Vendor; Home = 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05; Sun Microsystems Inc.; C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre
System Locale; Encoding = en_US (opensim); Cp1252
Home Dir.; Current Dir. = C:\Users\Fred; C:\Program Files (x86)\OpenSim 1.9.1
Installation; User Dir. = C:\Program Files (x86)\OpenSim 1.9.1\opensim;C:\Program Files (x86)\OpenSim 1.9.1\platform6; C:\Users\Fred\AppData\Roaming\.opensim\1.9.1
Boot & Ext. Classpath = C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\rt.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\i18n.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\sunrsasign.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\jsse.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\jce.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\charsets.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\classes;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\ext\dnsns.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\ext\localedata.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\ext\sunjce_provider.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\ext\sunpkcs11.jar
Application Classpath = C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\boot.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\org-openide-modules.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\org-openide-util.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\boot_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\boot_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\boot_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-modules_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-modules_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-modules_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-util_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-util_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-util_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\swing-l10n_pt_BR.jar
Startup Classpath = C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\core.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\org-openide-filesystems.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\core_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\core_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\core_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\org-openide-filesystems_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\org-openide-filesystems_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\org-openide-filesystems_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\opensim\core\locale\core_opensim.jar
-------------------------------------------------------------------------------
Turning on modules:
org.openide.util [6.8.31 200704122300]
org.openide.modules [6.5.31 200704122300]
org.jfree [1.0 090826]
org.openide.awt [6.7.31 200704122300]
org.openide.filesystems [6.4.31 200704122300]
org.openide.dialogs [6.5.31 200704122300]
org.openide.nodes [6.7.31 200704122300]
org.openide.windows [6.5.31 200704122300]
org.jdesktop.layout/1 [1.3.41 1.0 200704122300]
org.opensim.utils [1.0 090826]
org.apache.xmlgraphics.ps [1.0 090826]
org.jfree.data [1.0 090826]
org.openide.options [6.4.31 200704122300]
org.openide.text [6.9.32 200704122300]
org.openide.explorer [6.5.31 1 200704122300]
org.openide.actions [6.5.31 200704122300]
org.openide.loaders [5.9.31 200704122300]
vtk [1.0 090826]
org.netbeans.api.progress/1 [1.5.31 200704122300]
org.netbeans.bootstrap/1 [2.3.31 200704122300]
org.netbeans.core.startup/1 [1.5.31 200704122300]
org.netbeans.swing.plaf [1.5.31 200704122300]
org.netbeans.core/2 [3.2.31.1 200704122300]
org.netbeans.modules.javahelp/1 [2.8.31 200704122300]
org.opensim.modeling [1.0 090826]
org.opensim.logger [1.0 090826]
org.opensim.view [1.0 090901]
org.opensim.plotter [1.0 090826]
org.netbeans.swing.tabcontrol [1.6.31 200704122300]
org.opensim.coordinateviewer [1.0 090826]
org.netbeans.modules.settings/1 [1.10.51 200704122300]
org.netbeans.core.windows/2 [2.7.31.1 200704122300]
org.netbeans.modules.queries/1 [1.7.31 200704122300]
org.netbeans.modules.masterfs/1 [1.8.33 200704122300]
org.netbeans.core.ui/1 [1.9.31 200704122300]
org.netbeans.modules.favorites/1 [1.11.41 200704122300]
org.netbeans.modules.autoupdate/1 [2.16.31 200704122300]
org.opensim.tracking [1.0 090826]
[WinSys.PersistenceManager.getTopComponentForID] Problem when deserializing TopComponent for tcID:'MuscleEditorTopComponent'. Reason: Top component MuscleEditorTopComponent could not be located or loaded from Components folder.
Cannot find MuscleEditor component. It will not be located properly in the window system.
[WinSys.PersistenceManager.getTopComponentForID] Problem when deserializing TopComponent for tcID:'MarkerEditorTopComponent'. Reason: Top component MarkerEditorTopComponent could not be located or loaded from Components folder.
Cannot find MarkerEditor component. It will not be located properly in the window system.
*********** Exception occurred ************ at 11:21 PM on Sep 19, 2009
java.lang.NullPointerException
at java.awt.Dimension.<init>(Dimension.java:91)
at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(BasicProgressBarUI.java:757)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1615)
at org.netbeans.progress.module.ui.NbProgressBar.getPreferredSize(NbProgressBar.java:61)
at org.netbeans.progress.module.ui.StatusLineComponent.<init>(StatusLineComponent.java:101)
at org.netbeans.progress.module.Controller.getDefault(Controller.java:75)
at org.netbeans.progress.module.ProgressVisualizerProvider.getStatusLineElement(ProgressVisualizerProvider.java:36)
at org.netbeans.core.windows.view.ui.MainWindow.getStatusLineElements(MainWindow.java:253)
at org.netbeans.core.windows.view.ui.MainWindow.decoratePanel(MainWindow.java:227)
at org.netbeans.core.windows.view.ui.MainWindow.initializeComponents(MainWindow.java:182)
at org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:506)
at org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:485)
at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:169)
at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:244)
at org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:233)
at org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:170)
at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:91)
at org.netbeans.core.windows.Central.setVisible(Central.java:80)
at org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:716)
at org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:62)
at org.netbeans.core.NonGui$3.run(NonGui.java:229)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
[catch] 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)
-------------------------------------------------------------------------------
>Log Session: Sunday, September 20, 2009 5:45:32 AM GMT
>System Info:
Product Version = OpenSim 1.9.1
Operating System = Windows NT (unknown) version 6.1 running on x86
Java; VM; Vendor; Home = 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05; Sun Microsystems Inc.; C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre
System Locale; Encoding = en_US (opensim); Cp1252
Home Dir.; Current Dir. = C:\Users\Fred; C:\Program Files (x86)\OpenSim 1.9.1
Installation; User Dir. = C:\Program Files (x86)\OpenSim 1.9.1\opensim;C:\Program Files (x86)\OpenSim 1.9.1\platform6; C:\Users\Fred\AppData\Roaming\.opensim\1.9.1
Boot & Ext. Classpath = C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\rt.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\i18n.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\sunrsasign.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\jsse.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\jce.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\charsets.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\classes;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\ext\dnsns.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\ext\localedata.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\ext\sunjce_provider.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\ext\sunpkcs11.jar
Application Classpath = C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\boot.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\org-openide-modules.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\org-openide-util.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\boot_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\boot_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\boot_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-modules_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-modules_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-modules_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-util_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-util_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-util_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\swing-l10n_pt_BR.jar
Startup Classpath = C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\core.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\org-openide-filesystems.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\core_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\core_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\core_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\org-openide-filesystems_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\org-openide-filesystems_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\org-openide-filesystems_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\opensim\core\locale\core_opensim.jar
-------------------------------------------------------------------------------
Turning on modules:
org.openide.util [6.8.31 200704122300]
org.openide.modules [6.5.31 200704122300]
org.openide.awt [6.7.31 200704122300]
org.openide.dialogs [6.5.31 200704122300]
org.netbeans.swing.plaf [1.5.31 200704122300]
org.openide.filesystems [6.4.31 200704122300]
org.openide.nodes [6.7.31 200704122300]
org.openide.windows [6.5.31 200704122300]
org.openide.options [6.4.31 200704122300]
org.openide.text [6.9.32 200704122300]
org.openide.explorer [6.5.31 1 200704122300]
org.openide.actions [6.5.31 200704122300]
org.openide.loaders [5.9.31 200704122300]
org.netbeans.bootstrap/1 [2.3.31 200704122300]
org.netbeans.core.startup/1 [1.5.31 200704122300]
org.netbeans.core/2 [3.2.31.1 200704122300]
org.netbeans.modules.settings/1 [1.10.51 200704122300]
org.netbeans.swing.tabcontrol [1.6.31 200704122300]
org.netbeans.core.windows/2 [2.7.31.1 200704122300]
org.jdesktop.layout/1 [1.3.41 1.0 200704122300]
org.opensim.utils [1.0 090826]
org.opensim.modeling [1.0 090826]
org.opensim.logger [1.0 090826]
org.jfree [1.0 090826]
org.netbeans.modules.queries/1 [1.7.31 200704122300]
org.netbeans.modules.masterfs/1 [1.8.33 200704122300]
org.netbeans.core.ui/1 [1.9.31 200704122300]
vtk [1.0 090826]
org.netbeans.api.progress/1 [1.5.31 200704122300]
org.apache.xmlgraphics.ps [1.0 090826]
org.jfree.data [1.0 090826]
org.netbeans.modules.javahelp/1 [2.8.31 200704122300]
org.opensim.view [1.0 090901]
org.opensim.coordinateviewer [1.0 090826]
org.netbeans.modules.favorites/1 [1.11.41 200704122300]
org.opensim.plotter [1.0 090826]
org.opensim.tracking [1.0 090826]
org.netbeans.modules.autoupdate/1 [2.16.31 200704122300]
*********** Exception occurred ************ at 5:45 AM on Sep 20, 2009
java.lang.NullPointerException
at java.awt.Dimension.<init>(Dimension.java:91)
at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(BasicProgressBarUI.java:757)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1615)
at org.netbeans.progress.module.ui.NbProgressBar.getPreferredSize(NbProgressBar.java:61)
at org.netbeans.progress.module.ui.StatusLineComponent.<init>(StatusLineComponent.java:101)
at org.netbeans.progress.module.Controller.getDefault(Controller.java:75)
at org.netbeans.progress.module.ProgressVisualizerProvider.getStatusLineElement(ProgressVisualizerProvider.java:36)
at org.netbeans.core.windows.view.ui.MainWindow.getStatusLineElements(MainWindow.java:253)
at org.netbeans.core.windows.view.ui.MainWindow.decoratePanel(MainWindow.java:227)
at org.netbeans.core.windows.view.ui.MainWindow.initializeComponents(MainWindow.java:182)
at org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:506)
at org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:485)
at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:169)
at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:244)
at org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:233)
at org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:170)
at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:91)
at org.netbeans.core.windows.Central.setVisible(Central.java:80)
at org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:716)
at org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:62)
at org.netbeans.core.NonGui$3.run(NonGui.java:229)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
[catch] 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)
-------------------------------------------------------------------------------
>Log Session: Sunday, September 20, 2009 5:54:01 AM GMT
>System Info:
Product Version = OpenSim 1.9.1
Operating System = Windows NT (unknown) version 6.1 running on x86
Java; VM; Vendor; Home = 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05; Sun Microsystems Inc.; C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre
System Locale; Encoding = en_US (opensim); Cp1252
Home Dir.; Current Dir. = C:\Users\Fred; C:\Program Files (x86)\OpenSim 1.9.1
Installation; User Dir. = C:\Program Files (x86)\OpenSim 1.9.1\opensim;C:\Program Files (x86)\OpenSim 1.9.1\platform6; C:\Users\Fred\AppData\Roaming\.opensim\1.9.1
Boot & Ext. Classpath = C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\rt.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\i18n.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\sunrsasign.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\jsse.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\jce.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\charsets.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\classes;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\ext\dnsns.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\ext\localedata.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\ext\sunjce_provider.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\ext\sunpkcs11.jar
Application Classpath = C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\boot.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\org-openide-modules.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\org-openide-util.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\boot_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\boot_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\boot_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-modules_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-modules_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-modules_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-util_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-util_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-util_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\swing-l10n_pt_BR.jar
Startup Classpath = C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\core.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\org-openide-filesystems.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\core_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\core_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\core_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\org-openide-filesystems_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\org-openide-filesystems_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\org-openide-filesystems_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\opensim\core\locale\core_opensim.jar
-------------------------------------------------------------------------------
Turning on modules:
org.openide.util [6.8.31 200704122300]
org.openide.modules [6.5.31 200704122300]
org.openide.awt [6.7.31 200704122300]
org.openide.filesystems [6.4.31 200704122300]
org.openide.dialogs [6.5.31 200704122300]
org.openide.nodes [6.7.31 200704122300]
org.openide.windows [6.5.31 200704122300]
org.openide.options [6.4.31 200704122300]
org.openide.text [6.9.32 200704122300]
org.openide.explorer [6.5.31 1 200704122300]
org.openide.actions [6.5.31 200704122300]
org.openide.loaders [5.9.31 200704122300]
org.netbeans.bootstrap/1 [2.3.31 200704122300]
org.netbeans.core.startup/1 [1.5.31 200704122300]
org.netbeans.swing.plaf [1.5.31 200704122300]
org.netbeans.core/2 [3.2.31.1 200704122300]
org.netbeans.modules.settings/1 [1.10.51 200704122300]
org.netbeans.swing.tabcontrol [1.6.31 200704122300]
org.netbeans.core.windows/2 [2.7.31.1 200704122300]
org.apache.xmlgraphics.ps [1.0 090826]
org.netbeans.api.progress/1 [1.5.31 200704122300]
org.netbeans.modules.javahelp/1 [2.8.31 200704122300]
org.netbeans.modules.autoupdate/1 [2.16.31 200704122300]
org.jfree [1.0 090826]
org.jdesktop.layout/1 [1.3.41 1.0 200704122300]
org.opensim.utils [1.0 090826]
org.jfree.data [1.0 090826]
vtk [1.0 090826]
org.opensim.modeling [1.0 090826]
org.opensim.logger [1.0 090826]
org.opensim.view [1.0 090901]
org.opensim.plotter [1.0 090826]
org.netbeans.modules.queries/1 [1.7.31 200704122300]
org.netbeans.modules.favorites/1 [1.11.41 200704122300]
org.netbeans.core.ui/1 [1.9.31 200704122300]
org.opensim.tracking [1.0 090826]
org.opensim.coordinateviewer [1.0 090826]
org.netbeans.modules.masterfs/1 [1.8.33 200704122300]
*********** Exception occurred ************ at 5:54 AM on Sep 20, 2009
java.lang.NullPointerException
at java.awt.Dimension.<init>(Dimension.java:91)
at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(BasicProgressBarUI.java:757)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1615)
at org.netbeans.progress.module.ui.NbProgressBar.getPreferredSize(NbProgressBar.java:61)
at org.netbeans.progress.module.ui.StatusLineComponent.<init>(StatusLineComponent.java:101)
at org.netbeans.progress.module.Controller.getDefault(Controller.java:75)
at org.netbeans.progress.module.ProgressVisualizerProvider.getStatusLineElement(ProgressVisualizerProvider.java:36)
at org.netbeans.core.windows.view.ui.MainWindow.getStatusLineElements(MainWindow.java:253)
at org.netbeans.core.windows.view.ui.MainWindow.decoratePanel(MainWindow.java:227)
at org.netbeans.core.windows.view.ui.MainWindow.initializeComponents(MainWindow.java:182)
at org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:506)
at org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:485)
at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:169)
at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:244)
at org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:233)
at org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:170)
at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:91)
at org.netbeans.core.windows.Central.setVisible(Central.java:80)
at org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:716)
at org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:62)
at org.netbeans.core.NonGui$3.run(NonGui.java:229)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
[catch] 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)
-------------------------------------------------------------------------------
>Log Session: Sunday, September 20, 2009 6:46:50 PM GMT
>System Info:
Product Version = OpenSim 1.9.1
Operating System = Windows NT (unknown) version 6.1 running on x86
Java; VM; Vendor; Home = 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05; Sun Microsystems Inc.; C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre
System Locale; Encoding = en_US (opensim); Cp1252
Home Dir.; Current Dir. = C:\Users\Fred; C:\Program Files (x86)\OpenSim 1.9.1
Installation; User Dir. = C:\Program Files (x86)\OpenSim 1.9.1\opensim;C:\Program Files (x86)\OpenSim 1.9.1\platform6; C:\Users\Fred\AppData\Roaming\.opensim\1.9.1
Boot & Ext. Classpath = C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\rt.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\i18n.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\sunrsasign.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\jsse.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\jce.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\charsets.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\classes;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\ext\dnsns.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\ext\localedata.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\ext\sunjce_provider.jar;C:\Program Files (x86)\OpenSim 1.9.1\jdk\jre\lib\ext\sunpkcs11.jar
Application Classpath = C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\boot.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\org-openide-modules.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\org-openide-util.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\boot_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\boot_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\boot_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-modules_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-modules_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-modules_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-util_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-util_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\org-openide-util_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\lib\locale\swing-l10n_pt_BR.jar
Startup Classpath = C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\core.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\org-openide-filesystems.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\core_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\core_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\core_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\org-openide-filesystems_ja.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\org-openide-filesystems_pt_BR.jar;C:\Program Files (x86)\OpenSim 1.9.1\platform6\core\locale\org-openide-filesystems_zh_CN.jar;C:\Program Files (x86)\OpenSim 1.9.1\opensim\core\locale\core_opensim.jar
-------------------------------------------------------------------------------
Turning on modules:
org.openide.util [6.8.31 200704122300]
org.openide.modules [6.5.31 200704122300]
org.openide.awt [6.7.31 200704122300]
org.openide.filesystems [6.4.31 200704122300]
org.openide.dialogs [6.5.31 200704122300]
org.openide.nodes [6.7.31 200704122300]
org.openide.windows [6.5.31 200704122300]
org.openide.options [6.4.31 200704122300]
org.openide.text [6.9.32 200704122300]
org.openide.explorer [6.5.31 1 200704122300]
org.openide.actions [6.5.31 200704122300]
org.openide.loaders [5.9.31 200704122300]
org.netbeans.bootstrap/1 [2.3.31 200704122300]
org.netbeans.core.startup/1 [1.5.31 200704122300]
org.netbeans.swing.plaf [1.5.31 200704122300]
org.netbeans.core/2 [3.2.31.1 200704122300]
org.jfree [1.0 090826]
org.apache.xmlgraphics.ps [1.0 090826]
org.jfree.data [1.0 090826]
org.netbeans.api.progress/1 [1.5.31 200704122300]
org.netbeans.modules.javahelp/1 [2.8.31 200704122300]
org.netbeans.modules.queries/1 [1.7.31 200704122300]
org.netbeans.modules.masterfs/1 [1.8.33 200704122300]
org.netbeans.modules.favorites/1 [1.11.41 200704122300]
org.jdesktop.layout/1 [1.3.41 1.0 200704122300]
org.opensim.utils [1.0 090826]
org.opensim.modeling [1.0 090826]
vtk [1.0 090826]
org.opensim.logger [1.0 090826]
org.opensim.view [1.0 090901]
org.opensim.plotter [1.0 090826]
org.opensim.tracking [1.0 090826]
org.netbeans.modules.autoupdate/1 [2.16.31 200704122300]
org.netbeans.swing.tabcontrol [1.6.31 200704122300]
org.netbeans.modules.settings/1 [1.10.51 200704122300]
org.netbeans.core.windows/2 [2.7.31.1 200704122300]
org.netbeans.core.ui/1 [1.9.31 200704122300]
org.opensim.coordinateviewer [1.0 090826]
*********** Exception occurred ************ at 6:46 PM on Sep 20, 2009
java.lang.NullPointerException
at java.awt.Dimension.<init>(Dimension.java:91)
at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(BasicProgressBarUI.java:757)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1615)
at org.netbeans.progress.module.ui.NbProgressBar.getPreferredSize(NbProgressBar.java:61)
at org.netbeans.progress.module.ui.StatusLineComponent.<init>(StatusLineComponent.java:101)
at org.netbeans.progress.module.Controller.getDefault(Controller.java:75)
at org.netbeans.progress.module.ProgressVisualizerProvider.getStatusLineElement(ProgressVisualizerProvider.java:36)
at org.netbeans.core.windows.view.ui.MainWindow.getStatusLineElements(MainWindow.java:253)
at org.netbeans.core.windows.view.ui.MainWindow.decoratePanel(MainWindow.java:227)
at org.netbeans.core.windows.view.ui.MainWindow.initializeComponents(MainWindow.java:182)
at org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:506)
at org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:485)
at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:169)
at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:244)
at org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:233)
at org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:170)
at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:91)
at org.netbeans.core.windows.Central.setVisible(Central.java:80)
at org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:716)
at org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:62)
at org.netbeans.core.NonGui$3.run(NonGui.java:229)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
[catch] 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: 2235
Joined: Fri Apr 01, 2005 12:24 pm

RE: OpenSim - Startup Error

Post by Ayman Habib » Mon Sep 21, 2009 4:11 pm

Dear Federico,

OpenSim is a Java application that runs on the platforms that runs Java (has JVM support). The Java Runtime included with the distribution does not run on Windows 7, however you can work around that by
1) downloading and installing jre6 update 16 (from http://java.sun.com/javase/downloads/index.jsp)
2) edit the opensim.conf file under your installation to use this jre (above e.g. location
jdkhome="C:\Program Files\Java\jre6").

If that doesn't work please report a bug and we'll troubleshoot it.

Good luck,
-Ayman



User avatar
Federico Scholcoff
Posts: 3
Joined: Sat Sep 19, 2009 2:48 pm

RE: OpenSim - Startup Error

Post by Federico Scholcoff » Wed Sep 23, 2009 4:13 pm

Your suggestion worked!! OpenSim started up, but I still get an error/warning. Here it is..

Required library failed to load. Check that the dynamic libraries osimJavaJNI and osimSimbodyEngine are in your PATH java.jang.UnsatisfiedLinkError: C:\Program Files (x86)\OpenSim 1.9.1\bin\osimJavaJNI.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

Even though I get this error, the program still starts. When I tried loading one of the example models (following the first tutorial) I get the following error:

A java.lang.AssertionError exception has occurred.
Click Show Details or see the messages.log file located in your C:\Users\Fred\AppData\Roaming\.opensim\1.9.1\var\log folder

And the error in that log folder is the following:

java.lang.AssertionError: WindowsAPI is required to be called from AWT thread only, see http://www.netbeans.org/download/dev/ja ... ading.html
at org.netbeans.core.windows.WindowManagerImpl.assertEventDispatchThread(WindowManagerImpl.java:1136)
at org.netbeans.core.windows.WindowSystemImpl.hide(WindowSystemImpl.java:67)
at org.netbeans.core.NbTopManager$2.run(NbTopManager.java:365)
at org.netbeans.ModuleManager.shutDown(ModuleManager.java:1563)
at org.netbeans.core.startup.ModuleSystem.shutDown(ModuleSystem.java:263)
at org.netbeans.core.NbTopManager.doExit(NbTopManager.java:375)
at org.netbeans.core.NbTopManager.access$200(NbTopManager.java:69)
[catch] at org.netbeans.core.NbTopManager$1.run(NbTopManager.java:335)
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)


Thanks a lot for your help so far and any suggestions on these new errors is appreciated!

Thanks,
Federico Scholcoff

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

RE: OpenSim - Startup Error

Post by Ayman Habib » Thu Sep 24, 2009 12:44 pm

Dear Federico,

Sounds like you may have installed the 64 bit version of the Java JDK, which is incompatible with the 32bit dll's provided.

The solution is to uninstall the JDK, and re-install the 32 bit version.

The other Exceptions/assertions are all benign and are ignored on other platforms/OS so you should be good to go after fixing the 32/64 bit issue.

Good Luck,
-Ayman

User avatar
Federico Scholcoff
Posts: 3
Joined: Sat Sep 19, 2009 2:48 pm

RE: OpenSim - Startup Error

Post by Federico Scholcoff » Fri Sep 25, 2009 11:34 pm

Thank you so much for the help! Reinstalled and it works great, no errors.

Thanks again,
Federico Scholcoff

User avatar
Lode Bosmans
Posts: 12
Joined: Sat Feb 14, 2009 9:36 am

RE: OpenSim - Startup Error

Post by Lode Bosmans » Fri Sep 17, 2010 8:04 am

Dearest reader,

I'm also having troubles with OpenSim in Windows 7. Can somebody give a bit more information about step two in this troubleshoot:

2) edit the opensim.conf file under your installation to use this jre (above e.g. location
jdkhome="C:\Program Files\Java\jre6").

Which file do I need to adjust? And what do exactly I need to adjust? I have downloaded the last java update and installed it on my laptop. But I don't know which file to adjust and how to do it.

Thanks in advance for the answer!

Lode Bosmans

User avatar
Eric Greska
Posts: 8
Joined: Mon Sep 29, 2008 2:03 pm

RE: OpenSim - Startup Error

Post by Eric Greska » Fri Sep 17, 2010 9:06 am

If you have updated your Java through the Java update package, you will just need to add in (x86) to the Program Files so that it appears like this:

jdkhome="C:\Program Files (x86)\Java\jre6"

That should take care of it.

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

RE: OpenSim - Startup Error

Post by Ayman Habib » Fri Sep 17, 2010 10:25 am

Hi Lode,

Can you try the beta version
https://simtk.org/frs/download.php?file_id=2498
to see if it works out of the box on Windows 7?

Please let me know so we can fix the issue if it's still around before we put the next public release out.

Thanks,
-Ayman

User avatar
Lode Bosmans
Posts: 12
Joined: Sat Feb 14, 2009 9:36 am

RE: OpenSim - Startup Error

Post by Lode Bosmans » Mon Sep 20, 2010 1:40 am


Hello,

OpenSim 1.9.1 works perfectly now, thanks alot for your help !!

Kind regards,
Lode

User avatar
Lode Bosmans
Posts: 12
Joined: Sat Feb 14, 2009 9:36 am

RE: OpenSim - Startup Error

Post by Lode Bosmans » Mon Sep 20, 2010 1:42 am

Hello,

this 2.2 version installs and works without any error! Thanks for your help!

Kind regards,
Lode

POST REPLY