Details
-
Bug
-
Resolution: Fixed
-
P1
-
9
-
MacOSX 10.10
Windows7 SP1
Description
Ensemble8 cannot be run with latest JDK/JFX9 promoted builds.
The following exception happens:
Exception in Application start method
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:392)
at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:331)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:771)
Caused by: java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:920)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$156(LauncherImpl.java:187)
at java.lang.Thread.run(Thread.java:747)
Caused by: java.lang.NoClassDefFoundError: sun/misc/SharedSecrets
at com.sun.javafx.tk.quantum.GlassStage.<clinit>(GlassStage.java:49)
at com.sun.javafx.tk.quantum.QuantumToolkit.createTKStage(QuantumToolkit.java:548)
at javafx.stage.Stage.impl_visibleChanging(Stage.java:1164)
at javafx.stage.Window$9.invalidated(Window.java:824)
at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:145)
at javafx.stage.Window.setShowing(Window.java:922)
at javafx.stage.Window.show(Window.java:937)
at javafx.stage.Stage.show(Stage.java:259)
at ensemble.EnsembleApp.start(EnsembleApp.java:354)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$163(LauncherImpl.java:866)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$176(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$174(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$175(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
Caused by: java.lang.ClassNotFoundException: sun.misc.SharedSecrets
at java.net.URLClassLoader.findClass(URLClassLoader.java:384)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 16 more
Exception running application ensemble.EnsembleApp
Reproducible with JDK/JFX9 b85.
The following exception happens:
Exception in Application start method
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:392)
at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:331)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:771)
Caused by: java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:920)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$156(LauncherImpl.java:187)
at java.lang.Thread.run(Thread.java:747)
Caused by: java.lang.NoClassDefFoundError: sun/misc/SharedSecrets
at com.sun.javafx.tk.quantum.GlassStage.<clinit>(GlassStage.java:49)
at com.sun.javafx.tk.quantum.QuantumToolkit.createTKStage(QuantumToolkit.java:548)
at javafx.stage.Stage.impl_visibleChanging(Stage.java:1164)
at javafx.stage.Window$9.invalidated(Window.java:824)
at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:145)
at javafx.stage.Window.setShowing(Window.java:922)
at javafx.stage.Window.show(Window.java:937)
at javafx.stage.Stage.show(Stage.java:259)
at ensemble.EnsembleApp.start(EnsembleApp.java:354)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$163(LauncherImpl.java:866)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$176(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$174(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$175(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
Caused by: java.lang.ClassNotFoundException: sun.misc.SharedSecrets
at java.net.URLClassLoader.findClass(URLClassLoader.java:384)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 16 more
Exception running application ensemble.EnsembleApp
Reproducible with JDK/JFX9 b85.
Attachments
Issue Links
- relates to
-
JDK-8137056 Move SharedSecrets and interface friends out of sun.misc
-
- Resolved
-
-
JDK-8139593 Running apps on FX 9 + JDK 8u fails when security manager is enabled
-
- Resolved
-