Hi,

Yes, it is quite strange, I can currently reproduce it locally in the
regression-test-project without any OOM, but not if I do the same thing in
POI itself, seem to be somehow related to the full/partial -schema jars, I
am testing some more to see why it happened here...

If I try to access the array-object one-by-one, I get a better error
message:

Exception in thread "main" java.lang.ClassCastException:
org.apache.xmlbeans.impl.values.XmlComplexContentImpl cannot be cast to
org.openxmlformats.schemas.drawingml.x2006.main.CTGeomGuide

Maybe some piece is missing in the reduced schema-jar because of a missing
unit-test?

Dominik.

On Fri, Apr 1, 2016 at 11:43 PM, Andreas Beeker <kiwiwi...@apache.org>
wrote:

> Hi Dominik,
>
> thanks again for running the regression tests.
> @issue 1: I've tried to limit the classes to the lite-schemas, but the
> error doesn't show up.
> My guess is, the toArray fails when the children aren't returned as gd
> elements but as xmlanytype [1].
> Another wild guess is, I think something like this happens, when the
> xmlbeans schema type classloader
> is affected by out-of-memory / garbage collector.
>
> is this error happening before any of the out-of-memory errors?
>
> Btw. I'll wait with releasing until #58787 is fixed or I get a green light
> from Javen.
>
> Andi.
>
> [1]
> http://xmlbeans.996285.n3.nabble.com/ArrayStoreException-in-get-Array-method-in-custom-Ant-task-td1378.html#a1381
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
> For additional commands, e-mail: dev-h...@poi.apache.org
>
>

Reply via email to