You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by "anmol-saxena-14 (via GitHub)" <gi...@apache.org> on 2026/04/26 00:35:16 UTC
[PR] fix(console): fix NPE in AbstractJmxCommand.execute and AbstractCommand.handleException [activemq]
anmol-saxena-14 opened a new pull request, #1967:
URL: https://github.com/apache/activemq/pull/1967
`AbstractJmxCommand.execute` called `jmxServiceUrl.toString()` without a null check. `jmxServiceUrl` is never set in local JMX mode (--jmxlocal), so any exception thrown in that mode produced a **NullPointerException** instead of the real error.
`AbstractCommand.handleException` started cause-chain traversal from `exception.getCause()`, which is null for exceptions thrown without a wrapped cause (e.g. IllegalArgumentException). This caused a **NullPointerException** that masked the original exception and swallowed the error message entirely.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For additional commands, e-mail: gitbox-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact
Re: [PR] fix(console): fix NPE in AbstractJmxCommand.execute and AbstractCommand.handleException [activemq]
Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre merged PR #1967:
URL: https://github.com/apache/activemq/pull/1967
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For additional commands, e-mail: gitbox-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact
Re: [PR] fix(console): fix NPE in AbstractJmxCommand.execute and AbstractCommand.handleException [activemq]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #1967:
URL: https://github.com/apache/activemq/pull/1967#issuecomment-4880294308
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For additional commands, e-mail: gitbox-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact
Re: [PR] fix(console): fix NPE in AbstractJmxCommand.execute and AbstractCommand.handleException [activemq]
Posted by "anmol-saxena-14 (via GitHub)" <gi...@apache.org>.
anmol-saxena-14 commented on PR #1967:
URL: https://github.com/apache/activemq/pull/1967#issuecomment-4890307885
This PR is not stale, it is still under review by reviewer.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For additional commands, e-mail: gitbox-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact