DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8693>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8693

NullPointerException when opening existing Workbook

           Summary: NullPointerException when opening existing Workbook
           Product: POI
           Version: 1.5
          Platform: PC
               URL: none
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HSSF
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


On execution of the following code, a uncaught NullPointerException occurs:
File f = new File("test.xls");
POIFSFileSystem fs = new POIFSFileSystem(new FileInputStream(f));
HSSFWorkbook wb = new HSSFWorkbook(fs);

in the HSSFSheet.setPropertiesFromSheet() method at hrow.createCellFromRecord(cval).
The Exception occurs on the first cycle of the while loop.
I would like to attach my Excel workboob, if I figure out how to do this
(otherwise I will mail it).

Reply via email to