Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1546

Roundtrip: Invariant broken expecting Start(DIArray)

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.0.0
    • None
    • Unparsing
    • None

      In some tests, we have arrays that appear inside a hidden group. When the array combinator unparser runs, we get an invariant error:

      Invariant broken: event.isStart.&&(event.node.isInstanceOf[edu.illinois.ncsa.daffodil.processors.DIArray])

      However, because the array is in a hidden group, we are not going to get a DIArray event, so this fails. Need to determine what the correct behavior is.

      Tests that exhibit this behavior can be found in:

      • edu.illinois.ncsa.daffodil.TresysTests3
      • edu.illinois.ncsa.daffodil.usertests.TestBacktracking

              dthompson David Thompson
              slawrence Steve Lawrence
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: