https://issues.apache.org/bugzilla/show_bug.cgi?id=47008
Summary: NullPointerException when calling getText() from
TextExtractor
Product: POI
Version: 3.5-dev
Platform: PC
OS/Version: Windows Vista
Status: NEW
Severity: normal
Priority: P2
Component: POI Overall
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=23471)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23471)
The ppt that contains a shape (throws NullPointerException)
This problem happens when having extracting text from a .ppt file.
Appears that the problems resides when extracting text from shapes, since I've
made a simple test with a .ppt with a simple shape with text (test1) and
another test with .ppt without the shape but with the same text (test2).
On test1 we get a NullPointerException
(org.apache.poi.hslf.model.SimpleShape.getClientRecords(SimpleShape.java:322))
and on test2 we get the desired text.
Another thing is that when saving the test1 presentation has a .pptx file and
then running a third test using that file, we get the desired result.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]