-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
fx2.0
-
Windows Xp; JavaFX Beta 2.0: javafx_sdk-2_0-beta-b37-windows-i586-19_jul_2011\javafx-sdk2.0-beta ; Source code and error message in zip file
JavaFX Beta 2.0: javafx_sdk-2_0-beta-b37-windows-i586-19_jul_2011\javafx-sdk2.0-beta
I have gotten the video to continue playing despite the Null pointer exception with a kludge
-- But I want to get rid of the null pointer exception and the need for a kludge.
Here is the error message (it occurs in various places:
1) Between when the JFXPanel gets focus and when the mouse is pressed (See log):
2) When the media is playing...
JavaFxPanel focusGained
java.lang.NullPointerException
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(EmbeddedScene.java:154)
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(EmbeddedScene.java:230)
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:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(QuantumRenderer.java:70)
at java.lang.Thread.run(Thread.java:619)
JavaFxPanel focusLost
java.lang.NullPointerException
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(EmbeddedScene.java:154)
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(EmbeddedScene.java:230)
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:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(QuantumRenderer.java:70)
at java.lang.Thread.run(Thread.java:619)
BorderPane MouseEntered
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = FxMediaControl@1d0d124, eventType = MOUSE_ENTERED, consumed = false, x = 161.0, y = 383.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = FxMediaControl$6@af72d8, eventType = MOUSE_ENTERED_TARGET, consumed = false, x = 161.0, y = 383.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_ENTERED_TARGET, consumed = false, x = 161.0, y = 383.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 161.0, y = 383.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 148.0, y = 380.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 134.0, y = 375.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 120.0, y = 370.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 108.0, y = 367.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 98.0, y = 364.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 90.0, y = 363.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 84.0, y = 361.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 80.0, y = 361.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 78.0, y = 359.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 77.0, y = 359.0, button = NONE]
JavaFxPanel focusGained
BorderPane MousePressed
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_PRESSED, consumed = false, x = 77.0, y = 359.0, button = PRIMARY, primaryButtonDown]
java.lang.NullPointerException
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(EmbeddedScene.java:154)
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(EmbeddedScene.java:230)
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:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(QuantumRenderer.java:70)
at java.lang.Thread.run(Thread.java:619)
I have gotten the video to continue playing despite the Null pointer exception with a kludge
-- But I want to get rid of the null pointer exception and the need for a kludge.
Here is the error message (it occurs in various places:
1) Between when the JFXPanel gets focus and when the mouse is pressed (See log):
2) When the media is playing...
JavaFxPanel focusGained
java.lang.NullPointerException
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(EmbeddedScene.java:154)
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(EmbeddedScene.java:230)
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:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(QuantumRenderer.java:70)
at java.lang.Thread.run(Thread.java:619)
JavaFxPanel focusLost
java.lang.NullPointerException
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(EmbeddedScene.java:154)
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(EmbeddedScene.java:230)
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:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(QuantumRenderer.java:70)
at java.lang.Thread.run(Thread.java:619)
BorderPane MouseEntered
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = FxMediaControl@1d0d124, eventType = MOUSE_ENTERED, consumed = false, x = 161.0, y = 383.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = FxMediaControl$6@af72d8, eventType = MOUSE_ENTERED_TARGET, consumed = false, x = 161.0, y = 383.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_ENTERED_TARGET, consumed = false, x = 161.0, y = 383.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 161.0, y = 383.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 148.0, y = 380.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 134.0, y = 375.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 120.0, y = 370.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 108.0, y = 367.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 98.0, y = 364.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 90.0, y = 363.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 84.0, y = 361.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 80.0, y = 361.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 78.0, y = 359.0, button = NONE]
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_MOVED, consumed = false, x = 77.0, y = 359.0, button = NONE]
JavaFxPanel focusGained
BorderPane MousePressed
BorderPane MouseEvent [source = FxMediaControl@1d0d124, target = MediaView@1d95da8, eventType = MOUSE_PRESSED, consumed = false, x = 77.0, y = 359.0, button = PRIMARY, primaryButtonDown]
java.lang.NullPointerException
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.paintImpl(EmbeddedScene.java:154)
at com.sun.javafx.tk.quantum.EmbeddedScene$PaintRunnable.run(EmbeddedScene.java:230)
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:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(QuantumRenderer.java:70)
at java.lang.Thread.run(Thread.java:619)