[ https://issues.apache.org/jira/browse/ARTEMIS-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17065057#comment-17065057 ]
ASF subversion and git services commented on ARTEMIS-2668: ---------------------------------------------------------- Commit f0b6e519593cae6cd9d73cb275ff99199dce9ffa in activemq-artemis's branch refs/heads/master from Benjamin Graf [ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=f0b6e51 ] ARTEMIS-2668: Fix several format String definitions > 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 > Time Spent: 10m > 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)