poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Lynch <adrian.ly...@concreteplatform.com>
Subject Re: POI 3.11 NullPointerException when doing removeSheetAT() for .xls file
Date Fri, 29 Aug 2014 22:20:11 GMT
Show us your code. It's hard to even suggest what might be the issue
without some code to look over.

A


On 29 August 2014 22:09, kgtokm <kgarneni@acmoore.com> wrote:

> Hi,
>
> My .xls workbook contains several sheets and when removing sheet using
> removeSheetAt(index) method it throws NullPointerException.
>
> For eg if I have have 3 sheets in my workboox and if I remove 3nd and then
> 2nd sheet it works fine but if I remove 1st sheet or 2nd sheet by keeping
> 3rd sheet then it throws NullPointerException
>
> Iam using poi 3.11 version
>
> Any help would be appreciated.
>
> Thanks in advance
>
>
>
> --
> View this message in context:
> http://apache-poi.1045710.n5.nabble.com/POI-3-11-NullPointerException-when-doing-removeSheetAT-for-xls-file-tp5716487.html
> Sent from the POI - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message