messagealerts quickstart give exceptions in a log file

Latest response

When I am trying to execute messagealerts example from quickstarts with SOA-P 5.2, I have the following error in JBOSS log:

 

 

14:19:14,238 WARN  [EventManager] Failure to report Events to Server.
java.lang.NullPointerException
at org.rhq.core.pc.event.EventManager.sendEventReport(EventManager.java:133)
at org.rhq.core.pc.event.EventSenderRunner.call(EventSenderRunner.java:48)
at org.rhq.core.pc.event.EventSenderRunner.run(EventSenderRunner.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at 14:19:14,238 WARN  [EventManager] Failure to report Events to Server.
java.lang.NullPointerException
at org.rhq.core.pc.event.EventManager.sendEventReport(EventManager.java:133)
at org.rhq.core.pc.event.EventSenderRunner.call(EventSenderRunner.java:48)
at org.rhq.core.pc.event.EventSenderRunner.run(EventSenderRunner.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 
The message is sent to ESB but I don't see any alert in JMX console as I should per description. Anyone can shed light on this strange behaviour?
 
Thanks,
Sincerely,
Stan Zelivinski
at java.lang.Thread.run(Thread.java:662)java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

 

14:19:14,238 WARN  [EventManager] Failure to report Events to Server.
java.lang.NullPointerException
at org.rhq.core.pc.event.EventManager.sendEventReport(EventManager.java:133)
at org.rhq.core.pc.event.EventSenderRunner.call(EventSenderRunner.java:48)
at org.rhq.core.pc.event.EventSenderRunner.run(EventSenderRunner.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

 

 
 
 
14:19:14,238 WARN  [EventManager] Failure to report Events to Server.
java.lang.NullPointerException
at org.rhq.core.pc.event.EventManager.sendEventReport(EventManager.java:133)
at org.rhq.core.pc.event.EventSenderRunner.call(EventSenderRunner.java:48)
at org.rhq.core.pc.event.EventSenderRunner.run(EventSenderRunner.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Responses

Hi

 

Can you raise a Support Case for this as we'll need to see the full log files (boot.log and server.log) with the errors. They are just WARN messages but as you say you are not getting the desired output.

 

Thanks

Mustafa