-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
8
-
win7
When I run code with WebWiew I got
Exception in Application start method
java.lang.reflect.InvocationTargetException
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:491)
at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:351)
at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:304)
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:491)
at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:778)
Caused by: java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:867)
at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:56)
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:158)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.UnsatisfiedLinkError: D:\DevelopmentTools\jdk1.8.0\jre\bin\jfxwebkit.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1910)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1795)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1080)
at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoader.java:203)
at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:96)
at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:39)
at com.sun.webkit.WebPage$1.run(WebPage.java:142)
at com.sun.webkit.WebPage$1.run(WebPage.java:104)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.webkit.WebPage.<clinit>(WebPage.java:104)
at javafx.scene.web.WebEngine.<init>(WebEngine.java:723)
at javafx.scene.web.WebEngine.<init>(WebEngine.java:710)
at javafx.scene.web.WebView.<init>(WebView.java:224)
at htmleditor.HTMLEditorSample.start(HTMLEditorSample.java:32)
at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:810)
at com.sun.javafx.application.PlatformImpl$6.run(PlatformImpl.java:278)
at com.sun.javafx.application.PlatformImpl$5$1.run(PlatformImpl.java:244)
at com.sun.javafx.application.PlatformImpl$5$1.run(PlatformImpl.java:241)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:241)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:101)
... 1 more
Exception running application htmleditor.HTMLEditorSample
Java Result: 1
See attached sample to reproduce
Exception in Application start method
java.lang.reflect.InvocationTargetException
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:491)
at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:351)
at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:304)
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:491)
at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:778)
Caused by: java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:867)
at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:56)
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:158)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.UnsatisfiedLinkError: D:\DevelopmentTools\jdk1.8.0\jre\bin\jfxwebkit.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1910)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1795)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1080)
at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoader.java:203)
at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:96)
at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:39)
at com.sun.webkit.WebPage$1.run(WebPage.java:142)
at com.sun.webkit.WebPage$1.run(WebPage.java:104)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.webkit.WebPage.<clinit>(WebPage.java:104)
at javafx.scene.web.WebEngine.<init>(WebEngine.java:723)
at javafx.scene.web.WebEngine.<init>(WebEngine.java:710)
at javafx.scene.web.WebView.<init>(WebView.java:224)
at htmleditor.HTMLEditorSample.start(HTMLEditorSample.java:32)
at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:810)
at com.sun.javafx.application.PlatformImpl$6.run(PlatformImpl.java:278)
at com.sun.javafx.application.PlatformImpl$5$1.run(PlatformImpl.java:244)
at com.sun.javafx.application.PlatformImpl$5$1.run(PlatformImpl.java:241)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:241)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:101)
... 1 more
Exception running application htmleditor.HTMLEditorSample
Java Result: 1
See attached sample to reproduce
- duplicates
-
JDK-8123217 Webview fails with dll exception on b100
-
- Closed
-