Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Won't Fix
-
1.0-beta-9
-
None
-
Windows XP
Description
I get this run tme error when I try to run this code,it compiles successfully.But when I say groovy Arr.groovy,it gives me this
on command line:
caught: java.lang.NullPointerException at Arr.main,
I want to read from an input stream into an char array using read(char[ ] array) method of reder class,but it gives me this runtime error.I'm sure the file does exists,read( ) method works fine but I can't read into an char array.
The code of my file is :
import java.io.*
class Arr
{
public static void main(args)
}
Thank you