Results 1 to 2 of 2
  1. #1
    sktemkar is offline Member
    Join Date
    Aug 2010
    Posts
    1
    Rep Power
    0

    Default IOException on URl: please check the url and permission

    hi,
    i am trying to open an applet, which displays two files for comparision.
    but i am getting errro as

    "debug info (getControlDir): IOException on URl: http://hyvm/teel/dwa/files/fileviewe...ut/errFileList
    please check the url and permission"

    and i see the internal error as follows...

    java.lang.NullPointerException
    at DWAFrame.start(DWAFrame.java:1362)
    at DWAFrame.emailLinkCallback(DWAFrame.java:394)
    at DWA.init(DWA.java:219)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-10" java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM.0)
    at java.security.AccessControlContext.checkPermission (Unknown Source)
    at java.security.AccessController.checkPermission(Unk nown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkExit(Unknown Source)
    at java.lang.Runtime.exit(Unknown Source)
    at java.lang.System.exit(Unknown Source)
    at DWAFrame$1.windowClosing(DWAFrame.java:137)
    at java.awt.Window.processWindowEvent(Unknown Source)
    at java.awt.Window.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)


    regards,
    SKT

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,308
    Rep Power
    25

    Default

    java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM.0
    This part of the message says your applet tried to do a System.exit(0);
    Not allowed in an applet to exit the JVM.

    If you are converting an application to an applet, you need to study the environment for applets and how they interface with a browser.

Similar Threads

  1. Applet Server Write Permission
    By Look2Logic in forum New To Java
    Replies: 0
    Last Post: 04-13-2010, 09:21 PM
  2. File Permission Problem
    By ProgrammingPup in forum Java Applets
    Replies: 2
    Last Post: 12-29-2009, 11:48 PM
  3. File Permission Problem
    By ProgrammingPup in forum Advanced Java
    Replies: 1
    Last Post: 12-29-2009, 05:05 PM
  4. 'Permission denied' java script error
    By java08 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 04-13-2009, 08:19 AM
  5. Replies: 5
    Last Post: 03-13-2009, 12:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •