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

PRISM: NPE when running a transparent stage test

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx1.3
    • Fix Version/s: fx1.3
    • Component/s: javafx
    • Labels:

      Description

      Run the attached test with -profile prism. If you get the following NPE on the console, bug is reproduced. This is not reproducible with swing pipeline.

      I reproduced it on WinVista - 6u14 - soma-graphics-scrum-b142.

      Stack Trace:
      Initialized prism pipeline: com.sun.prism.d3d.D3DPipeline
      User screen size 0x0
      Detected screen size 1280x800
      Hey, I'm initializing the PrismToolkit man!!
      Detected screen size 1280x800
      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.runtime.provider.GUIRuntimeProvider.run(GUIRuntimeProvider.java:68)
              at com.sun.javafx.runtime.Entry.start(Entry.java:84)
              at com.sun.javafx.runtime.Main.main(Main.java:80)
      Caused by: java.lang.NullPointerException
              at com.sun.javafx.tk.prism.PrismScene$1.run(PrismScene.java:215)
              at com.sun.prism.tk.RunnableEvent.run(RunnableEvent.java:47)
              at com.sun.prism.tk.PrismToolkitImpl.processRenderEvent(PrismToolkitImpl.java:157)
              at com.sun.prism.tk.PrismToolkitImpl.processRenderTasks(PrismToolkitImpl.java:173)
              at com.sun.prism.tk.PrismToolkitImpl.run(PrismToolkitImpl.java:109)
              at com.sun.javafx.tk.prism.PrismToolkit.startup(PrismToolkit.fx:126)
      ....

        Attachments

          Activity

            People

            • Assignee:
              tdv Dmitri Trembovetski (Inactive)
              Reporter:
              pmohan Praveen Mohan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: