# File i/o

Madan Mohan Ranganath (rxcharul@cs.twsu.edu)
Sun, 18 Apr 1999 17:36:30 -0500 (CDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Marks, John: "I tried to run your security example and it doesn't work under wi"
- Previous message: Jiro Ibuki: "Loading a JAR file in a Parent DirectoryIn"

    From: Madan Mohan Ranganath <rxcharul@cs.twsu.edu>

    Message-Id: <199904182236.RAA19517@data.cs.twsu.edu>

    Subject: File i/o

    To: java-security@java.sun.com

    Date: Sun, 18 Apr 1999 17:36:30 -0500 (CDT)

Hello Sir/Madam,

For my project, through an applet I was trying to open a text file
(in which a series of records are present) and display each record. But
the applet is giving me the following exception.

-----------------------------------------------------------------------
appletviewer http://www.cs.twsu.edu/~rxcharul/Textbox.html
new FileInputStream threw: sun.applet.AppletSecurityException: checkread
Value of i = 0
java.lang.NullPointerException
at java.awt.TextComponent.setText(TextComponent.java:133)
at Textbox.run(Textbox.java:55)
at java.lang.Thread.run(Thread.java)
-----------------------------------------------------------------------

Is there anyway in which I can overcome this problem? I am doing the
development on Linux m/c.

Kindly reply,
Madan

- Next message: Marks, John: "I tried to run your security example and it doesn't work under wi"
- Previous message: Jiro Ibuki: "Loading a JAR file in a Parent DirectoryIn"