Mararsh / MyBox

Easy tools of document, image, file, network, data, color, and media.
Apache License 2.0
139 stars 23 forks source link

Error “com.sun.webkit.WebPage.twkProcessMouseEvent(Native Method)” when visit webview #1935

Closed Mararsh closed 6 months ago

Mararsh commented 7 months ago

have not found the reason

Mararsh commented 7 months ago

Exception in thread "JavaFX Application Thread" java.lang.NullPointerException at javafx.web@21-ea/com.sun.webkit.WebPage.twkProcessMouseEvent(Native Method) at javafx.web@21-ea/com.sun.webkit.WebPage.dispatchMouseEvent(WebPage.java:857) at javafx.web@21-ea/javafx.scene.web.WebView.processMouseEvent(WebView.java:1098) at javafx.web@21-ea/javafx.scene.web.WebView.lambda$registerEventHandlers$3(WebView.java:1224) at javafx.base@21-ea/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:247) at javafx.base@21-ea/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) at javafx.base@21-ea/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232) at javafx.base@21-ea/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189) at javafx.base@21-ea/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at javafx.base@21-ea/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at javafx.base@21-ea/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@21-ea/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@21-ea/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@21-ea/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@21-ea/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@21-ea/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@21-ea/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@21-ea/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base@21-ea/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base@21-ea/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at javafx.base@21-ea/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at javafx.base@21-ea/javafx.event.Event.fireEvent(Event.java:198) at javafx.graphics@21-ea/javafx.scene.Scene$MouseHandler.process(Scene.java:3980) at javafx.graphics@21-ea/javafx.scene.Scene.processMouseEvent(Scene.java:1890) at javafx.graphics@21-ea/javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2704) at javafx.graphics@21-ea/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:411) at javafx.graphics@21-ea/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:301) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at javafx.graphics@21-ea/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:450) at javafx.graphics@21-ea/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:424) at javafx.graphics@21-ea/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:449) at javafx.graphics@21-ea/com.sun.glass.ui.View.handleMouseEvent(View.java:551) at javafx.graphics@21-ea/com.sun.glass.ui.View.notifyMouse(View.java:937) at javafx.graphics@21-ea/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at javafx.graphics@21-ea/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:183) at java.base/java.lang.Thread.run(Thread.java:1583)

Mararsh commented 7 months ago

Have not found the reason