WebView missing resource

Scott Palmer swpalmer at gmail.com
Sun Jan 23 04:10:07 UTC 2022


Is this an issue with WebView, my code, both?

Exception in thread "JavaFX Application Thread" java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key blockedPluginByContentSecurityPolicyText
	at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:564)
	at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)
	at javafx.web/com.sun.webkit.LocalizedStrings.getLocalizedProperty(LocalizedStrings.java:45)
	at javafx.web/com.sun.webkit.Timer.twkFireTimerEvent(Native Method)
	at javafx.web/com.sun.webkit.Timer.fireTimerEvent(Timer.java:84)
	at javafx.web/com.sun.webkit.Timer.notifyTick(Timer.java:65)
	at javafx.web/javafx.scene.web.WebEngine$PulseTimer.lambda$static$0(WebEngine.java:1205)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)

I’m just testing out some WebView things in a new modular app on Java 17.0.1 (Azul’s Zulu build with JavaFX included).  Noticing a lot of issues actually.. I’ll have to search the bug tracker to see if they are known.

Regards,

Scott


More information about the openjfx-dev mailing list