My Oracle Support Banner

Marshall to bytes method fails with Array Out Index Out Of Bounds (Doc ID 1903807.1)

Last updated on FEBRUARY 18, 2020

Applies to:

Oracle Java CAPS - Version 5.1.3 and later
Information in this document applies to any platform.


We use a generic OTD to process a HL7 message, looping through each segment, find segment not required, then using HL7_GENERIC_EVT.removeSEG( varSegmentCounter ); to remove the non-required segment.
Unfortunately the marshall to bytes method then fails with an array out of bounds.

Is there a reset to run after the remove.SEG method to reset the pointer/array?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.