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 47008] New: NullPointerException when calling getText() from TextExtractor
Date Thu, 09 Apr 2009 13:48:03 GMT
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: dev@poi.apache.org
        ReportedBy: tiago.cavaleiro@xpand-it.com


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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message