poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erez Eisenstein" ...@axismobile.com>
Subject RE: TextBox bug
Date Thu, 13 Jul 2006 10:29:35 GMT
I am not creating a TextBox myself...

I have an instance of Slide, and I call the getShapes() method (some of
the shapes are TextBox instances)



-----Original Message-----
From: Nick Burch [mailto:nick@torchbox.com] 
Sent: Thursday, July 13, 2006 11:23 AM
To: POI Users List
Subject: Re: TextBox bug

On Thu, 13 Jul 2006, Erez Eisenstein wrote:
> If I create a new ppt file, with an empty textbox in it (that says: 
> "click to add subtitle"), than the _txtrun is null. This causes the 
> TextBox class to throw NullPointerExceptions, in methods getText(), 
> setSheet().

When you create a TextBox, it does create and set _txtrun (line 160 in 
createSpContainer), so I'm not sure where your problem is?

Could you supply the code you use to generate the NullPointerExceptions?

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Mime
View raw message