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

CLI test doesn't show backtrace

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: deferred
    • Component/s: CLI, Usability
    • Labels:
      None

      Description

      The CLI used to show a backtrace when running tests with the -ii flag.

      $ daffodil_cli test -ii daffodil-cli/src/test/resources/edu/illinois/ncsa/daffodil/CLI/infoTest.tdml testFail2
      [Fail] testFail2
        Failure Information:
          Parse Error: Convert to Integer (for xs:int): Unable to parse 'te' (using up all characters).
          Schema context: One(element.e1) List(element.e1)
          Data location was preceding byte 2
          UTF-8 text starting at byte 0 is: (te)
          Data (hex) starting at byte 0 is: (0x7465)
        Logs:
          None
        Backtrace:
          edu.illinois.ncsa.daffodil.processors.Parser.PE(Parser.scala:76)
          edu.illinois.ncsa.daffodil.processors.ConvertTextNumberParser$$anonfun$parse$1.apply(PrimitivesTextNumber.scala:89)
          edu.illinois.ncsa.daffodil.processors.ConvertTextNumberParser$$anonfun$parse$1.apply(PrimitivesTextNumber.scala:61)...

      In 1.0.0 the backtrace does not show.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              efinnegan Elizabeth Finnegan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Tasks

                  Progress: 
                   0/0