Results 1 to 2 of 2
- 08-02-2010, 11:15 AM #1
Member
- Join Date
- Aug 2010
- Posts
- 1
- Rep Power
- 0
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
- 08-02-2010, 12:57 PM #2
This part of the message says your applet tried to do a System.exit(0);java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM.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
-
Applet Server Write Permission
By Look2Logic in forum New To JavaReplies: 0Last Post: 04-13-2010, 09:21 PM -
File Permission Problem
By ProgrammingPup in forum Java AppletsReplies: 2Last Post: 12-29-2009, 11:48 PM -
File Permission Problem
By ProgrammingPup in forum Advanced JavaReplies: 1Last Post: 12-29-2009, 05:05 PM -
'Permission denied' java script error
By java08 in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 04-13-2009, 08:19 AM -
java.net.SocketException: Permission denied: connect
By ToddT in forum Java AppletsReplies: 5Last Post: 03-13-2009, 12:45 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks