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

CLI test doesn't show backtrace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.0.0
    • None
    • CLI, Usability
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            efahl Elizabeth Fahl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: