[
https://issues.apache.org/jira/browse/ARTEMIS-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram resolved ARTEMIS-2668.
-------------------------------------
Fix Version/s: 2.12.0
Resolution: Fixed
> Wrong formatting Strings in class LoggingResultSet
> --------------------------------------------------
>
> Key: ARTEMIS-2668
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2668
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.11.0
> Reporter: Benjamin Graf
> Priority: Minor
> Fix For: 2.12.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Several methods of {{LoggingResultSet}} have wrong amount of parameters in
> formatting {{String}} causing exception if TRACE logging.
> e.g.
> {noformat}
> AMQ222010: Critical IO Error, shutting down the server.
> file=org.apache.activemq.artemis.jdbc.store.file.JDBCSequentialFile@27cbabd3,
> message=Error writing to JDBC file.
> java.util.MissingFormatArgumentException: Format specifier '%s'
> at java.util.Formatter.format(Formatter.java:2672) ~[?:?]
> at java.util.Formatter.format(Formatter.java:2609) ~[?:?]
> at java.lang.String.format(String.java:2897) ~[?:?]
> at
> org.ops4j.pax.logging.jbosslogging.JBossLoggingLogger.doLogf(JBossLoggingLogger.java:87)
> ~[!/:?]
> at org.jboss.logging.Logger.logf(Logger.java:2326) ~[!/:?]
> at
> org.apache.activemq.artemis.jdbc.store.logging.LoggingResultSet.updateBlob(LoggingResultSet.java:950)
> ~[!/:?]
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)