[infinispan-issues] [JBoss JIRA] (ISPN-3403) NullPointerException when invoking JMX operation with debug logging enabled
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Tue Aug 13 03:21:26 EDT 2013
[ https://issues.jboss.org/browse/ISPN-3403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreño resolved ISPN-3403.
------------------------------------
Fix Version/s: 6.0.0.Alpha3
Resolution: Done
> NullPointerException when invoking JMX operation with debug logging enabled
> ---------------------------------------------------------------------------
>
> Key: ISPN-3403
> URL: https://issues.jboss.org/browse/ISPN-3403
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 6.0.0.Alpha2
> Reporter: Fabian Stäber
> Assignee: Mircea Markus
> Fix For: 6.0.0.Alpha3
>
>
> When the CLI client runs the "cache ___defaultcache" command to select a cache, the first things that happens is that the "createSessionId" call is invoked via JMX on the server.
> When the command is run for the first time, there is no previously selected cache. Therefore, the "active cache" parameter for the "createSessionId" command is null.
> On the server side, in ResourceDMBean.invoke(), there is a debug log message that would log the class of the arguments received using args[i].getClass(). As args[i] is null for the "active cache" parameter, the call fails with a NullPointerException.
> As a result, it is not possible to select a cache with the CLI client when debug logging is enabled in ResourceDMBean.
> ---
> I have created a very small pull request for this on GitHub.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list