|
Re: XMLResource.OPTION_CONFIGURATION_CACHE can produce ArrayIndexOutOfBoundsException [message #420369 is a reply to message #420363] |
Thu, 26 June 2008 10:56 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Winfried,
No, I haven't seen that before. If I can reproduce it in 2.4 I'll fix
it. Could you try that and provide a test case?
Winfried Stenzel wrote:
> Hi,
>
> When using the save performance option
> "XMLResource.OPTION_CONFIGURATION_CACHE", an
> ArrayIndexOutOfBoundsException can occur
> at
> org.eclipse.emf.ecore.xmi.impl.StringSegment.writeAscii(Stri ngSegment.java:331)
> at
> org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.writeAscii(XMLSav eImpl.java:966)
>
> Is this a known bug or is it already fixed?
>
> It is difficult for me to create a simple test case, but the problem seems
> to be at line 411 in StringSegment.java..This is the only place where
> outputchars is reinitialized with a length different than 8192, without
> reinitializing outputbytes.
>
> I use EMF 2.3.0.v200706262000.
>
> Best regards
> Winfried
>
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02559 seconds