Closed ngehlenborg closed 11 years ago
When launching from command line with -verbose, I get this on the console after the launch fails:
2013-07-04 13:52:23.979 java[24206:d80f] Cocoa AWT: Not running on AppKit thread 0 when expected. (
0 liblwawt.dylib 0x00000001643d83e6 -[AWTWindow windowDidResignKey:] + 42
1 CoreFoundation 0x00007fff821dbeda _CFXNotificationPost + 2554
2 Foundation 0x00007fff8d9d17b6 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
3 AppKit 0x00007fff8611dbcb -[NSWindow resignKeyWindow] + 572
4 AppKit 0x00007fff85e0d544 -[NSPanel resignKeyWindow] + 82
5 AppKit 0x00007fff85fadee1 -[NSWindow _changeKeyAndMainLimitedOK:] + 684
6 AppKit 0x00007fff85fad76b -[NSWindow _makeKeyRegardlessOfVisibility] + 104
7 AppKit 0x00007fff85fad6c5 -[NSWindow makeKeyAndOrderFront:] + 25
8 eclipse_1507.so 0x0000000165a79814 showSplash + 619
9 eclipse_1507.so 0x0000000165a7a90d Java_org_eclipse_equinox_launcher_JNIBridge__1show_1splash + 232
10 ??? 0x0000000107ba1f90 0x0 + 4424605584
)
2013-07-04 13:52:23.981 java[24206:d80f] Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
Similar for linux:
javaws caleydo.jnlp
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Error: No security instance for file:/home/alexsb/.icedtea/cache/186/http/data.icg.tugraz.at/caleydo/download/webstart_3.0/plugins/org.eclipse.osgi_3.9.0.v20130529-1710.jar. The application may have trouble continuing
Error: No security instance for file:/home/alexsb/.icedtea/cache/186/http/data.icg.tugraz.at/caleydo/download/webstart_3.0/plugins/org.eclipse.osgi_3.9.0.v20130529-1710.jar. The application may have trouble continuing
Error: No security instance for file:/home/alexsb/.icedtea/cache/186/http/data.icg.tugraz.at/caleydo/download/webstart_3.0/plugins/org.eclipse.osgi_3.9.0.v20130529-1710.jar. The application may have trouble continuing
An exception occurred while writing to the platform log:
java.lang.NullPointerException: Code source security was null
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getPermissions(JNLPClassLoader.java:1111)
at net.sourceforge.jnlp.runtime.JNLPPolicy.getPermissions(JNLPPolicy.java:86)
at net.sourceforge.jnlp.runtime.JNLPPolicy.implies(JNLPPolicy.java:182)
at java.security.ProtectionDomain.implies(ProtectionDomain.java:272)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:344)
at java.security.AccessController.checkPermission(AccessController.java:560)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
at java.io.File.length(File.java:910)
at org.eclipse.osgi.framework.util.SecureAction$8.run(SecureAction.java:172)
at org.eclipse.osgi.framework.util.SecureAction$8.run(SecureAction.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.util.SecureAction.length(SecureAction.java:170)
at org.eclipse.core.runtime.internal.adaptor.EclipseLogWriter.checkLogFileSize(EclipseLogWriter.java:574)
at org.eclipse.core.runtime.internal.adaptor.EclipseLogWriter.log(EclipseLogWriter.java:275)
at org.eclipse.core.runtime.internal.adaptor.EclipseLogWriter.logged(EclipseLogWriter.java:694)
at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.safeLogged(ExtendedLogReaderServiceFactory.java:86)
at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.logPrivileged(ExtendedLogReaderServiceFactory.java:205)
at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory$3.run(ExtendedLogReaderServiceFactory.java:173)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.log(ExtendedLogReaderServiceFactory.java:171)
at org.eclipse.equinox.log.internal.ExtendedLogServiceFactory.log(ExtendedLogServiceFactory.java:65)
at org.eclipse.equinox.log.internal.ExtendedLogServiceImpl.log(ExtendedLogServiceImpl.java:87)
at org.eclipse.equinox.log.internal.LoggerImpl.log(LoggerImpl.java:54)
at org.eclipse.core.runtime.internal.adaptor.EclipseLogFactory$1.log(EclipseLogFactory.java:53)
at org.eclipse.osgi.framework.internal.core.Framework.setNLSFrameworkLog(Framework.java:277)
at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:184)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:263)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.WebStartMain.basicRun(WebStartMain.java:79)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.WebStartMain.main(WebStartMain.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:597)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:908)
Logging to the console instead.
!ENTRY org.eclipse.osgi 4 0 2013-07-04 13:53:26.625
!MESSAGE Code source security was null
!STACK 0
java.lang.NullPointerException: Code source security was null
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getPermissions(JNLPClassLoader.java:1111)
at net.sourceforge.jnlp.runtime.JNLPPolicy.getPermissions(JNLPPolicy.java:86)
at net.sourceforge.jnlp.runtime.JNLPPolicy.implies(JNLPPolicy.java:182)
at java.security.ProtectionDomain.implies(ProtectionDomain.java:272)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:344)
at java.security.AccessController.checkPermission(AccessController.java:560)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:128)
at org.eclipse.osgi.framework.internal.core.Framework.setNLSFrameworkLog(Framework.java:274)
at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:184)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:263)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.WebStartMain.basicRun(WebStartMain.java:79)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.WebStartMain.main(WebStartMain.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:597)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:908)
Error: No security instance for file:/home/alexsb/.icedtea/cache/186/http/data.icg.tugraz.at/caleydo/download/webstart_3.0/plugins/org.eclipse.osgi_3.9.0.v20130529-1710.jar. The application may have trouble continuing
Error: No security instance for file:/home/alexsb/.icedtea/cache/186/http/data.icg.tugraz.at/caleydo/download/webstart_3.0/plugins/org.eclipse.osgi_3.9.0.v20130529-1710.jar. The application may have trouble continuing
Error: No security instance for file:/home/alexsb/.icedtea/cache/186/http/data.icg.tugraz.at/caleydo/download/webstart_3.0/plugins/org.eclipse.osgi_3.9.0.v20130529-1710.jar. The application may have trouble continuing
Error: No security instance for file:/home/alexsb/.icedtea/cache/186/http/data.icg.tugraz.at/caleydo/download/webstart_3.0/plugins/org.eclipse.osgi_3.9.0.v20130529-1710.jar. The application may have trouble continuing
An error has occurred. See the log file
/home/alexsb/.caleydo_3.0/configuration/1372960406595.log
http://stackoverflow.com/questions/17275384/missing-codebase-manifest-attribute-forxxx-jar https://forums.oracle.com/thread/2552412
It seems that the jar files need to be signed with additional parameters. However, we cannot change this, as the signing is done by the Eclipse export script.
This what I get on the command line when trying to launch with
> javaws -verbose -wait -J -XstartOnFirstThread caleydo.jnlp
2013-07-04 14:06:44.914 java[24507:d50b] Cocoa AWT: Not running on AppKit thread 0 when expected. (
0 liblwawt.dylib 0x0000000162d5a673 +[CMenuBar addDefaultHelpMenu] + 39
1 liblwawt.dylib 0x0000000162d4c4e3 -[AWTWindow windowDidBecomeKey:] + 141
2 CoreFoundation 0x00007fff821dbeda _CFXNotificationPost + 2554
3 Foundation 0x00007fff8d9d17b6 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
4 AppKit 0x00007fff85faea46 -[NSWindow becomeKeyWindow] + 1344
5 AppKit 0x00007fff85fadf04 -[NSWindow _changeKeyAndMainLimitedOK:] + 719
6 AppKit 0x00007fff8608c31c -[NSWindow _orderOutAndCalcKeyWithCounter:stillVisible:docWindow:] + 909
7 AppKit 0x00007fff85fb6149 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 3218
8 AppKit 0x00007fff85fb5038 -[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 940
9 AppKit 0x00007fff85fb4c1f -[NSWindow orderWindow:relativeTo:] + 159
10 AppKit 0x00007fff8608ba93 __18-[NSWindow _close]_block_invoke_0 + 487
11 AppKit 0x00007fff8608b885 -[NSWindow _close] + 364
12 eclipse_1507.so 0x000000015f7e00ed -[KeyWindow close] + 40
13 eclipse_1507.so 0x000000015f7e08a1 takeDownSplash + 78
14 eclipse_1507.so 0x000000015f7e195a Java_org_eclipse_equinox_launcher_JNIBridge__1takedown_1splash + 14
15 ??? 0x0000000105b2bf90 0x0 + 4390567824
16 ??? 0x0000000105b20158 0x0 + 4390519128
)
2013-07-04 14:06:44.915 java[24507:d50b] Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
Here is some additional context regarding the "Cocoa AWT: Not running on AppKit thread 0 when expected.":
http://mail.openjdk.java.net/pipermail/macosx-port-dev/2011-October/001276.html and related to this http://stackoverflow.com/questions/12900695/how-to-obtain-jni-interface-pointer-jnienv-for-asynchronous-calls
Until further notice webstart is discontinued.