File file = new File("E:\\scope.xls") ;
InputStream input = null;
try {
input = new FileInputStream(file);
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

HSSFWorkbook wb = null;
try {
wb = new HSSFWorkbook(input);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
HSSFSheet sheet = wb.getSheetAt(0) ;
HSSFRow row = sheet.getRow(1) ;
HSSFCell  cell = row.getCell(1) ;
最后一句报Exception in thread "main" java.lang.NullPointerException
at com.excel.demo.ExcelMain.main(ExcelMain.java:47)
就是得到单元格对象,为什么回报空指针??