[gatein-issues] [JBoss JIRA] Created: (GTNMGMT-21) NPE when executing management commands when disconnected
Tomas Kyjovsky (JIRA)
jira-events at lists.jboss.org
Mon Oct 3 09:54:28 EDT 2011
NPE when executing management commands when disconnected
--------------------------------------------------------
Key: GTNMGMT-21
URL: https://issues.jboss.org/browse/GTNMGMT-21
Project: GateIn Management
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: cli
Affects Versions: 1.0.0-Beta04
Environment: EPP-5.2.0.ER01
Reporter: Tomas Kyjovsky
Assignee: Nick Scavelli
Priority: Minor
When trying to execute export/import commands in disconnected state there is NPE:
09:37:58,309 ERROR [CRaSH] Error while evaluating request 'export mop /tmp' Unexpected exception: NullPointerException
java.lang.NullPointerException
at org.gatein.management.cli.crash.commands.ManagementCommand.getAddress(ManagementCommand.java:140)
at sun.reflect.GeneratedMethodAccessor560.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:267)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
at export.main(export:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.crsh.cmdline.matcher.MethodMatch.doInvoke(MethodMatch.java:153)
at org.crsh.cmdline.matcher.CommandMatch.invoke(CommandMatch.java:76)
at org.crsh.command.CRaSHCommand$1.invoke(CRaSHCommand.java:250)
at org.crsh.shell.impl.AST$Expr$ShellProcessImpl.execute(AST.java:113)
at org.crsh.shell.impl.AST$Expr$ShellProcessImpl.invoke(AST.java:88)
at org.crsh.shell.impl.CRaSHProcess.execute(CRaSHProcess.java:45)
at org.crsh.shell.concurrent.AsyncShell$Process.run(AsyncShell.java:158)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list