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

Wrong format arguments in trace log message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.2.1.Final, 5.3.0.Final
    • 5.2.0.Final
    • None
    • None

      https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/topology/ClusterCacheStatus.java#L106

      node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) java.util.logging.ErrorManager: 5: Formatting error
      node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) java.util.MissingFormatArgumentException: Format specifier 's'
      node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) 	at java.util.Formatter.format(Formatter.java:2432)
      node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) 	at java.util.Formatter.format(Formatter.java:2367)
      node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) 	at java.lang.String.format(String.java:2769)
      node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) 	at org.jboss.logmanager.ExtLogRecord.formatRecord(ExtLogRecord.java:434)
      node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) 	at org.jboss.logmanager.ExtLogRecord.getFormattedMessage(ExtLogRecord.java:397)
      node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) 	at org.jboss.logmanager.formatters.Formatters$10.renderRaw(Formatters.java:358)
      node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) 	at org.jboss.logmanager.formatters.Formatters$JustifyingFormatStep.render(Formatters.java:150)
      node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) 	at org.jboss.logmanager.formatters.MultistepFormatter.format(MultistepFormatter.java:86)
      node05: 11:57:22,950 ERROR [stderr] (notification-thread-0) 	at org.jboss.logmanager.ExtFormatter.format(ExtFormatter.java:35)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at org.jboss.logmanager.handlers.WriterHandler.doPublish(WriterHandler.java:49)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at org.jboss.logmanager.ExtHandler.publish(ExtHandler.java:76)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:290)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at org.jboss.logmanager.Logger.logRaw(Logger.java:721)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at org.jboss.logmanager.Logger.log(Logger.java:672)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at org.jboss.logging.JBossLogManagerLogger.doLogf(JBossLogManagerLogger.java:50)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at org.jboss.logging.Logger.logf(Logger.java:2126)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at org.jboss.logging.DelegatingBasicLogger.tracef(DelegatingBasicLogger.java:134)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at org.infinispan.topology.ClusterCacheStatus.addMember(ClusterCacheStatus.java:106)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at org.infinispan.topology.ClusterTopologyManagerImpl.recoverClusterStatus(ClusterTopologyManagerImpl.java:460)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at org.infinispan.topology.ClusterTopologyManagerImpl.handleNewView(ClusterTopologyManagerImpl.java:231)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at org.infinispan.topology.ClusterTopologyManagerImpl$ClusterViewListener.handleViewChange(ClusterTopologyManagerImpl.java:597)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      node05: 11:57:22,951 ERROR [stderr] (notification-thread-0) 	at java.lang.reflect.Method.invoke(Method.java:597)
      node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) 	at org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation$1.run(AbstractListenerImpl.java:212)
      node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      node05: 11:57:22,952 ERROR [stderr] (notification-thread-0) 	at java.lang.Thread.run(Thread.java:662)
      

              anistor Adrian Nistor (Inactive)
              mlinhard Michal Linhard (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: