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

IllegalFormatConversionException related to BacktrackingException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • None
    • None

    Description

      When a BacktrackingException is created, the ThinException that is created results in the following exception:

      org.apache.daffodil.exceptions.Abort: Invariant broken. Runtime.scala - Leaked exception: java.util.IllegalFormatConversionException: d != scala.collection.mutable.WrappedArray$ofRef
      java.util.IllegalFormatConversionException: d != scala.collection.mutable.WrappedArray$ofRef
      	at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4302)
      	at java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:2793)
      	at java.util.Formatter$FormatSpecifier.print(Formatter.java:2747)
      	at java.util.Formatter.format(Formatter.java:2520)
      	at java.util.Formatter.format(Formatter.java:2455)
      	at java.lang.String.format(String.java:2940)
      	at scala.collection.immutable.StringLike.format(StringLike.scala:354)
      	at scala.collection.immutable.StringLike.format$(StringLike.scala:353)
      	at scala.collection.immutable.StringOps.format(StringOps.scala:33)
      	at org.apache.daffodil.exceptions.ThinException.msg_$lzycompute(Assert.scala:36)
      	at org.apache.daffodil.exceptions.ThinException.msg_(Assert.scala:35)
      	at org.apache.daffodil.exceptions.ThinException.getMessage(Assert.scala:40)
      

      Attachments

        Activity

          People

            slawrence Steve Lawrence
            slawrence Steve Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: