Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8123622

Programms with HTMLEditor throw exception on run

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • 8
    • 8
    • javafx
    • win7

      When I run code with HTMLEditor it throws

      SEVERE: Failed to load skin 'com.sun.javafx.scene.web.skin.HTMLEditorSkin' for control HTMLEditor@520182f8
      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 com.sun.javafx.scene.web.skin.HTMLEditorSkin.<init>(HTMLEditorSkin.java:280)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:414)
      at javafx.scene.control.Control.loadSkinClass(Control.java:713)
      at javafx.scene.control.Control$5.invalidated(Control.java:650)
      at javafx.beans.property.StringPropertyBase.markInvalid(StringPropertyBase.java:109)
      at javafx.beans.property.StringPropertyBase.set(StringPropertyBase.java:143)
      at javafx.css.StyleableStringProperty.set(StyleableStringProperty.java:83)
      at javafx.scene.control.Control$5.set(Control.java:639)
      at javafx.css.StyleableStringProperty.applyStyle(StyleableStringProperty.java:69)
      at javafx.css.StyleableStringProperty.applyStyle(StyleableStringProperty.java:45)
      at javafx.scene.web.HTMLEditor.<init>(HTMLEditor.java:54)
      at htmleditor.HTMLEditorSample.start(HTMLEditorSample.java:31)
      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)
      at java.lang.Thread.run(Thread.java:724)

      Exception in Application start method
      java.lang.NoClassDefFoundError: Could not initialize class com.sun.webkit.WebPage
      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 com.sun.javafx.scene.web.skin.HTMLEditorSkin.<init>(HTMLEditorSkin.java:280)
      at javafx.scene.web.HTMLEditor.createDefaultSkin(HTMLEditor.java:62)
      at javafx.scene.control.Control.impl_processCSS(Control.java:866)
      at javafx.scene.Node.processCSS(Node.java:8575)
      at javafx.scene.Node.processCSS(Node.java:8566)
      at javafx.scene.Scene.doCSSPass(Scene.java:538)
      at javafx.scene.Scene.access$3600(Scene.java:189)
      at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2294)
      at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:325)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:533)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:513)
      at com.sun.javafx.tk.quantum.QuantumToolkit$16.run(QuantumToolkit.java:380)
      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)
      at java.lang.Thread.run(Thread.java:724)
      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.NoClassDefFoundError: Could not initialize class com.sun.webkit.WebPage
      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 com.sun.javafx.scene.web.skin.HTMLEditorSkin.<init>(HTMLEditorSkin.java:280)
      at javafx.scene.web.HTMLEditor.createDefaultSkin(HTMLEditor.java:62)
      at javafx.scene.control.Control.impl_processCSS(Control.java:866)
      at javafx.scene.Parent.impl_processCSS(Parent.java:1204)
      at javafx.scene.Node.processCSS(Node.java:8575)
      at javafx.scene.Scene.doCSSPass(Scene.java:538)
      at javafx.scene.Scene.preferredSize(Scene.java:1503)
      at javafx.scene.Scene.impl_preferredSize(Scene.java:1570)
      at javafx.stage.Window$9.invalidated(Window.java:733)
      at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:109)
      at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:143)
      at javafx.stage.Window.setShowing(Window.java:799)
      at javafx.stage.Window.show(Window.java:814)
      at javafx.stage.Stage.show(Stage.java:243)
      at htmleditor.HTMLEditorSample.start(HTMLEditorSample.java:38)
      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 sample in attachments

            jgiles Jonathan Giles
            asakharu Aleksandr Sakharuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: