Uploaded image for project: 'OpenFAST'
  1. OpenFAST
  2. FAST-44

ArrayIndexOutOfBoundsException when encoding a sequence that contains more fields than the template it resides in

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.2, 1.0.3
    • Fix Version/s: 1.1.0
    • Component/s: None
    • 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)

        Attachments

          Activity

            People

            • Assignee:
              jacob_northey Jacob Northey
              Reporter:
              jacob_northey Jacob Northey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: