As of b37, most of the application that I have that use chart do not display ok. This includes a pie chart test, a program I am porting from Swing and the ChartSampler test.
The Ensemble program displays ok though.
Often the graphics are broken or missing part or have having trouble refreshing themselves (see screenshots). They do refresh under the mouse cursor though. Often I need to resize the window in order to have its content fully appear. There are no outputed error or no exception being raised. This does not seem to apply to other JavaFX tests programs or my other programs which do not use charts.
I do not know if its related but when starting the SwingJavaFXChart test, the following errors are outputed on the console:
>java -jar SwingJavaFXChart.jar
java.lang.NullPointerException
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(Unkno
wn Source)
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(Unknown Sou
rce)
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(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(Unknow
n Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(Unkno
wn Source)
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(Unknown Sou
rce)
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(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(Unknow
n Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(Unkno
wn Source)
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(Unknown Sou
rce)
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(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(Unknow
n Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(Unkno
wn Source)
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(Unknown Sou
rce)
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(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(Unknow
n Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(Unkno
wn Source)
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(Unknown Sou
rce)
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(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(Unknow
n Source)
at java.lang.Thread.run(Unknown Source)
[...]
The video card is an nVidia 8400 GS with drivers 270.61
I'll check again later with a more recent release (the nVidia driver notifies me there are new ones available).
The Ensemble program displays ok though.
Often the graphics are broken or missing part or have having trouble refreshing themselves (see screenshots). They do refresh under the mouse cursor though. Often I need to resize the window in order to have its content fully appear. There are no outputed error or no exception being raised. This does not seem to apply to other JavaFX tests programs or my other programs which do not use charts.
I do not know if its related but when starting the SwingJavaFXChart test, the following errors are outputed on the console:
>java -jar SwingJavaFXChart.jar
java.lang.NullPointerException
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(Unkno
wn Source)
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(Unknown Sou
rce)
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(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(Unknow
n Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(Unkno
wn Source)
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(Unknown Sou
rce)
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(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(Unknow
n Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(Unkno
wn Source)
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(Unknown Sou
rce)
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(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(Unknow
n Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(Unkno
wn Source)
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(Unknown Sou
rce)
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(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(Unknow
n Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(Unkno
wn Source)
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(Unknown Sou
rce)
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(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(Unknow
n Source)
at java.lang.Thread.run(Unknown Source)
[...]
The video card is an nVidia 8400 GS with drivers 270.61
I'll check again later with a more recent release (the nVidia driver notifies me there are new ones available).
- duplicates
-
JDK-8114427 ChartsSampler is broken using new multiple dirty regions code
- Closed