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

MissingFormatArgumentException: Format specifier 's'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7.0
    • Back End, General
    • None

    Description

      When creating tests for the namespace-uri() function, I somehow managed to trigger an error condition that caused this exception:

      [error] Test edu.illinois.ncsa.daffodil.section23.dfdl_expressions.TestDFDLExpressions.test_namespace_uri_01 failed: edu.illinois.ncsa.daffodil.exceptions.Abort: why are you comparing two things that aren't the same type even?
      [error] edu.illinois.ncsa.daffodil.exceptions.Assert$.abort(Assert.scala:95)

      I had this test working at one point so I'm not sure how I got to this state. I was amused by the exception but figured we should either revisit the wording or figure out how it was triggered and make sure that can't happen anymore.

      See test namespace_uri_01 in the following files:
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/Functions.tdml
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/first_schema.dfdl.xsd
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/home_schema.dfdl.xsd
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section23/dfdl_functions/second_schema.dfdl.xsd
      daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressionsDebug.scala
      daffodil-test/src/test/scala/edu/illinois/ncsa/daffodil/section23/dfdl_expressions/TestDFDLExpressions.scala

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: