poi将数据写入excel07时报NullPointerException 具体错误为 java.lang.NullPointerException at org.apache.xmlbeans.impl.store.Xobj.array_setter(Xobj.java:2401) at org.apache.xmlbeans.impl.values.XmlComplexContentImpl.arraySetterHelper(XmlComplexContentImpl.java:1055) at org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTWorksheetImpl.setColsArray(Unknown Source) at org.apache.poi.xssf.usermodel.XSSFSheet.write(XSSFSheet.java:2338) at org.apache.poi.xssf.usermodel.XSSFSheet.commit(XSSFSheet.java:2328) Truncated. see log file for complete stacktrace