Applet Security Issue in Vista?
I'm having a strange problem where I'm getting a permission violation while trying to read a file in an applet. This file is on the server-side and should therefore not be subject to any read/write restrictions. Strangely enough, I think at one point it was working fine. I'm desperate for ideas about this.
File structure:
index.html
data -> ONETOR2005.txt
applets.jar
inside a class in applets.jar there is a read on the file "./data/ONETOR2005.txt" which causes the permission failure. Please email me with any ideas!
jgorsk2@uic.edu
[585 byte] By [
jasejca] at [2007-11-26 18:47:30]

Is this what you needed?
Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied (java.io.FilePermission .\data\ONETOR5005.txt 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 java.io.File.exists(Unknown Source)
at com.csvreader.CsvReader.<init>(CsvReader.java:127)
at com.csvreader.CsvReader.<init>(CsvReader.java:151)
at com.csvreader.CsvReader.<init>(CsvReader.java:163)
at tornadovis.TornadoDataParser.parseFile(TornadoDataParser.java:56)
at tornadovis.TornadoVisInitializer.actionPerformed(TornadoVisInitializer.java:76)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.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.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.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.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)