java.security.AccessControlException is thrown on selecting the Renderer Type as 'Label' in the Option tab of DialogCreator Applet of BrowserTestSuite.
This exception came while testing on IE5 and NS4.7 browsers on Win98 FE and Win2000 Prof. machines.
Steps to Reproduce:
1) Launch BrowserTestSuite from /javaweb.eng/~edlou/BrowserTestSuite/Suite/QLindex.html
2) Launch 'Dialog Creator' Applet by clicking on the link 'Dialog Creator(4)' under 'Other Quicklook Applets'.
3) In the 'Option' tab of the DialogCreator Applet, change the 'Renderer Type' to 'Label' (Renderer Type is one of the Select Parameters)
4) Click on the 'Show Dialog' button. On doing so, AccessControlException is raised on the Console. Whereas if 'Renderer Type' is selected as 'String' then no exception occurs.
The following AccessControlException is raised:
java.security.AccessControlException: access denied (java.io.FilePermission small.gif read) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkRead(Unknown Source) at sun.awt.SunToolkit.getImageFromHash(Unknown Source) at sun.awt.SunToolkit.getImage(Unknown Source) at javax.swing.ImageIcon.<init>(Unknown Source) at javax.swing.ImageIcon.<init>(Unknown Source) at Options.show(DialogCreator.java:722) at Options.actionPerformed(DialogCreator.java:552) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
%java -version
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b59)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b59, mixed mode)
ruchika.mehdiratta@Eng 2001-04-10
This exception came while testing on IE5 and NS4.7 browsers on Win98 FE and Win2000 Prof. machines.
Steps to Reproduce:
1) Launch BrowserTestSuite from /javaweb.eng/~edlou/BrowserTestSuite/Suite/QLindex.html
2) Launch 'Dialog Creator' Applet by clicking on the link 'Dialog Creator(4)' under 'Other Quicklook Applets'.
3) In the 'Option' tab of the DialogCreator Applet, change the 'Renderer Type' to 'Label' (Renderer Type is one of the Select Parameters)
4) Click on the 'Show Dialog' button. On doing so, AccessControlException is raised on the Console. Whereas if 'Renderer Type' is selected as 'String' then no exception occurs.
The following AccessControlException is raised:
java.security.AccessControlException: access denied (java.io.FilePermission small.gif read) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkRead(Unknown Source) at sun.awt.SunToolkit.getImageFromHash(Unknown Source) at sun.awt.SunToolkit.getImage(Unknown Source) at javax.swing.ImageIcon.<init>(Unknown Source) at javax.swing.ImageIcon.<init>(Unknown Source) at Options.show(DialogCreator.java:722) at Options.actionPerformed(DialogCreator.java:552) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
%java -version
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b59)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b59, mixed mode)
ruchika.mehdiratta@Eng 2001-04-10