Bug 13092 - NPE from BiffViewer.createRecord()
Summary: NPE from BiffViewer.createRecord()
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-dev
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2002-09-27 17:50 UTC by Dennis Doubleday
Modified: 2005-03-20 17:06 UTC (History)
0 users

XLS file that causes the NPE in the bug report (35.50 KB, application/octet-stream)
2002-09-27 17:51 UTC, Dennis Doubleday

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Doubleday 2002-09-27 17:50:35 UTC
Really 1.8.0-dev, which isn't in the list. Try the attached .XLS to reproduce.

Offset 0x68e (1678)
recordid = 0x18, size =27
        at org.apache.poi.util.HexDump.toHex(HexDump.java:289)
        at org.apache.poi.hssf.record.NameRecord.toString(NameRecord.java:758)
        at org.apache.poi.hssf.dev.BiffViewer.createRecord(BiffViewer.java:638)
        at org.apache.poi.hssf.dev.BiffViewer.createRecords(BiffViewer.java:158)

        at org.apache.poi.hssf.dev.BiffViewer.run(BiffViewer.java:110)
        at org.apache.poi.hssf.dev.BiffViewer.main(BiffViewer.java:687)
Comment 1 Dennis Doubleday 2002-09-27 17:51:31 UTC
Created attachment 3269 [details]
XLS file that causes the NPE in the bug report
Comment 2 Andy Oliver 2002-10-01 21:45:10 UTC
1.8.0-dev isn't in the list because its a development build in the 2.0-dev
series, you did the right thing.  I think I fixed this.  Please cross check
against tonights build or the CVS head.