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

WebView/WebEngine fails to render HTML checkboxes

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Environment:

      NetBeans 6.9.1, JDK 1.6.0_24, JavaFX 2.0 EA b18

    • Subcomponent:
      web

      Description

      The WebEngine is unable to render simple HTML checkboxes. See the attached example, which tries to load http://html-codes.1keydata.com/html-checkbox.php

      If you view this page in a normal browser, you can see the checkboxes. However, with the example provided, they are not rendered.

      Additionally - if you move the mouse over the area, where the checkboxes were supposed to be rendered, the following exception is thrown:

      java.lang.NullPointerException
              at javafx.scene.Node.impl_pseudoClassStateChanged(Node.java:4186)
              at javafx.scene.control.ScrollBar.storeVertical(ScrollBar.java:116)
              at javafx.scene.control.ScrollBar.setVertical(ScrollBar.java)
              at com.sun.webpane.sg.theme.ScrollBarThemeImpl.adjustScrollBar(ScrollBarThemeImpl.java:68)
              at com.sun.webpane.sg.theme.ScrollBarThemeImpl.hitTest(ScrollBarThemeImpl.java:127)
              at com.sun.webpane.platform.WebPage.twkProcessMouseEvent(Native Method)
              at com.sun.webpane.platform.WebPage.dispatchMouseEvent(WebPage.java:675)
              at javafx.scene.web.WebView.processMouseEvent(WebView.java:366)
              at javafx.scene.web.WebView.access$100(WebView.java:41)
              at javafx.scene.web.WebView$2.handle(WebView.java:396)
              at javafx.scene.web.WebView$2.handle(WebView.java:394)
              at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:55)
              at com.sun.javafx.event.DefaultEventDispatcher.dispatchBubblingEvent(DefaultEventDispatcher.java:173)
              at com.sun.javafx.event.DefaultEventDispatcher.dispatchBubblingEvent(DefaultEventDispatcher.java:157)
              at com.sun.javafx.event.DefaultEventDispatcher.dispatchEvent(DefaultEventDispatcher.java:120)
              at javafx.scene.Node$7.dispatchEvent(Node.java:3863)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
              at com.sun.javafx.event.EventRedirector.dispatchEvent(EventRedirector.java:79)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
              at javafx.event.Event.fireEventImpl(Event.java:172)
              at javafx.event.Event.fireEvent(Event.java:162)
              at javafx.scene.Node.fireEvent(Node.java:3968)
              at javafx.scene.Scene$MouseHandler.process(Scene.java:1912)
              at javafx.scene.Scene$MouseHandler.process(Scene.java:1753)
              at javafx.scene.Scene$MouseHandler.access$600(Scene.java:1725)
              at javafx.scene.Scene.impl_processMouseEvent(Scene.java:882)
              at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:1380)
              at com.sun.javafx.tk.glass.EmbeddedScene$4.run(EmbeddedScene.java:239)
              at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
              at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:14)
              at com.sun.glass.ui.win.WinApplication$1.run(WinApplication.java:33)
              at java.lang.Thread.run(Thread.java:662)

        Attachments

          Activity

            People

            • Assignee:
              ant Anton Tarasov
              Reporter:
              jmadsenjfx Jacob Overgaard Madsen (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: