Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1456

Statistics Service throws NPE on startup.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.3.1, 3.4.0
    • servicemix-components
    • None
    • Windows XP

    Description

      I received this exception on startup, upon some discussion on the list, it appears that maybe a service sent a message to the Statistics Service before it was ready and generated an NPE. Something should be done to prevent this from happening.

      WARN - DeliveryChannelImpl - Error calling listener: null
      java.lang.NullPointerException
      at org.apache.servicemix.jbi.monitoring.StatisticsService.onExchangeAccepted(StatisticsService.java:307)
      at org.apache.servicemix.jbi.monitoring.StatisticsService$3.exchangeAccepted(StatisticsService.java:186)
      at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:598)
      at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
      at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

      Attachments

        Issue Links

          Activity

            People

              gertvanthienen Gert Vanthienen
              rmoquin Ryan Moquin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: