activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
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
                 URL: https://issues.apache.org/jira/browse/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
java.lang.NullPointerException
at javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:122)
at org.apache.activemq.console.command.AbstractJmxCommand.handleOption(AbstractJmxCommand.java:350)
at org.apache.activemq.console.command.ShutdownCommand.handleOption(ShutdownCommand.java:156)
at org.apache.activemq.console.command.AbstractCommand.parseOptions(AbstractCommand.java:73)
at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:45)
at org.apache.activemq.console.command.AbstractJmxCommand.execute(AbstractJmxCommand.java:380)
at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:148)
at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:90)
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.apache.activemq.console.Main.runTaskClass(Main.java:257)
at org.apache.activemq.console.Main.main(Main.java:111)
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message