You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by "M. Nguyen" <md...@gmail.com> on 2014/11/19 21:49:02 UTC

"IllegalArguementException : Value for parameter 'id' was out of bounds"

First post to the list, let me know if I'm doing it wrong.

I'm encountering the error above, and I found this:
http://stackoverflow.com/questions/18756484/getting-illegalarguementexception-value-for-parameter-id-was-out-of-bounds

I have been hunting down confirmation for the fact that OOXML accepts a
range minimum of 0, but not sure what document to find.

Regardless, the issue in the link is from 2013 and I know 3.10.1 is from
the latter half of this year.

I'm running into the same issue of converting DOC to DOCX for my own
purposes with LibreOffice and being unable to read the result.  The linked
issue seems to indicate that LibreOffice is following the OOXML standard
and that POI is the one using an incorrect range during construction of the
XWPFDocument object.

I plan on rebuilding the code myself with a patch, but I was wondering why
this issue hasn't been addressed, as (if the link is any indication) it's a
blatant disregard for the OOXML standard.

Thanks,

M. Nguyen

Re: "IllegalArguementException : Value for parameter 'id' was out of bounds"

Posted by Dominik Stadler <do...@gmx.at>.
Can you create a Bug-Entry for this? Preferably with a sample file and
some lines of code which shows the problem.

If you can, a patch which fixes the problem and a unit-test are a plus
as it makes it much easier to incorporate this into POI.

Thanks... Dominik.

On Wed, Nov 19, 2014 at 9:49 PM, M. Nguyen <md...@gmail.com> wrote:
> First post to the list, let me know if I'm doing it wrong.
>
> I'm encountering the error above, and I found this:
> http://stackoverflow.com/questions/18756484/getting-illegalarguementexception-value-for-parameter-id-was-out-of-bounds
>
> I have been hunting down confirmation for the fact that OOXML accepts a
> range minimum of 0, but not sure what document to find.
>
> Regardless, the issue in the link is from 2013 and I know 3.10.1 is from
> the latter half of this year.
>
> I'm running into the same issue of converting DOC to DOCX for my own
> purposes with LibreOffice and being unable to read the result.  The linked
> issue seems to indicate that LibreOffice is following the OOXML standard
> and that POI is the one using an incorrect range during construction of the
> XWPFDocument object.
>
> I plan on rebuilding the code myself with a patch, but I was wondering why
> this issue hasn't been addressed, as (if the link is any indication) it's a
> blatant disregard for the OOXML standard.
>
> Thanks,
>
> M. Nguyen

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