poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <nick.bu...@alfresco.com>
Subject Re: NullPointerException in org.apache.poi.xssf.usermodel.XSSFRichTextString.getLengthOfFormattingRun
Date Thu, 09 Dec 2010 01:21:25 GMT
On Tue, 7 Dec 2010, sanjeev.x.verma wrote:
>            CTRElt r = st.getRArray(i);
>            if(r != null
>                  && r.getT() != null
>                  && i == index) return r.getT().length();    //<<<Null
> check here - "r.getT()" was returning null.

I'm not sure why r.getT() would return null, so we'll need to see the file 
to be sure

Nick

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


Mime
View raw message