Hi Thomas,

Thomas DeWeese wrote:
Hi Christian,

Christian Gawron wrote:

I occasionally got ArrayIndexOutOfBoundsExceptions in the
DOMTreeManager, and I think the reason were two loops in the
appendGroup(...) and recycleTopLevelGroup(...) methods where the size of groupManagers was erroneously assumed to be constant during the loop.


I'm not sure I can see how the size could change during the loop.

have not looked into gm.recycleCurrentGroup(), but maybe it deletes an entry in the groupManagers vector?
Replacing the fixed boundary by groupManagers.size() definitely solved my problem.


  Are you calling Graphics2D methods from multiple threads?  If so it
is certainly not currently multi-thread safe.
No, my application is single threaded.

Best wishes,
Christian


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to