You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2020/09/11 16:30:00 UTC

[jira] [Created] (DAFFODIL-2394) IllegalFormatConversionException related to BacktrackingException

Steve Lawrence created DAFFODIL-2394:
----------------------------------------

             Summary: IllegalFormatConversionException related to BacktrackingException
                 Key: DAFFODIL-2394
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2394
             Project: Daffodil
          Issue Type: Improvement
            Reporter: Steve Lawrence
             Fix For: 3.0.0


When a BacktrackingException is created, the ThinException that is created results in the following exception:
```scala
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)
```



--
This message was sent by Atlassian Jira
(v8.3.4#803005)