Bug 1384669

Summary: HawkularTopicListener NullPointerException
Product: [JBoss] Middleware Manager Reporter: Matt Mahoney <mmahoney>
Component: OtherAssignee: Jay Shaughnessy <jshaughn>
Status: VERIFIED --- QA Contact: Matt Mahoney <mmahoney>
Severity: unspecified Docs Contact:
Priority: high    
Version: 7.0.0 TP2CC: jhardy
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
hawkular-Services Log none

Description Matt Mahoney 2016-10-13 19:34:36 UTC
Created attachment 1210244 [details]
hawkular-Services Log

Description of problem:


^[[0m^[[31m14:44:32,715 ERROR [org.jboss.as.ejb3.invocation] (Thread-10 (ActiveMQ-client-global-threads-515103874)) WFLYEJB0034: EJB Invocation failed on component HawkularTopicListener for method public void org.hawkular.bus.common.consumer.BasicMessageListener.onMessage(javax.jms.Message): javax.ejb.EJBException: java.lang.NullPointerException
        at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInNoTx(CMTTxInterceptor.java:213)
        at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:265)
        at org.jboss.as.ejb3.tx.CMTTxInterceptor.notSupported(CMTTxInterceptor.java:313)
        at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:237)
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
        at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)


Version-Release number of selected component (if applicable):
DR5 image: brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/hawkular/hawkular-services:0.0.15.Final-redhat-1-1

How reproducible:


Steps to Reproduce:
1. Start Cassandra Container
2. Start Hawkular-Services container
3. From CFME, add HS provider

Actual results:
HS container log ERROR:

ERROR [org.jboss.as.ejb3.invocation] (Thread-10 (ActiveMQ-client-global-threads-515103874)) WFLYEJB0034: EJB Invocation failed on component HawkularTopicListener for method public void org.hawkular.bus.common.consumer.BasicMessageListener.onMessage(javax.jms.Message): javax.ejb.EJBException: java.lang.NullPointerException

Expected results:
No container ERRORS expected

Additional info:

Comment 2 John Mazzitelli 2016-10-14 13:34:30 UTC
Reassigning to Jay since he knows what/where is sending messages to the bus (I do not know) - specifically to the topic HawkularTopicListener. Jay - thoughts on what this is? It doesn't say what message, the error provided is just mentioning the messaging infrastructure and the topic name.

Comment 3 Jay Shaughnessy 2016-10-20 18:50:33 UTC
The root cause seems to be https://issues.jboss.org/browse/HAWKULAR-1127, which has been resolved.  The fix is due in the next release of Hawkular Services.

This should go away when running CF/MIG against HServices 0.17 or later.