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