[
https://issues.jboss.org/browse/ISPN-3450?page=com.atlassian.jira.plugin....
]
Adrian Nistor edited comment on ISPN-3450 at 12/12/13 9:37 AM:
---------------------------------------------------------------
This definitelly does not work because in CacheComponent.queryBean method there is a check
that ensures the MBean name has a type=Cache attribute. This is true for all cache
components but not for the mass indexing MBean which has type=Query. For this one the
method returns null, leading to the observed NPE.
An easy fix would be to add a type parameter to the method in question.
was (Author: anistor):
This definitelly does not work because in CacheComponent.queryBean method there is a
check that ensure the MBean name has a type=Cache attribute. This is true for all cache
components but not for the mass indexing mbean which has type=Query. For this one the
method returns null, leading to the observer NPE.
An easy fix would be to add a type parameter to the method in question.
Jon plugin - failing RebuildIndex operation on [MassIndexer]
component
----------------------------------------------------------------------
Key: ISPN-3450
URL:
https://issues.jboss.org/browse/ISPN-3450
Project: Infinispan
Issue Type: Bug
Reporter: Tomas Sykora
Assignee: Adrian Nistor
RebuildIndex operation on [MassIndexer] component is failing while issuing in JON with
this error:
java.lang.NullPointerException
at org.infinispan.rhq.CacheComponent.invokeOperation(CacheComponent.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:634)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
I reused configuration from ISPN test suite + I was able to issue this operation
successfully via jconsole tool. That's why I suspect that problems are somewhere in
JON-ISPN interaction or plugin.
--
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