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

CLI test doesn't show backtrace

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • deferred
    • 1.0.0
    • CLI, Usability
    • None

      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.

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

                Created:
                Updated: