[FAST-44] ArrayIndexOutOfBoundsException when encoding a sequence that contains more fields than the template it resides in Created: 11/Apr/12  Updated: 11/Apr/12  Resolved: 11/Apr/12

Status: Resolved
Project: OpenFAST
Component/s: None
Affects Version/s: 1.0.2, 1.0.3
Fix Version/s: 1.1.0

Type: Bug Priority: Critical
Reporter: Jacob Northey Assignee: Jacob Northey
Resolution: Fixed Votes: 0
Labels: None


 Description   

java.lang.ArrayIndexOutOfBoundsException: 2
at org.openfast.BitVector.set(BitVector.java:61)
at org.openfast.BitVectorBuilder.set(BitVectorBuilder.java:31)
at org.openfast.template.operator.OperatorCodec.getValueToEncode(OperatorCodec.java:127)
at org.openfast.template.Scalar.encode(Scalar.java:146)
at org.openfast.template.Group.encode(Group.java:174)
at org.openfast.template.Sequence.encode(Sequence.java:177)
at org.openfast.template.Group.encode(Group.java:174)
at org.openfast.template.MessageTemplate.encode(MessageTemplate.java:97)
at org.openfast.codec.FastEncoder.encode(FastEncoder.java:48)
at org.openfast.MessageOutputStream.writeMessage(MessageOutputStream.java:66)
at org.openfast.MessageOutputStream.writeMessage(MessageOutputStream.java:52)


Generated at Sat Nov 23 20:32:23 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.