Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-7033

Unknown NullPointerException on Pollerd related with Category Membership events

    XMLWordPrintable

Details

    Description

      I have a small lab that I've prepared to reproduce NMS-7025, and I discovered the following exceptions:

      2014-10-17 11:26:35,532 WARN  [Poller:PollerEventProcessor-Thread] o.o.n.e.EventIpcManagerDefaultImpl: run: an unexpected error occured during ListenerThread Poller:PollerEventProcessor
      java.lang.NullPointerException
      	at org.opennms.netmgt.poller.PollerEventProcessor.serviceReschedule(PollerEventProcessor.java:599) ~[opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.poller.PollerEventProcessor.onEvent(PollerEventProcessor.java:585) ~[opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.eventd.EventIpcManagerDefaultImpl$EventListenerExecutor$2.run(EventIpcManagerDefaultImpl.java:178) [opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_67]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_67]
      	at org.opennms.core.concurrent.LogPreservingThreadFactory$2.run(LogPreservingThreadFactory.java:106) [opennms-util-14.0.0-SNAPSHOT.jar:?]
      	at java.lang.Thread.run(Thread.java:745) [?:1.7.0_67]
      
      2014-10-17 11:26:42,190 ERROR [Poller:PollerEventProcessor-Thread] o.o.n.p.p.PollableElement: Unexpected exception: null
      java.lang.NullPointerException
      	at org.opennms.netmgt.poller.pollables.PollableService$1.run(PollableService.java:430) ~[opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[?:1.7.0_67]
      	at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:264) [opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:250) [opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:228) [opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.poller.pollables.PollableService.delete(PollableService.java:433) [opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.poller.PollerEventProcessor.serviceReschedule(PollerEventProcessor.java:629) [opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.poller.PollerEventProcessor.onEvent(PollerEventProcessor.java:585) [opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.eventd.EventIpcManagerDefaultImpl$EventListenerExecutor$2.run(EventIpcManagerDefaultImpl.java:178) [opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_67]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_67]
      	at org.opennms.core.concurrent.LogPreservingThreadFactory$2.run(LogPreservingThreadFactory.java:106) [opennms-util-14.0.0-SNAPSHOT.jar:?]
      	at java.lang.Thread.run(Thread.java:745) [?:1.7.0_67]
      

      It is not clear if both messages are related with the same problem or if they are unrelated issues, and it is not telling me where is the problem.

      I'm attaching the full poller.log for reference. If the configuration and/or a dump of the DB is required, please let me know.

      Attachments

        Activity

          People

            ranger Benjamin Reed
            agalue Alejandro Galue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: