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

HTMLEditorApp demo project raises an exception and cannot be run on Windows XP

    Details

    • Subcomponent:
      web
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      FULL PRODUCT VERSION :
      java version "1.8.0_121"
      Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
      Java HotSpot(TM) Client VM (build 25.121-b13, mixed mode, sharing)


      ADDITIONAL OS VERSION INFORMATION :
      Windows XP Professional SP 3

      A DESCRIPTION OF THE PROBLEM :
      Standard Java FX sample application HTMLEditorApp is failing to start both as a compilied class and as a jar archive. HTMLEditor control isn't working anymore.
      It seems that this bug was first introduced in Java version "1.8.0_112" and still persists.

      REGRESSION. Last worked in version 8u111

      ADDITIONAL REGRESSION INFORMATION:
      java version "1.8.0_111"
      Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
      Java HotSpot(TM) Client VM (build 25.111-b14, mixed mode, sharing)


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Compile HTMLEditorApp from Java FX samples.
      2. Try to run it.


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      javafx.scene.control.Control loadSkinClass
      SEVERE: Failed to load skin 'com.sun.javafx.scene.web.skin.HTMLEditorSkin' for control HTMLEditor@7d3f9e
      java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jre1.8.0_121\bin\jfxwebkit.dll: Can't find dependent libraries
      at java.lang.ClassLoader$NativeLibrary.load(Native Method)
      at java.lang.ClassLoader.loadLibrary0(Unknown Source)
      at java.lang.ClassLoader.loadLibrary(Unknown Source)
      at java.lang.Runtime.load0(Unknown Source)
      at java.lang.System.load(Unknown Source)
      at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoader.java:201)
      at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:94)
      at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:39)
      at com.sun.webkit.WebPage.lambda$static$39(WebPage.java:130)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.webkit.WebPage.<clinit>(WebPage.java:129)
      at javafx.scene.web.WebEngine.<init>(WebEngine.java:879)
      at javafx.scene.web.WebEngine.<init>(WebEngine.java:866)
      at javafx.scene.web.WebView.<init>(WebView.java:273)
      at com.sun.javafx.scene.web.skin.HTMLEditorSkin.<init>(HTMLEditorSkin.java:272)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at javafx.scene.control.Control.loadSkinClass(Control.java:735)
      at javafx.scene.control.Control$4.invalidated(Control.java:661)
      at javafx.beans.property.StringPropertyBase.markInvalid(StringPropertyBase.java:109)
      at javafx.beans.property.StringPropertyBase.set(StringPropertyBase.java:144)
      at javafx.css.StyleableStringProperty.set(StyleableStringProperty.java:83)
      at javafx.scene.control.Control$4.set(Control.java:653)
      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 htmleditorapp.HTMLEditorApp.init(HTMLEditorApp.java:73)
      at htmleditorapp.HTMLEditorApp.start(HTMLEditorApp.java:103)
      at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)
      at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
      at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
      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.lambda$null$148(WinApplication.java:191)
      at java.lang.Thread.run(Unknown Source)

      Exception in Application start method
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389)
      at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at sun.launcher.LauncherHelper$FXHelper.main(Unknown Source)
      Caused by: java.lang.RuntimeException: Exception in Application start method
      at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
      at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(LauncherImpl.java:182)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.NullPointerException
      at javafx.scene.web.HTMLEditor.setHtmlText(HTMLEditor.java:86)
      at htmleditorapp.HTMLEditorApp.init(HTMLEditorApp.java:75)
      at htmleditorapp.HTMLEditorApp.start(HTMLEditorApp.java:103)
      at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)
      at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
      at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
      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.lambda$null$148(WinApplication.java:191)
      ... 1 more
      Exception running application htmleditorapp.HTMLEditorApp

      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            • Assignee:
              kcr Kevin Rushforth
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: