This discussion is archived
1 Reply Latest reply: Feb 17, 2013 11:49 PM by Kayaman RSS

java.lang.SecurityException: showDocument url permission denied

991627 Newbie
Currently Being Moderated

We get below given error in one of the java application when we use the java version which is higher than 1.6.0_24.

java.lang.SecurityException: showDocument url permission denied
at sun.plugin2.main.client.MessagePassingExecutionContext.showDocument(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletContextImpl.showDocument(Unknown Source)
at vrts.CreateCrystalReports.createTransmittal(
at vrts.JFrameOldProjectWizard.createTransmittalAndOCS(
at vrts.JFrameOldProjectWizard$6.actionPerformed(
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

We get this error in below given code where it tries to open a HTML file.


Can you please provide solution for this issue so that code should work in any java versions.


Edited by: 988624 on Feb 17, 2013 11:06 PM


  • Correct Answers - 10 points
  • Helpful Answers - 5 points