JDK-8114576 : Another D3DSwapChain NPE
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx2.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2011-07-01
  • Updated: 2015-06-16
  • Resolved: 2012-10-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
fx2.0.2Fixed
Related Reports
Blocks :  
Duplicate :  
Relates :  
Description
I found RT-14404 and RT-14644 and those look very similar to the NPE that I saw today on a friends computer:

 java.lang.NullPointerException 
 at  com.sun.prism.impl.BaseGraphics.drawTextureVO(BaseGraphics.java:378) 
 at  com.sun.prism.impl.BaseGraphics.drawTexture(BaseGraphics.java:332) 
 at  com.sun.prism.impl.BaseGraphics.drawTexture(BaseGraphics.java:323) 
 at com.sun.prism.d3d.D3DSwapChain.present(D3DSwapChain.java:42) 
 at  com.sun.javafx.tk.quantum.PaintRunnable.run(PaintRunnable.java:241) 
 at  java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 
 at  java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) 
 at  java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) 
 at com.sun.prism.render.RenderJob.run(RenderJob.java:29) 
 at  java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 
 at  java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 
 at  com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(QuantumRenderer.java:70) 
 at java.lang.Thread.run(Thread.java:662) 
Comments
Reopened to fix labels.
17-10-2012

SQE: verified on 2.0.2 b08. Tested on RT-14644
11-11-2011

Changeset: 14621 (328a024ab99d) fix : RT-14739, RT-14430, RT-15961 - NPE in com.sun.prism.d3d.D3DSwapChain.prese
10-10-2011

Targeting this for 2.0.2 and assigning it over to Kirill to investigate.
13-09-2011

SQE - ok to defer
31-08-2011

I think this should be targeted to Lombard.
25-08-2011

Pls target this to Presidio
25-08-2011

Difficult to reproduce and likely only effects certain hardware. Should be deferred.
24-08-2011

Still looking for a way to reproduce this, we think it could be related to your hardware configuration. We have tried on high-end nvidia, low end intel, and medium high nvidia... but not a graphics card like you have.
09-08-2011

I used this app to get this NPE
15-07-2011

Stop by and I'll show you how to reproduce this :-)
15-07-2011

forward to sqe for reproduction/better description of reproducability
14-07-2011

I have no definite way on how to reproduce this. It occurs during a dynamic development process: a Stage gets created and constantly filled with fresh Scenes which hold the latest UI. Those are typically bigger UIs with MigLayoutFX2, and some resizing of the Stage is done. And then, after a while and without any obvious reason in the shell we can see such output, even without activating the screenlock. So this issue is mostly "JFYI", as it contains some line numbers and might have possibly helped to uncover a bug.
12-07-2011

I need a better explanation of how to reproduce this. Resize the actual listview? what app did you run? helloListView? were you resizing the whole app?
12-07-2011

The screen was not locked, the machine did not go into hibernate or sleep, but was constantly in use.
02-07-2011

Probably a duplicate of RT-14644. Was screen lock or hibernation / sleep involved? If not, then it isn't the same issue as RT-14404.
01-07-2011