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

CLI stats command is broken for container

XMLWordPrintable

      Exception need to be solved with Intepreter error
      ------------------Client---------------------------
      [remoting://localhost:9999/local/]> stats --container
      d != java.lang.String
      -----------------Server----------------------------
      14:33:48,277 ERROR [org.infinispan.cli.interpreter.Interpreter] (pool-1-thread-1) ISPN019003: Interpreter error: java.util.IllegalFormatConversionException: d != java.lang.String
      at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4045) [rt.jar:1.7.0_11]
      at java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:2748) [rt.jar:1.7.0_11]
      at java.util.Formatter$FormatSpecifier.print(Formatter.java:2702) [rt.jar:1.7.0_11]
      at java.util.Formatter.format(Formatter.java:2488) [rt.jar:1.7.0_11]
      at java.io.PrintWriter.format(PrintWriter.java:905) [rt.jar:1.7.0_11]
      at java.io.PrintWriter.printf(PrintWriter.java:804) [rt.jar:1.7.0_11]
      at org.infinispan.cli.interpreter.statement.StatsStatement.printContainerStats(StatsStatement.java:91) [infinispan-cli-server-5.2.3.Final-redhat-1.jar:5.2.3.Final-redhat-1]
      at org.infinispan.cli.interpreter.statement.StatsStatement.execute(StatsStatement.java:70) [infinispan-cli-server-5.2.3.Final-redhat-1.jar:5.2.3.Final-redhat-1]
      at org.infinispan.cli.interpreter.Interpreter.execute(Interpreter.java:161) [infinispan-cli-server-5.2.3.Final-redhat-1.jar:5.2.3.Final-redhat-1]
      at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.7.0_11]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_11]
      at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_11]
      at org.infinispan.jmx.ResourceDMBean.invoke(ResourceDMBean.java:287) [infinispan-core-5.2.3.Final-redhat-1.jar:5.2.3.Final-redhat-1]
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) [rt.jar:1.7.0_11]
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791) [rt.jar:1.7.0_11]
      at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.invoke(PluggableMBeanServerImpl.java:498) [jboss-as-jmx-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
      at org.jboss.as.jmx.PluggableMBeanServerImpl.invoke(PluggableMBeanServerImpl.java:246) [jboss-as-jmx-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
      at org.jboss.remotingjmx.protocol.v1.ServerProxy$InvokeHandler.handle(ServerProxy.java:1034)
      at org.jboss.remotingjmx.protocol.v1.ServerProxy$MessageReciever$1.run(ServerProxy.java:215)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_11]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_11]
      at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]

            ttarrant@redhat.com Tristan Tarrant
            NadirX NadirX
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: