Menu

#45 v4.0.1-RC1-win fails to start: No application id has been fo

open
nobody
Framework (3)
5
2007-12-14
2007-12-14
No

I downloaded MonkeyWorld3D-v4.0.1-RC1-win.zip and unpacked it.

The app shows the splash page, then terminates.

Looking at the log file indicates it's trying to start with java 1.4.2.

Sticking "E:\java\mw3d\MonkeyWorld3v4.exe -vm E:\W2k\jdk1.5.0_09\jre\bin\javaw" as a shortcut to the app seems to fix the problem, but it seems like there could be some better error detection/reporting of the problem.

My JAVA_HOME is set to E:\W2k\jdk1.5.0_09 (although I haven't logged out since making this change to my env vars).

From the command-line, I also pick up java 1.5 by default:

D:\Documents and Settings\mlk>java -version
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)

Here's the contents of a failing configuration/*.log file:

!SESSION 2007-12-13 19:17:30.984 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.4.2
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -startup E:\java\mw3d\plugins\org.eclipse.equinox.launcher_1.0.0.v20070502.jar
Command-line arguments: -os win32 -ws win32 -arch x86 -startup E:\java\mw3d\plugins\org.eclipse.equinox.launcher_1.0.0.v20070502.jar

!ENTRY org.eclipse.equinox.app 2007-12-13 19:17:37.906
!MESSAGE Product MonkeyWorld3D.product could not be found.

!ENTRY org.eclipse.osgi 4 0 2007-12-13 19:17:37.937
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:229)
at org.eclipse.equinox.internal.app.EclipseAppContainer.start(EclipseAppContainer.java:92)
at org.eclipse.equinox.internal.app.Activator.addingService(Activator.java:129)
at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
at org.osgi.util.tracker.ServiceTracker$Tracked.track(ServiceTracker.java:1042)
at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:967)
at org.eclipse.osgi.framework.internal.core.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:94)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1224)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141)
at org.eclipse.osgi.framework.internal.core.Framework.publishServiceEventPrivileged(Framework.java:1603)
at org.eclipse.osgi.framework.internal.core.Framework.publishServiceEvent(Framework.java:1578)
at org.eclipse.osgi.framework.internal.core.ServiceRegistrationImpl.<init>(ServiceRegistrationImpl.java:103)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.createServiceRegistration(BundleContextImpl.java:657)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:609)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:675)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:359)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:497)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:436)
at org.eclipse.equinox.launcher.Main.run(Main.java:1162)

!ENTRY org.eclipse.osgi 2 0 2007-12-13 19:17:37.968
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-13 19:17:37.968
!MESSAGE Bundle update@plugins/MonkeyWorld3D_4.0.0.jar [6] was not resolved.
!SUBENTRY 2 MonkeyWorld3D 2 0 2007-12-13 19:17:37.984
!MESSAGE Missing required bundle org.mw3d.jme_0.0.0.
!SUBENTRY 2 MonkeyWorld3D 2 0 2007-12-13 19:17:37.984
!MESSAGE Missing required bundle org.mw3d.core_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-13 19:17:37.984
!MESSAGE Bundle update@plugins/org.mw3d.core_1.0.0.jar [65] was not resolved.
!SUBENTRY 2 org.mw3d.core 2 0 2007-12-13 19:17:37.984
!MESSAGE Missing required bundle org.mw3d.jme_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-13 19:17:37.984
!MESSAGE Bundle update@plugins/org.mw3d.jme_1.0.0/ [66] was not resolved.
!SUBENTRY 2 org.mw3d.jme 2 0 2007-12-13 19:17:37.984
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.5

Discussion


Log in to post a comment.

MongoDB Logo MongoDB