Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange NPE Exception #513

Open
koppor opened this issue Aug 16, 2021 · 2 comments
Open

Strange NPE Exception #513

koppor opened this issue Aug 16, 2021 · 2 comments

Comments

@koppor
Copy link
Owner

koppor commented Aug 16, 2021

java.lang.NullPointerException: Cannot invoke "com.sun.glass.ui.Window.isTransparentWindow()" because the return value of "com.sun.javafx.tk.quantum.WindowStage.getPlatformWindow()" is null
        at com.sun.javafx.tk.quantum.GlassScene.getClearColor(GlassScene.java:334) ~[javafx.graphics:?]
        at com.sun.javafx.tk.quantum.SceneState.update(SceneState.java:100) ~[javafx.graphics:?]
        at com.sun.javafx.tk.quantum.GlassScene.updateSceneState(GlassScene.java:277) ~[javafx.graphics:?]
        at com.sun.javafx.tk.quantum.GlassScene.releaseSynchronization(GlassScene.java:138) ~[javafx.graphics:?]
        at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2514) ~[javafx.graphics:?]
        at com.sun.javafx.tk.Toolkit.lambda$runPulse$2(Toolkit.java:414) ~[javafx.graphics:?]
        at java.security.AccessController.doPrivileged(AccessController.java:391) ~[?:?]
        at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:413) ~[javafx.graphics:?]
        at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:440) ~[javafx.graphics:?]
        at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:564) ~[javafx.graphics:?]
        at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:544) ~[javafx.graphics:?]
        at com.sun.javafx.tk.quantum.QuantumToolkit.pulseFromQueue(QuantumToolkit.java:537) ~[javafx.graphics:?]
        at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$11(QuantumToolkit.java:343) ~[javafx.graphics:?]
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96) ~[javafx.graphics:?]
        at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) ~[javafx.graphics:?]
        at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174) ~[javafx.graphics:?]
        at java.lang.Thread.run(Thread.java:831) [?:?]
ed in Thread[JavaFX Application Thread,5,main]                                                                    
java.lang.NullPointerException: Cannot invoke "com.sun.glass.ui.Window.isTransparentWindow()" because the return v
alue of "com.sun.javafx.tk.quantum.WindowStage.getPlatformWindow()" is null                                       
        at com.sun.javafx.tk.quantum.GlassScene.getClearColor(GlassScene.java:334) ~[javafx.graphics:?]           
        at com.sun.javafx.tk.quantum.SceneState.update(SceneState.java:100) ~[javafx.graphics:?]                  
        at com.sun.javafx.tk.quantum.GlassScene.updateSceneState(GlassScene.java:277) ~[javafx.graphics:?]        
        at com.sun.javafx.tk.quantum.GlassScene.releaseSynchronization(GlassScene.java:138) ~[javafx.graphics:?]  
        at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2514) ~[javafx.graphics:?]                      
        at com.sun.javafx.tk.Toolkit.lambda$runPulse$2(Toolkit.java:414) ~[javafx.graphics:?]                     
        at java.security.AccessController.doPrivileged(AccessController.java:391) ~[?:?]                          
        at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:413) ~[javafx.graphics:?]                              
        at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:440) ~[javafx.graphics:?]                             
        at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:564) ~[javafx.graphics:?]           
        at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:544) ~[javafx.graphics:?]           
        at com.sun.javafx.tk.quantum.QuantumToolkit.pulseFromQueue(QuantumToolkit.java:537) ~[javafx.graphics:?]  
        at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$11(QuantumToolkit.java:343) ~[javafx.graphic
s:?]                                                                                                              
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96) ~[javafx.graphics:?]  
        at com.sun.glass.ui.win.WinApplication._enterNestedEventLoopImpl(Native Method) ~[javafx.graphics:?]      
        at com.sun.glass.ui.win.WinApplication._enterNestedEventLoop(WinApplication.java:201) ~[javafx.graphics:?]
        at com.sun.glass.ui.Application.enterNestedEventLoop(Application.java:513) ~[javafx.graphics:?]           
        at com.sun.glass.ui.EventLoop.enter(EventLoop.java:107) ~[javafx.graphics:?]                              
        at com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(QuantumToolkit.java:636) ~[javafx.graphic
s:?]                                                                                                              
        at javafx.stage.Stage.showAndWait(Stage.java:465) ~[javafx.graphics:?]                                    
        at javafx.scene.control.HeavyweightDialog.showAndWait(HeavyweightDialog.java:162) ~[javafx.controls:?]    
        at javafx.scene.control.Dialog.showAndWait(Dialog.java:346) ~[javafx.controls:?]                          
        at org.jabref.gui.JabRefDialogService.showErrorDialogAndWait(JabRefDialogService.java:192) ~[JabRef-100.0.
0.jar:?]                                                                                                          
        at org.jabref.gui.FallbackExceptionHandler.lambda$uncaughtException$0(FallbackExceptionHandler.java:26) ~[
JabRef-100.0.0.jar:?]                                                                                             
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:447) ~[javafx.graphics:?] 
        at java.security.AccessController.doPrivileged(AccessController.java:391) ~[?:?]                          
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:446) ~[javafx.graphics:?] 
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96) ~[javafx.graphics:?]  
        at com.sun.glass.ui.win.WinApplication._enterNestedEventLoopImpl(Native Method) ~[javafx.graphics:?]      
        at com.sun.glass.ui.win.WinApplication._enterNestedEventLoop(WinApplication.java:201) ~[javafx.graphics:?]
        at com.sun.glass.ui.Application.enterNestedEventLoop(Application.java:513) ~[javafx.graphics:?]           
        at com.sun.glass.ui.EventLoop.enter(EventLoop.java:107) ~[javafx.graphics:?]                              
        at com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(QuantumToolkit.java:636) ~[javafx.graphic
s:?]                                                                                                              
        at javafx.stage.Stage.showAndWait(Stage.java:465) ~[javafx.graphics:?]                                    
        at javafx.scene.control.HeavyweightDialog.showAndWait(HeavyweightDialog.java:162) ~[javafx.controls:?]    
        at javafx.scene.control.Dialog.showAndWait(Dialog.java:346) ~[javafx.controls:?]                          
        at org.jabref.gui.JabRefDialogService.showErrorDialogAndWait(JabRefDialogService.java:192) ~[JabRef-100.0.
0.jar:?]                                                                                                          
        at org.jabref.gui.FallbackExceptionHandler.lambda$uncaughtException$0(FallbackExceptionHandler.java:26) ~[
JabRef-100.0.0.jar:?]                                                                                             
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:447) ~[javafx.graphics:?] 
        at java.security.AccessController.doPrivileged(AccessController.java:391) ~[?:?]                          
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:446) ~[javafx.graphics:?] 
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96) ~[javafx.graphics:?]  
        at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) ~[javafx.graphics:?]                       
        at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174) ~[javafx.graphics:?]     
        at java.lang.Thread.run(Thread.java:831) [?:?]                                                            
@koppor
Copy link
Owner Author

koppor commented Aug 16, 2021

grafik

After focus loss:

grafik

@koppor
Copy link
Owner Author

koppor commented Aug 16, 2021

Retry after JabRef#7981 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant