这是我的源代码~不知道哪里错了~请教~谢谢   报错的为打星号那一行public class Mars {

public static void main(String[] args)throws Exception{
FileReader fr = new FileReader("D:\\input.txt");
BufferedReader br = new BufferedReader(fr);
String in = br.readLine();
*** String[] ins = in.split(" ");
int right = Integer.parseInt(ins[0]);
int top =Integer.parseInt(ins[1]);
ArrayList<rover> rs = new ArrayList<rover>();

while(in != null){
in = br.readLine();
String[] place = in.split(" ");
int x = Integer.parseInt(place[0]);
int y = Integer.parseInt(place[1]);
int direction;
if(place[2]=="N") direction = 0;
else if(place[2]=="W") direction = 1;
else if(place[2]=="S") direction = 2;
else if(place[2]=="E") direction = 3;
else direction = -1;
rover r = new rover(x,y,direction,right,top);

in = br.readLine();
}
}
}