Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-995

Clustering : StatisticsManager throws NPE when running single node integration tests

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • mdsal
    • None
    • Operating System: All
      Platform: All

    • 2317

    Description

      2014-10-31 11:29:44,687 | ERROR | -notification-21 | NotifyTask | 140 - org.opendaylight.controller.sal-binding-broker-impl - 1.2.0.SNAPSHOT | Unhandled exception thrown by listener: org.opendaylight.controller.md.statistics.manager.impl.StatListenCommitFlow$$Broker$ListenerInvoker@5d22f281
      java.lang.NullPointerException
      at org.opendaylight.controller.md.statistics.manager.impl.StatAbstractNotifyCommit.isExpectedStatistics(StatAbstractNotifyCommit.java:125)[151:org.opendaylight.controller.md.statistics-manager:1.2.0.SNAPSHOT]
      at
      This exception happens many many times during the test and may be the root cause for why some data appears to be missing in the datastore.

      org.opendaylight.controller.md.statistics.manager.impl.StatListenCommitFlow.onFlowsStatisticsUpdate(StatListenCommitFlow.java:172)[151:org.opendaylight.controller.md.statistics-manager:1.2.0.SNAPSHOT]
      at org.opendaylight.controller.md.statistics.manager.impl.StatListenCommitFlow$$Broker$ListenerInvoker.onNotification(StatListenCommitFlow$$Broker$ListenerInvoker.java)[151:org.opendaylight.controller.md.statistics-manager:1.2.0.SNAPSHOT]
      at org.opendaylight.controller.sal.binding.impl.AbstractNotificationListenerRegistration.notify(AbstractNotificationListenerRegistration.java:38)[140:org.opendaylight.controller.sal-binding-broker-impl:1.2.0.SNAPSHOT]
      at org.opendaylight.controller.sal.binding.impl.NotifyTask.run(NotifyTask.java:42)[140:org.opendaylight.controller.sal-binding-broker-impl:1.2.0.SNAPSHOT]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_65]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_65]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_65]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_65]
      at java.lang.Thread.run(Thread.java:745)[:1.7.0_65]

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            moraja@cisco.com Moiz Raja
            moraja@cisco.com Moiz Raja
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: