|ArrayIndexOutOfBoundsException during XMI serialization with ASCII encoding [message #1014305]
||Mon, 25 February 2013 15:03
| Silvestre Martins
Registered: July 2009
I have a test using a ChangeRecorder with setRecordingTransientFeatures(false).
If I try to serialize the ChangeDescriptor, using ASCII encoding, I get this error:
I'm using the ecore.xmi version 2.8.
I don't think the error is related to the usage of ChangeRecorder at all.
The reason is that in class StringSegment, the BUFFER is set to 8192 bytes. In my scenario I have an array with more than 12000 bytes.
I'm not sure if this is an error that might not have been noticed so far (because it only occurs if the buffer is reached), or if this BUFFER was defined as a limit, and thus this is the intended behavior (I don't think so...).
Can anyone comment please? Should I create a bugzilla for this?
(Unfortunately I can't provide a test case for this, but I assume that it can easily be reproduced by setting a low buffer).
[Updated on: Mon, 25 February 2013 15:06]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.15080 seconds