Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-1418

CLI Operation handler failed: java.lang.IllegalArgumentException: newValue is null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • JDG 7.2 ER2
    • JDG 7.2 ER1
    • CLI
    • None
    • Hide
      • run JDG server /bin/standalone.sh
      • connect by cli.sh
      • container local
        then tried to run commands 'encoding --list' or 'cache' from cli
      Show
      run JDG server /bin/standalone.sh connect by cli.sh container local then tried to run commands 'encoding --list' or 'cache' from cli

      After some commands at CLI is displayed error:
      Operation handler failed: java.lang.IllegalArgumentException: newValue is null

      Stack trace from JDG sever

      13:00:53,111 ERROR [stderr] (management-handler-thread - 5) java.security.PrivilegedActionException: org.infinispan.commons.CacheConfigurationException: ISPN000433: A default cache has been requested, but no cache has been set as default for this container
      13:00:53,112 ERROR [stderr] (management-handler-thread - 5) 	at org.infinispan.security.Security.doPrivileged(Security.java:91)
      13:00:53,112 ERROR [stderr] (management-handler-thread - 5) 	at org.infinispan.server.infinispan.SecurityActions.doPrivileged(SecurityActions.java:77)
      13:00:53,112 ERROR [stderr] (management-handler-thread - 5) 	at org.infinispan.server.infinispan.SecurityActions.executeInterpreter(SecurityActions.java:295)
      13:00:53,113 ERROR [stderr] (management-handler-thread - 5) 	at org.jboss.as.clustering.infinispan.subsystem.CliInterpreterHandler.execute(CliInterpreterHandler.java:72)
      13:00:53,113 ERROR [stderr] (management-handler-thread - 5) 	at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890)
      13:00:53,113 ERROR [stderr] (management-handler-thread - 5) 	at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659)
      13:00:53,113 ERROR [stderr] (management-handler-thread - 5) 	at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)
      13:00:53,114 ERROR [stderr] (management-handler-thread - 5) 	at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1349)
      13:00:53,114 ERROR [stderr] (management-handler-thread - 5) 	at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:395)
      13:00:53,114 ERROR [stderr] (management-handler-thread - 5) 	at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:220)
      13:00:53,115 ERROR [stderr] (management-handler-thread - 5) 	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:208)
      13:00:53,115 ERROR [stderr] (management-handler-thread - 5) 	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$300(ModelControllerClientOperationHandler.java:130)
      13:00:53,115 ERROR [stderr] (management-handler-thread - 5) 	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:152)
      13:00:53,115 ERROR [stderr] (management-handler-thread - 5) 	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:148)
      13:00:53,116 ERROR [stderr] (management-handler-thread - 5) 	at java.security.AccessController.doPrivileged(Native Method)
      13:00:53,116 ERROR [stderr] (management-handler-thread - 5) 	at javax.security.auth.Subject.doAs(Subject.java:422)
      13:00:53,116 ERROR [stderr] (management-handler-thread - 5) 	at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:92)
      13:00:53,116 ERROR [stderr] (management-handler-thread - 5) 	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:148)
      13:00:53,117 ERROR [stderr] (management-handler-thread - 5) 	at org.jboss.as.protocol.mgmt.AbstractMessageHandler$ManagementRequestContextImpl$1.doExecute(AbstractMessageHandler.java:363)
      13:00:53,117 ERROR [stderr] (management-handler-thread - 5) 	at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:472)
      13:00:53,117 ERROR [stderr] (management-handler-thread - 5) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      13:00:53,118 ERROR [stderr] (management-handler-thread - 5) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      13:00:53,118 ERROR [stderr] (management-handler-thread - 5) 	at java.lang.Thread.run(Thread.java:748)
      13:00:53,118 ERROR [stderr] (management-handler-thread - 5) 	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      13:00:53,118 ERROR [stderr] (management-handler-thread - 5) Caused by: org.infinispan.commons.CacheConfigurationException: ISPN000433: A default cache has been requested, but no cache has been set as default for this container
      13:00:53,119 ERROR [stderr] (management-handler-thread - 5) 	at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:418)
      13:00:53,119 ERROR [stderr] (management-handler-thread - 5) 	at org.infinispan.cli.interpreter.session.SessionImpl.reset(SessionImpl.java:125)
      13:00:53,119 ERROR [stderr] (management-handler-thread - 5) 	at org.infinispan.cli.interpreter.Interpreter.execute(Interpreter.java:160)
      13:00:53,119 ERROR [stderr] (management-handler-thread - 5) 	at org.infinispan.server.infinispan.SecurityActions$8.run(SecurityActions.java:292)
      13:00:53,119 ERROR [stderr] (management-handler-thread - 5) 	at org.infinispan.server.infinispan.SecurityActions$8.run(SecurityActions.java:289)
      13:00:53,120 ERROR [stderr] (management-handler-thread - 5) 	at org.infinispan.security.Security.doPrivileged(Security.java:89)
      13:00:53,120 ERROR [stderr] (management-handler-thread - 5) 	... 23 more
      13:00:53,120 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 5) WFLYCTL0013: Operation ("cli-interpreter") failed - address: ([
          ("subsystem" => "datagrid-infinispan"),
          ("cache-container" => "local")
      ]): java.lang.IllegalArgumentException: newValue is null
      	at org.jboss.dmr.ModelNode.set(ModelNode.java:499)
      	at org.jboss.as.clustering.infinispan.subsystem.CliInterpreterHandler.execute(CliInterpreterHandler.java:78)
      	at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890)
      	at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659)
      	at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)
      	at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1349)
      	at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:395)
      	at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:220)
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:208)
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$300(ModelControllerClientOperationHandler.java:130)
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:152)
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:148)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:422)
      	at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:92)
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:148)
      	at org.jboss.as.protocol.mgmt.AbstractMessageHandler$ManagementRequestContextImpl$1.doExecute(AbstractMessageHandler.java:363)
      	at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:472)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      

              ttarrant@redhat.com Tristan Tarrant
              gbabcan Gabriel Babčan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: