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

WebView not working

XMLWordPrintable

    • web
    • x86
    • os_x

      ADDITIONAL SYSTEM INFORMATION :
      MacOs Mojave 10.14

      A DESCRIPTION OF THE PROBLEM :
      Starting WebView under Java 11 crashes with this error:

      Caused by: java.lang.ClassNotFoundException: com.sun.media.jfxmedia.events.PlayerStateListener
      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
      at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
      ... 59 more
      2018-11-12 12:09:09.584 java[1376:73859] unrecognized type is 4294967295
      2018-11-12 12:09:09.584 java[1376:73859] *** Assertion failure in -[NSEvent _initWithCGEvent:eventRef:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1671/AppKit.subproj/NSEvent.m:1969
      2018-11-12 12:09:14.488 java[1376:73859] unrecognized type is 4294967295
      2018-11-12 12:09:14.488 java[1376:73859] *** Assertion failure in -[NSEvent _initWithCGEvent:eventRef:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1671/AppKit.subproj/NSEvent.m:1969
      2018-11-12 12:09:15.608 java[1376:73859] unrecognized type is 4294967295
      2018-11-12 12:09:15.608 java[1376:73859] *** Assertion failure in -[NSEvent _initWithCGEvent:eventRef:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1671/AppKit.subproj/NSEvent.m:1969
      2018-11-12 12:09:16.568 java[1376:73859] unrecognized type is 4294967295
      2018-11-12 12:09:16.568 java[1376:73859] *** Assertion failure in -[NSEvent _initWithCGEvent:eventRef:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1671/AppKit.subproj/NSEvent.m:1969
      2018-11-12 12:09:19.792 java[1376:73859] unrecognized type is 4294967295
      2018-11-12 12:09:19.792 java[1376:73859] *** Assertion failure in -[NSEvent _initWithCGEvent:eventRef:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1671/AppKit.subproj/NSEvent.m:1969
      2018-11-12 12:13:03.375 java[1376:73859] unrecognized type is 4294967295
      2018-11-12 12:13:03.375 java[1376:73859] *** Assertion failure in -[NSEvent _initWithCGEvent:eventRef:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1671/AppKit.subproj/NSEvent.m:1969
      java.lang.NoClassDefFoundError: Could not initialize class javafx.scene.web.WebEngine
      at javafx.scene.web.WebView.<init>(WebView.java:260)


      In Gradle I use :
      ext.fxVersion = '11-ea+25'
      dependencies {
          compile fileTree(dir: 'lib', include: ['*.jar'])
          compile "org.openjfx:javafx-base:$fxVersion:$platform"
          compile "org.openjfx:javafx-graphics:$fxVersion:$platform"
          compile "org.openjfx:javafx-controls:$fxVersion:$platform"
          compile "org.openjfx:javafx-web:$fxVersion:$platform"
          compile "org.openjfx:javafx-swing:$fxVersion:$platform"


      REGRESSION : Last worked in version 11.0.1

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Initialization of WebView fails


      FREQUENCY : always


            pmangal Priyanka Mangal (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: