Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-1287

Vague "assertion failed" error when expression with whitespace used as separator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 2.3.0
    • Diagnostics
    • None

    Description

      While verifying DFDL-749, I wrote a few tests that used an expression with whitespace to specify the delimiter(s). These tests fail with the following error:

      [info] Test edu.illinois.ncsa.daffodil.section23.dfdl_expressions.TestDFDLExpressions.test_internal_space_not_preserved2 started
      2015-03-31 06:09:43:728  edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$LV Error[element.expr_space5::LocalComplexTypeDef::sequence@@Prod(Prod)@@parser has no value due to java.lang.AssertionError: assertion failed.]
      2015-03-31 06:09:43:729  edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$LV Error[element.expr_space5@@Prod(Prod)@@parser has no value due to java.lang.AssertionError: assertion failed.]
      2015-03-31 06:09:43:729  edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$LV Error[element.expr_space5@@Prod(Prod)@@parser has no value due to java.lang.AssertionError: assertion failed.]
      2015-03-31 06:09:43:729  edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$LV Error[element.expr_space5@@Prod(Prod)@@parser has no value due to java.lang.AssertionError: assertion failed.]
      2015-03-31 06:09:43:729  edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$LV Error[element.expr_space5@@Prod(Prod)@@parser has no value due to java.lang.AssertionError: assertion failed.]
      2015-03-31 06:09:43:729  edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$LV Error[element.expr_space5@@Prod(Prod)@@parser has no value due to java.lang.AssertionError: assertion failed.]
      2015-03-31 06:09:43:730  edu.illinois.ncsa.daffodil.dsom.oolag.OOLAG$LV Error[SchemaSet@@requiredValue has no value due to java.lang.AssertionError: assertion failed.]
      [error] Test edu.illinois.ncsa.daffodil.section23.dfdl_expressions.TestDFDLExpressions.test_internal_space_not_preserved2 failed: assertion failed
      

      Please see tests:
      test_internal_space_preserved4
      test_internal_space_not_preserved2

      in the following files:
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/expressions.tdml
      daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressionsDebug.scala

      Attachments

        Activity

          People

            dfthompson Dave Thompson
            daffodil-jchab Jessie Chab
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: