poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54233] When attached testing code is executed against the attached document, it generates the exception here under.
Date Mon, 03 Dec 2012 13:46:19 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54233

Yegor Kozlov <yegor@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #4 from Yegor Kozlov <yegor@dinom.ru> ---
It needs some work. At least one unit test started to fail after I applied your
patch:


org.apache.poi.hpsf.IllegalPropertySetDataException: UnicodeString started at
offset #68 is not NULL-terminated
    at org.apache.poi.hpsf.UnicodeString.<init>(UnicodeString.java:48)
    at
org.apache.poi.hpsf.TypedPropertyValue.readValue(TypedPropertyValue.java:162)
    at org.apache.poi.hpsf.VariantSupport.read(VariantSupport.java:166)
    at org.apache.poi.hpsf.Property.<init>(Property.java:164)
    at org.apache.poi.hpsf.Section.<init>(Section.java:277)
    at org.apache.poi.hpsf.PropertySet.init(PropertySet.java:451)
    at org.apache.poi.hpsf.PropertySet.<init>(PropertySet.java:246)
    at
org.apache.poi.hpsf.PropertySetFactory.create(PropertySetFactory.java:59)
    at org.apache.poi.POIDocument.getPropertySet(POIDocument.java:165)
    at org.apache.poi.POIDocument.readProperties(POIDocument.java:126)
    at org.apache.poi.POIDocument.getSummaryInformation(POIDocument.java:93)
    at
org.apache.poi.TestPOIDocumentMain.testCreateNewPropertiesOnExistingFile(TestPOIDocumentMain.java:161)

Please run the "test" ant target and ensure it completes OK.

Yegor

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message