poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44375] New: - [Regression in 3.0.2] Unable to read an Excel file
Date Thu, 07 Feb 2008 16:46:07 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44375>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44375

           Summary: [Regression in 3.0.2] Unable to read an Excel file
           Product: POI
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: lpoublan@triloggroup.com


Impossible to create an HSSFWorkbook from an excel file.
There is a StringIndexOutOfBoundsException in POIDocument.readProperties().
It worked with POI 3.0.1.

Here is the full stack trace:
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String
index out of range: 541934449
	at java.lang.String.checkBounds(String.java:372)
	at java.lang.String.<init>(String.java:404)
	at org.apache.poi.hpsf.Property.readDictionary(Property.java:257)
	at org.apache.poi.hpsf.Property.<init>(Property.java:153)
	at org.apache.poi.hpsf.Section.<init>(Section.java:291)
	at org.apache.poi.hpsf.PropertySet.init(PropertySet.java:454)
	at org.apache.poi.hpsf.PropertySet.<init>(PropertySet.java:249)
	at org.apache.poi.hpsf.PropertySetFactory.create(PropertySetFactory.java:61)
	at org.apache.poi.POIDocument.getPropertySet(POIDocument.java:97)
	at org.apache.poi.POIDocument.readProperties(POIDocument.java:77)
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:171)
	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:148)
	at Test.<init>(Test.java:18)
	at Test.main(Test.java:38)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message