]
Ingo Weiss reassigned WFCORE-1731:
----------------------------------
Assignee: Ingo Weiss (was: Alexey Loubyansky)
Exception generated from command "connection-info" with
embedded server
-----------------------------------------------------------------------
Key: WFCORE-1731
URL:
https://issues.jboss.org/browse/WFCORE-1731
Project: WildFly Core
Issue Type: Bug
Components: CLI, Domain Management, Security
Affects Versions: 3.0.0.Alpha5
Environment: JBoss Admin Command-line Interface
JBOSS_HOME: C:\dev\jboss-eap-7.0.1
JBoss AS release: 2.1.6.Final-redhat-1 "Kenny"
JBoss AS product: JBoss EAP 7.0.1.GA
JAVA_HOME: c:\java\jdk1.8.0_45
java.version: 1.8.0_45
java.vm.vendor: Oracle Corporation
java.vm.version: 25.45-b02
os.name: Windows 7
os.version: 6.1
Reporter: Petr Kremensky
Assignee: Ingo Weiss
Priority: Minor
I started the embedded server and tried to obtain the connection information. An
exception occurred:
{code}
[standalone@embedded /] connection-info
13:14:59,095 ERROR [org.jboss.as.controller.management-operation] (AeshProcess: 32)
WFLYCTL0013: Operation ("whoami") failed - address: ([]):
java.lang.IllegalArgumentException: newValue is null
at org.jboss.dmr.ModelNode.set(ModelNode.java:499)
at
org.jboss.as.domain.management.security.WhoAmIOperation.execute(WhoAmIOperation.java:95)
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:1344)
at
org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:392)
at
org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:204)
at
org.jboss.as.controller.ModelControllerImpl$3.execute(ModelControllerImpl.java:659)
at
org.jboss.as.controller.ModelControllerImpl$3.execute(ModelControllerImpl.java:649)
at
org.jboss.as.controller.client.helpers.DelegatingModelControllerClient.execute(DelegatingModelControllerClient.java:63)
at
org.jboss.as.cli.embedded.ThreadContextsModelControllerClient.execute(ThreadContextsModelControllerClient.java:59)
at
org.jboss.as.cli.handlers.ConnectionInfoHandler.doHandle(ConnectionInfoHandler.java:74)
at
org.jboss.as.cli.handlers.CommandHandlerWithHelp.handle(CommandHandlerWithHelp.java:88)
at org.jboss.as.cli.impl.CommandContextImpl.handle(CommandContextImpl.java:776)
at
org.jboss.as.cli.impl.CommandContextImpl.handleSafe(CommandContextImpl.java:799)
at
org.jboss.as.cli.impl.CommandContextImpl$2.execute(CommandContextImpl.java:412)
at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:53)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
WFLYCTL0158: Operation handler failed: java.lang.IllegalArgumentException: newValue is
null
Failed to handle 'connection-info': java.lang.NullPointerException
{code}