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

hexBinary test causes OOLAG and Abort

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: s10
    • Fix Version/s: s10
    • Component/s: None
    • Labels:
      None

      Description

      I didn't put this under the alignment ticket (DFDL-362) or the hexBinary ticket (DFDL-98) because I'm not entirely sure what's causing the issue. The test is impAlignmentHexBinary, and this is the error:

      [info] - test_impAlignmentHexBinary *** FAILED ***
      [info] edu.illinois.ncsa.daffodil.exceptions.Abort: scala.MatchError: HexBinary (of class scala.Enumeration$Val)
      [info] at edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$OOLAGValue.edu$illinois$ncsa$daffodil$dsom$oolag$OOLAG$OOLAGValue$$oolagTryCatch(OOLAG.scala:514)
      [info] at edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$OOLAGValue$$anonfun$6.apply(OOLAG.scala:595)
      [info] at edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$OOLAGHost.circularityDetector(OOLAG.scala:236)
      [info] at edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$OOLAGValue.valueAsAny(OOLAG.scala:581)
      [info] at edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$LV.value(OOLAG.scala:677)
      [info] at edu.illinois.ncsa.daffodil.grammar.Prod.gram(Grammar.scala:292)
      [info] at edu.illinois.ncsa.daffodil.grammar.Prod.deref(Grammar.scala:277)
      [info] at edu.illinois.ncsa.daffodil.grammar.Gram.$tilde(Grammar.scala:66)
      [info] at edu.illinois.ncsa.daffodil.dsom.ElementBaseGrammarMixin$$anonfun$elementLeftFraming$1.apply(GrammarMixins.scala:779)
      [info] at edu.illinois.ncsa.daffodil.dsom.ElementBaseGrammarMixin$$anonfun$elementLeftFraming$1.apply(GrammarMixins.scala:779)
      [info] ...

      The test is in the following files:
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section12/aligned_data/Aligned_Data.tdml
      daffodil-test/src/test/scala/edu/illinois/ncsa/daffodil/section12/aligned_data/TestAlignedData.scala
      daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section12/aligned_data/TestAlignedDataDebug.scala

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              jchab Jessie Chab
              Reporter:
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks