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

Build 32 has broken my WebView applet demo

    Details

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

      JavaFX 2.0 beta b32, JRE 1.6.0_26, Windows 7 x64

    • Subcomponent:
      web

      Description

      Up until b30, I have had a working demo of WebEngine running inside a JFXPane running inside an applet. However, this example no longer works with b32. Now, I get the following exception, when I try to open my company's website, http://www.brandsoft.dk. It worked correctly in b30. See attached code sample.The exception is thrown, when the URL is entered, it initially loads correctly.

      java.lang.NullPointerException
      at com.sun.prism.impl.ps.BaseShaderGraphics.drawString(BaseShaderGraphics.java:1206)
      at com.sun.webpane.sg.prism.WCGraphicsPrismContext.drawString(WCGraphicsPrismContext.java:542)
      at com.sun.webpane.platform.graphics.GraphicsDecoder.decode(GraphicsDecoder.java:317)
      at com.sun.webpane.platform.graphics.WCRenderQueue.decode(WCRenderQueue.java:34)
      at com.sun.webpane.platform.WebPage.paint2GC(WebPage.java:636)
      at com.sun.webpane.platform.WebPage.paint(WebPage.java:615)
      at com.sun.javafx.sg.prism.NGWebView.renderContent(NGWebView.java:77)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:103)
      at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:291)
      at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:27)
      at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1013)
      at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(EmbeddedScene.java:139)
      at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(EmbeddedScene.java:172)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
      at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
      at com.sun.prism.render.RenderJob.run(RenderJob.java:29)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(QuantumRenderer.java:70)
      at java.lang.Thread.run(Unknown Source)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vbaranov Vasiliy Baranov (Inactive)
                Reporter:
                jmadsenjfx Jacob Overgaard Madsen (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: