Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5543

Bad tracef arguments are causing IllegalFormatConversionException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.Alpha2, 7.2.3.Final
    • 7.1.1.Final, 7.2.3.Final, 8.0.0.Beta2
    • Core
    • None

      There are two examples of this that I see consistently.

      2015-05-28 11:07:53,508 ERROR Unable to format msg: Retrying command because of topology change, current topology is %d: %s java.util.IllegalFormatConversionException: d != org.infinispan.commands.write.RemoveCommand
      	at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4045)
      	at java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:2748)
      	at java.util.Formatter$FormatSpecifier.print(Formatter.java:2702)
      	at java.util.Formatter.format(Formatter.java:2488)
      	at java.util.Formatter.format(Formatter.java:2423)
      	at java.lang.String.format(String.java:2797)
      	at org.apache.logging.log4j.message.StringFormattedMessage.formatMessage(StringFormattedMessage.java:88)
      	at org.apache.logging.log4j.message.StringFormattedMessage.getFormattedMessage(StringFormattedMessage.java:60)
      	at org.apache.logging.log4j.core.async.AsyncLoggerConfigHelper.callAppendersFromAnotherThread(AsyncLoggerConfigHelper.java:340)
      	at org.apache.logging.log4j.core.async.AsyncLoggerConfig.callAppenders(AsyncLoggerConfig.java:114)
      	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:409)
      	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:367)
      	at org.apache.logging.log4j.core.Logger.logMessage(Logger.java:112)
      	at infinispan.org.jboss.logging.Log4j2Logger.doLogf(Log4j2Logger.java:66)
      	at infinispan.org.jboss.logging.Logger.logf(Logger.java:2398)
      	at infinispan.org.jboss.logging.DelegatingBasicLogger.tracef(DelegatingBasicLogger.java:124)
      	at org.infinispan.statetransfer.StateTransferInterceptor.handleNonTxWriteCommand(StateTransferInterceptor.java:199)
      	at org.infinispan.statetransfer.StateTransferInterceptor.visitRemoveCommand(StateTransferInterceptor.java:123)
      
      2015-05-28 11:08:37,738 ERROR Unable to format msg: Skip load for command %s? %s java.util.MissingFormatArgumentException: Format specifier 's'
      	at java.util.Formatter.format(Formatter.java:2487)
      	at java.util.Formatter.format(Formatter.java:2423)
      	at java.lang.String.format(String.java:2797)
      	at org.apache.logging.log4j.message.StringFormattedMessage.formatMessage(StringFormattedMessage.java:88)
      	at org.apache.logging.log4j.message.StringFormattedMessage.getFormattedMessage(StringFormattedMessage.java:60)
      	at org.apache.logging.log4j.core.async.AsyncLoggerConfigHelper.callAppendersFromAnotherThread(AsyncLoggerConfigHelper.java:340)
      	at org.apache.logging.log4j.core.async.AsyncLoggerConfig.callAppenders(AsyncLoggerConfig.java:114)
      	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:409)
      	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:367)
      	at org.apache.logging.log4j.core.Logger.logMessage(Logger.java:112)
      	at infinispan.org.jboss.logging.Log4j2Logger.doLogf(Log4j2Logger.java:66)
      	at infinispan.org.jboss.logging.Logger.logf(Logger.java:2398)
      	at infinispan.org.jboss.logging.DelegatingBasicLogger.tracef(DelegatingBasicLogger.java:124)
      	at org.infinispan.interceptors.ClusteredCacheLoaderInterceptor.skipLoadForNonTxCommand(ClusteredCacheLoaderInterceptor.java:63)
      	at org.infinispan.interceptors.ClusteredCacheLoaderInterceptor.skipLoadForWriteCommand(ClusteredCacheLoaderInterceptor.java:44)
      	at org.infinispan.interceptors.CacheLoaderInterceptor.skipLoad(CacheLoaderInterceptor.java:265)
      	at org.infinispan.interceptors.CacheLoaderInterceptor.loadIfNeeded(CacheLoaderInterceptor.java:230)
      	at org.infinispan.interceptors.CacheLoaderInterceptor.visitInvalidateCommand(CacheLoaderInterceptor.java:144)
      	at org.infinispan.commands.write.InvalidateCommand.acceptVisitor(InvalidateCommand.java:113)
      

              Unassigned Unassigned
              mdobrinin Mikhail Dobrinin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: