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

Using other mouse-buttons than left, middle or right causes exception in WebView

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P5 P5
    • 9
    • 7u67
    • javafx
    • JDK 1.7.0_67 (from within eclipse - with all permissions)

      Running my WebView in an applet or awt Frame i get the following 2 exceptions when i use any mouse-button other than the 3 primary buttons (left, middle, right) for example BACK or FORWARD in the WebView.

      Note that one exception is preProcess() and one is postProcess().

      This bug has also been reported here: https://issues.jboss.org/browse/JBIDE-17460

      Exception in runnable
      java.lang.NullPointerException
      at javafx.scene.Scene$ClickCounter.access$7600(Scene.java:3030)
      at javafx.scene.Scene$ClickGenerator.preProcess(Scene.java:3126)
      at javafx.scene.Scene$ClickGenerator.access$8400(Scene.java:3096)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3347)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3209)
      at javafx.scene.Scene$MouseHandler.access$1900(Scene.java:3164)
      at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1582)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2267)
      at com.sun.javafx.tk.quantum.EmbeddedScene$2$1.run(EmbeddedScene.java:194)
      at com.sun.javafx.tk.quantum.EmbeddedScene$2$1.run(EmbeddedScene.java:176)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.quantum.EmbeddedScene$2.run(EmbeddedScene.java:176)
      at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:182)
      at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:179)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:17)
      at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:67)
      at java.lang.Thread.run(Thread.java:745)

      Exception in runnable
      java.lang.NullPointerException
      at javafx.scene.Scene$ClickCounter.access$7900(Scene.java:3030)
      at javafx.scene.Scene$ClickGenerator.postProcess(Scene.java:3157)
      at javafx.scene.Scene$ClickGenerator.access$8600(Scene.java:3096)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3378)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3209)
      at javafx.scene.Scene$MouseHandler.access$1900(Scene.java:3164)
      at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1582)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2267)
      at com.sun.javafx.tk.quantum.EmbeddedScene$2$1.run(EmbeddedScene.java:194)
      at com.sun.javafx.tk.quantum.EmbeddedScene$2$1.run(EmbeddedScene.java:176)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.quantum.EmbeddedScene$2.run(EmbeddedScene.java:176)
      at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:182)
      at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:179)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:17)
      at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:67)
      at java.lang.Thread.run(Thread.java:745)

      I can supply a sample-app if you like. But i don't have upload- permissions. Would be nice if i got them.

            ant Anton Tarasov (Inactive)
            fleitenbejfx Frederic Leitenberger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: