SourceForge has been redesigned. Learn more.
Close

Demoapp doesnt work

Help
2008-09-01
2013-04-26
  • Nobody/Anonymous

    Hi,
    I installed the plugin. Than I checked out all projects from SVN.
    And now I tried to run the demoapp.
    But I get following error:

    [SEVERE] Java3D    Error.
    Exception: org.eclipse.core.runtime.CoreException: Plug-in "demoapp" was unable to instantiate class "org.java3declipse.demoapp.MyVirtualUniverse".
        at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)
        at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
        at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:863)
        at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
        at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
        at org.java3declipse.core.Java3D.initializeVUInstance(Java3D.java:277)
        at org.java3declipse.core.Java3D.initializeVUextension(Java3D.java:260)
        at org.java3declipse.core.Java3D.findVU(Java3D.java:203)
        at org.java3declipse.core.Java3D.getVirtualUniverse(Java3D.java:97)
        at org.java3declipse.viewers.provider.J3dContentProvider.getElements(J3dContentProvider.java:82)
        at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:937)
        at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:685)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1330)
        at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:379)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java:636)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:602)
        at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:799)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
        at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:628)
        at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1490)
        at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:817)
        at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1474)
        at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1365)
        at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:391)
        at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1328)
        at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1467)
        at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:251)
        at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1603)
        at org.java3declipse.demoapp.View.createPartControl(View.java:56)
        at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
        at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
        at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:300)
        at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531)
        at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
        at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
        at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
        at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
        at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
        at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
        at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
        at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:649)
        at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
        at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:564)
        at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:270)
        at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:932)
        at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2499)
        at org.eclipse.ui.internal.WorkbenchWindow$24.run(WorkbenchWindow.java:2841)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2822)
        at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:735)
        at org.eclipse.ui.internal.Workbench$20.runWithException(Workbench.java:1035)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:130)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3750)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3375)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
        at org.eclipse.ui.internal.Workbench$26.runWithException(Workbench.java:1370)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:175)
        at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:136)
        at org.eclipse.swt.widgets.Display.syncExec(Display.java:4196)
        at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:1365)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2305)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2205)
        at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:478)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:473)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.java3declipse.demoapp.Application.start(Application.java:29)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
    Caused by: java.lang.UnsatisfiedLinkError: no j3dcore-ogl in java.library.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at javax.media.j3d.MasterControl$6.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.media.j3d.MasterControl.loadLibraries(Unknown Source)
        at javax.media.j3d.VirtualUniverse.<clinit>(Unknown Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)
        ... 84 more
    org.eclipse.core.runtime.CoreException[1]: java.lang.UnsatisfiedLinkError: no j3dcore-ogl in java.library.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at javax.media.j3d.MasterControl$6.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.media.j3d.MasterControl.loadLibraries(Unknown Source)
        at javax.media.j3d.VirtualUniverse.<clinit>(Unknown Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)
        at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:863)
        at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
        at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
        at org.java3declipse.core.Java3D.initializeVUInstance(Java3D.java:277)
        at org.java3declipse.core.Java3D.initializeVUextension(Java3D.java:260)
        at org.java3declipse.core.Java3D.findVU(Java3D.java:203)
        at org.java3declipse.core.Java3D.getVirtualUniverse(Java3D.java:97)
        at org.java3declipse.viewers.provider.J3dContentProvider.getElements(J3dContentProvider.java:82)
        at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:937)
        at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:685)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1330)
        at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:379)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java:636)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:602)
        at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:799)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
        at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:628)
        at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1490)
        at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:817)
        at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1474)
        at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1365)
        at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:391)
        at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1328)
        at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1467)
        at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:251)
        at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1603)
        at org.java3declipse.demoapp.View.createPartControl(View.java:56)
        at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
        at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
        at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:300)
        at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531)
        at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
        at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
        at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
        at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
        at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
        at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
        at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
        at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:649)
        at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
        at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:564)
        at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:270)
        at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:932)
        at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2499)
        at org.eclipse.ui.internal.WorkbenchWindow$24.run(WorkbenchWindow.java:2841)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2822)
        at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:735)
        at org.eclipse.ui.internal.Workbench$20.runWithException(Workbench.java:1035)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:130)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3750)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3375)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
        at org.eclipse.ui.internal.Workbench$26.runWithException(Workbench.java:1370)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:175)
        at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:136)
        at org.eclipse.swt.widgets.Display.syncExec(Display.java:4196)
        at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:1365)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2305)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2205)
        at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:478)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:473)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.java3declipse.demoapp.Application.start(Application.java:29)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

    [SEVERE] Java3D    Error.
    Exception: org.eclipse.core.runtime.CoreException: Plug-in "demoapp" was unable to instantiate class "org.java3declipse.demoapp.MyVirtualUniverse".
        at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)
        at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
        at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:863)
        at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
        at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
        at org.java3declipse.core.Java3D.initializeVUInstance(Java3D.java:277)
        at org.java3declipse.core.Java3D.initializeVUextension(Java3D.java:260)
        at org.java3declipse.core.Java3D.findVU(Java3D.java:203)
        at org.java3declipse.core.Java3D.getVirtualUniverse(Java3D.java:97)
        at org.java3declipse.core.Java3D.getVirtualUniverse(Java3D.java:108)
        at org.java3declipse.demoapp.RenderingView.createPartControl(RenderingView.java:58)
        at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
        at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
        at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:300)
        at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531)
        at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
        at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
        at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
        at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
        at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
        at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
        at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
        at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:649)
        at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
        at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:564)
        at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:270)
        at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:932)
        at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2499)
        at org.eclipse.ui.internal.WorkbenchWindow$24.run(WorkbenchWindow.java:2841)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2822)
        at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:735)
        at org.eclipse.ui.internal.Workbench$20.runWithException(Workbench.java:1035)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:130)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3750)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3375)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
        at org.eclipse.ui.internal.Workbench$26.runWithException(Workbench.java:1370)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:175)
        at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:136)
        at org.eclipse.swt.widgets.Display.syncExec(Display.java:4196)
        at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:1365)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2305)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2205)
        at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:478)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:473)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.java3declipse.demoapp.Application.start(Application.java:29)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.java3declipse.demoapp.MyVirtualUniverse
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)
        ... 65 more
    org.eclipse.core.runtime.CoreException[1]: java.lang.NoClassDefFoundError: Could not initialize class org.java3declipse.demoapp.MyVirtualUniverse
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)
        at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:863)
        at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
        at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
        at org.java3declipse.core.Java3D.initializeVUInstance(Java3D.java:277)
        at org.java3declipse.core.Java3D.initializeVUextension(Java3D.java:260)
        at org.java3declipse.core.Java3D.findVU(Java3D.java:203)
        at org.java3declipse.core.Java3D.getVirtualUniverse(Java3D.java:97)
        at org.java3declipse.core.Java3D.getVirtualUniverse(Java3D.java:108)
        at org.java3declipse.demoapp.RenderingView.createPartControl(RenderingView.java:58)
        at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
        at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
        at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:300)
        at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531)
        at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
        at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
        at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
        at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
        at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
        at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
        at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
        at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:649)
        at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
        at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:564)
        at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:270)
        at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:932)
        at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2499)
        at org.eclipse.ui.internal.WorkbenchWindow$24.run(WorkbenchWindow.java:2841)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2822)
        at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:735)
        at org.eclipse.ui.internal.Workbench$20.runWithException(Workbench.java:1035)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:130)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3750)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3375)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
        at org.eclipse.ui.internal.Workbench$26.runWithException(Workbench.java:1370)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:175)
        at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:136)
        at org.eclipse.swt.widgets.Display.syncExec(Display.java:4196)
        at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:1365)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2305)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2205)
        at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:478)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:473)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.java3declipse.demoapp.Application.start(Application.java:29)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

    Please can you say me, how you included the dll files?

    Thanks

    Maria

     
    • Aleksandar Ristovski

      You do not have launch configuration setup properly. Make sure all needed plugins are selected.

      1. Open your "Debug Dialog" and in your launch configuration, select "Plug-ins" page.
      2. Click "Deselect all" to unselect all plubins.
      3. Select your "demoapp" (check the checkbox)
      4. Click on "Add Required Plug-ins" button.
      5. Click "Validate Plug-ins", there should be no problems detected.
      6. Click Apply
      7. Click Run

      Let me know if you still have problems after this.

       
    • Nobody/Anonymous

      Hi Aleksandar,

      I decided not to use your plugin, but thanks a lot for your answer.

      I now have a plugin jar which includes all Java3D source classes and all .dll files.
      I just add the jar to the required plug-ins.

      Its working :)

      Thanks

      maria

       

Log in to post a comment.