ADDITIONAL SYSTEM INFORMATION :
System Version: macOS 12.6.6 (21G646)
Kernel Version: Darwin 21.6.0
A DESCRIPTION OF THE PROBLEM :
Since JavaFX 17.0.7, using Google Maps (http://www.google.com/maps) crashes the VM. Sometimes it doesn't crash the VM, but produces NullpointerException:
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException: Cannot invoke "Object.hashCode()" because "<parameter1>" is null
at java.base/java.util.ImmutableCollections$MapN.probe(Unknown Source)
at java.base/java.util.ImmutableCollections$MapN.get(Unknown Source)
at javafx.web@21-ea/com.sun.javafx.webkit.KeyCodeMap.lookup(Unknown Source)
at javafx.web@21-ea/javafx.scene.web.WebView.processKeyEvent(Unknown Source)
at javafx.web@21-ea/javafx.scene.web.WebView.lambda$registerEventHandlers$2(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
at javafx.base@21-ea/javafx.event.Event.fireEvent(Unknown Source)
at javafx.graphics@21-ea/javafx.scene.Scene.processKeyEvent(Unknown Source)
at javafx.graphics@21-ea/javafx.scene.Scene$ScenePeerListener.keyEvent(Unknown Source)
at javafx.graphics@21-ea/com.sun.javafx.tk.quantum.EmbeddedScene.lambda$keyEvent$12(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at javafx.graphics@21-ea/com.sun.javafx.tk.quantum.EmbeddedScene.lambda$keyEvent$13(Unknown Source)
at javafx.graphics@21-ea/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at javafx.graphics@21-ea/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
at javafx.graphics@21-ea/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Just launch page www.google.com/maps using the JavaFX WebView browser, then type "New York" (for instance) in the search box. That triggers it
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The map should zoom to the specified location
ACTUAL -
I either get a thread dump (see above) or a complete VM freeze. It doens't produce any crash log, just that colorful spinning wheel mouse pointer.
FREQUENCY : always
System Version: macOS 12.6.6 (21G646)
Kernel Version: Darwin 21.6.0
A DESCRIPTION OF THE PROBLEM :
Since JavaFX 17.0.7, using Google Maps (http://www.google.com/maps) crashes the VM. Sometimes it doesn't crash the VM, but produces NullpointerException:
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException: Cannot invoke "Object.hashCode()" because "<parameter1>" is null
at java.base/java.util.ImmutableCollections$MapN.probe(Unknown Source)
at java.base/java.util.ImmutableCollections$MapN.get(Unknown Source)
at javafx.web@21-ea/com.sun.javafx.webkit.KeyCodeMap.lookup(Unknown Source)
at javafx.web@21-ea/javafx.scene.web.WebView.processKeyEvent(Unknown Source)
at javafx.web@21-ea/javafx.scene.web.WebView.lambda$registerEventHandlers$2(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
at javafx.base@21-ea/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
at javafx.base@21-ea/javafx.event.Event.fireEvent(Unknown Source)
at javafx.graphics@21-ea/javafx.scene.Scene.processKeyEvent(Unknown Source)
at javafx.graphics@21-ea/javafx.scene.Scene$ScenePeerListener.keyEvent(Unknown Source)
at javafx.graphics@21-ea/com.sun.javafx.tk.quantum.EmbeddedScene.lambda$keyEvent$12(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at javafx.graphics@21-ea/com.sun.javafx.tk.quantum.EmbeddedScene.lambda$keyEvent$13(Unknown Source)
at javafx.graphics@21-ea/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at javafx.graphics@21-ea/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
at javafx.graphics@21-ea/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Just launch page www.google.com/maps using the JavaFX WebView browser, then type "New York" (for instance) in the search box. That triggers it
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The map should zoom to the specified location
ACTUAL -
I either get a thread dump (see above) or a complete VM freeze. It doens't produce any crash log, just that colorful spinning wheel mouse pointer.
FREQUENCY : always