Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
This issue is closely related to a forum thread, located at: http://www.nabble.com/StatisticsService---NPE-tf4887610s12049.html#a13989623 .
----------------------------
We're using WSN2005 API from the inside of a SU (bean:endpoint). An external Java client is used to subscribe to WSN2005 component through http-binding and to receive future notifications. After a notification is delivered to the subscriber, the exeption provided below is printed on the ServiceMix side.
WARN - DeliveryChannelImpl - Error calling listener: null
java.lang.NullPointerException
at org.apache.servicemix.jbi.monitoring.StatisticsService.onExchangeAcce
pted(StatisticsService.java:307)
at org.apache.servicemix.jbi.monitoring.StatisticsService$3.exchangeAcce
pted(StatisticsService.java:186)
at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun
d(DeliveryChannelImpl.java:598)
at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
w.java:170)
at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j
ava:167)
at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav
a:134)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:675)
at java.lang.Thread.run(Thread.java:595)
It does not disturb the delivery but it is always printed. It just looks as if SM is trying to log something for an endpoint that isn't registered in the monitoring service.