activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <>
Subject [jira] [Created] (AMQ-3858) Failure to resolve local jmx url for sunJvm can result in npe
Date Wed, 23 May 2012 15:54:40 GMT
Gary Tully created AMQ-3858:

             Summary: Failure to resolve local jmx url for sunJvm can result in npe
                 Key: AMQ-3858
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.6.0
            Reporter: Gary Tully
             Fix For: 5.7.0

calls to ./bin/activemq restart can result in this NPE which is ugly. It should fallback to
the default jmxurl in this case.
{code}Connecting to pid: 47706
ERROR: java.lang.NullPointerException
at org.apache.activemq.console.command.AbstractJmxCommand.handleOption(
at org.apache.activemq.console.command.ShutdownCommand.handleOption(
at org.apache.activemq.console.command.AbstractCommand.parseOptions(
at org.apache.activemq.console.command.AbstractCommand.execute(
at org.apache.activemq.console.command.AbstractJmxCommand.execute(
at org.apache.activemq.console.command.ShellCommand.runTask(
at org.apache.activemq.console.command.AbstractCommand.execute(
at org.apache.activemq.console.command.ShellCommand.main(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.apache.activemq.console.Main.runTaskClass(
at org.apache.activemq.console.Main.main(

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message