-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
8
-
None
-
Linux
-
generic
-
linux
It is noticed that for many applets outther (eg. yahoo games) there isException during peer initialization
java.lang.ExceptionInInitializerError when loading on Linux
*** Tested Configuration:
- x86 Ubuntu 12.04, x86 Ubuntu 13.04
- Firefox 24.x
- jre 8 promotion
*** Steps to reproduce:
0) Install jre8-b112 promotion on linux machine
1) Configure Firefox to use the above jre 8 java plug-in
2) Use Firefox to load the test applet
http://www.dbai.tuwien.ac.at/proj/ramsey
( many yahoo game applet display the same issue)
3) Accept to run the applet at the Security Warning dialog
if you see the following error message, the issue is reproducible
sun.awt.X11.XBaseWindow init
WARNING: Exception during peer initialization
java.lang.ExceptionInInitializerError
at sun.awt.X11.InfoWindow$Tooltip.<init>(Unknown Source)
at sun.awt.X11.XWarningWindow.<init>(Unknown Source)
at sun.awt.X11.XWindowPeer.postInit(Unknown Source)
at sun.awt.X11.XDecoratedPeer.postInit(Unknown Source)
at sun.awt.X11.XBaseWindow.init(Unknown Source)
at sun.awt.X11.XBaseWindow.<init>(Unknown Source)
at sun.awt.X11.XWindow.<init>(Unknown Source)
at sun.awt.X11.XComponentPeer.<init>(Unknown Source)
at sun.awt.X11.XCanvasPeer.<init>(Unknown Source)
at sun.awt.X11.XPanelPeer.<init>(Unknown Source)
at sun.awt.X11.XWindowPeer.<init>(Unknown Source)
at sun.awt.X11.XDecoratedPeer.<init>(Unknown Source)
at sun.awt.X11.XDialogPeer.<init>(Unknown Source)
at sun.awt.X11.XToolkit.createDialog(Unknown Source)
at java.awt.Dialog.addNotify(Unknown Source)
at java.awt.Dialog.conditionalShow(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at Hexi.init(Hexi.java:149)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at sun.plugin2.applet.SecurityManagerHelper.checkAccessHelper(Unknown Source)
at sun.plugin2.applet.AWTAppletSecurityManager.checkAccess(Unknown Source)
at java.lang.ThreadGroup.checkAccess(Unknown Source)
at java.lang.ThreadGroup.getParent(Unknown Source)
at sun.awt.AppContext$6.getAppletContext(Unknown Source)
at java.util.logging.LogManager.getUserContext(Unknown Source)
at java.util.logging.LogManager.addLogger(Unknown Source)
at java.util.logging.LogManager.demandSystemLogger(Unknown Source)
at java.util.logging.Logger.getPlatformLogger(Unknown Source)
at java.util.logging.LoggingProxyImpl.getLogger(Unknown Source)
at sun.util.logging.LoggingSupport.getLogger(Unknown Source)
at sun.util.logging.PlatformLogger$JavaLoggerProxy.<init>(Unknown Source)
at sun.util.logging.PlatformLogger$JavaLoggerProxy.<init>(Unknown Source)
at sun.util.logging.PlatformLogger.<init>(Unknown Source)
at sun.util.logging.PlatformLogger.getLogger(Unknown Source)
at sun.awt.X11.XTrayIconPeer.<clinit>(Unknown Source)
... 21 more
java.lang.ExceptionInInitializerError
at sun.awt.X11.XToolkit.createCheckbox(Unknown Source)
at java.awt.Checkbox.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at java.awt.Panel.addNotify(Unknown Source)
at java.awt.Container.addNotify(Unknown Source)
at java.awt.Window.addNotify(Unknown Source)
at java.awt.Dialog.addNotify(Unknown Source)
at java.awt.Dialog.conditionalShow(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at Hexi.init(Hexi.java:149)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at sun.plugin2.applet.SecurityManagerHelper.checkAccessHelper(Unknown Source)
at sun.plugin2.applet.AWTAppletSecurityManager.checkAccess(Unknown Source)
at java.lang.ThreadGroup.checkAccess(Unknown Source)
at java.lang.ThreadGroup.getParent(Unknown Source)
at sun.awt.AppContext$6.getAppletContext(Unknown Source)
at java.util.logging.LogManager.getUserContext(Unknown Source)
at java.util.logging.LogManager.addLogger(Unknown Source)
at java.util.logging.LogManager.demandSystemLogger(Unknown Source)
at java.util.logging.Logger.getPlatformLogger(Unknown Source)
at java.util.logging.LoggingProxyImpl.getLogger(Unknown Source)
at sun.util.logging.LoggingSupport.getLogger(Unknown Source)
at sun.util.logging.PlatformLogger$JavaLoggerProxy.<init>(Unknown Source)
at sun.util.logging.PlatformLogger$JavaLoggerProxy.<init>(Unknown Source)
at sun.util.logging.PlatformLogger.<init>(Unknown Source)
at sun.util.logging.PlatformLogger.getLogger(Unknown Source)
at sun.awt.X11.XCheckboxPeer.<clinit>(Unknown Source)
... 13 more
- duplicates
-
JDK-8026404 Logging in Applet can trigger ACE: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
- Closed