[ 
https://issues.apache.org/jira/browse/ARTEMIS-2668?focusedWorklogId=406402&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-406402
 ]

ASF GitHub Bot logged work on ARTEMIS-2668:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Mar/20 17:05
            Start Date: 19/Mar/20 17:05
    Worklog Time Spent: 10m 
      Work Description: graben commented on pull request #3035: ARTEMIS-2668: 
Fix several format String definitions
URL: https://github.com/apache/activemq-artemis/pull/3035
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 406402)
    Remaining Estimate: 0h
            Time Spent: 10m

> Wrong formatting Strings in class LoggingResultSet
> --------------------------------------------------
>
>                 Key: ARTEMIS-2668
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2668
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    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)

Reply via email to