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

NullPointerException when printing errors in the JNI6 code

    Details

      Description

      2012-07-12 12:56:46,058 DEBUG [LegacyScheduler-Thread-5-of-30] PollableServiceConfig: Polling 15:2001:0470:e2f1:0000:0000:0000:0000:0001:StrafePing using pkg strafer
      2012-07-12 12:56:46,068 DEBUG [LegacyScheduler-Thread-5-of-30] StrafePingMonitor: failed to ping /2001:470:e2f1:0:0:0:0:1
      java.lang.NullPointerException
      at org.opennms.netmgt.icmp.jni6.Jni6PingRequest.getSequenceNumber(Jni6PingRequest.java:298)
      at org.opennms.netmgt.icmp.ParallelPingResponseCallback.handleError(ParallelPingResponseCallback.java:66)
      at org.opennms.netmgt.icmp.jni6.Jni6PingRequest.send(Jni6PingRequest.java:260)
      at org.opennms.netmgt.icmp.jni6.Jni6IcmpMessenger.sendRequest(Jni6IcmpMessenger.java:98)
      at org.opennms.netmgt.icmp.jni6.Jni6IcmpMessenger.sendRequest(Jni6IcmpMessenger.java:49)
      at org.opennms.protocols.rt.RequestTracker.sendRequest(RequestTracker.java:203)
      at org.opennms.netmgt.icmp.jni6.Jni6Pinger.parallelPing(Jni6Pinger.java:305)
      at org.opennms.netmgt.poller.monitors.StrafePingMonitor.poll(StrafePingMonitor.java:113)
      at org.opennms.netmgt.poller.pollables.LatencyStoringServiceMonitorAdaptor.poll(LatencyStoringServiceMonitorAdaptor.java:104)
      at org.opennms.netmgt.poller.pollables.PollableServiceConfig.poll(PollableServiceConfig.java:108)
      at org.opennms.netmgt.poller.pollables.PollableService.poll(PollableService.java:178)
      at org.opennms.netmgt.poller.pollables.PollableElement.poll(PollableElement.java:292)
      at org.opennms.netmgt.poller.pollables.PollableContainer$5.run(PollableContainer.java:305)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:263)
      at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:249)
      at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:227)
      at org.opennms.netmgt.poller.pollables.PollableContainer.poll(PollableContainer.java:312)
      at org.opennms.netmgt.poller.pollables.PollableInterface.poll(PollableInterface.java:205)
      at org.opennms.netmgt.poller.pollables.PollableContainer$5.run(PollableContainer.java:305)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:263)
      at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:249)
      at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:227)
      at org.opennms.netmgt.poller.pollables.PollableContainer.poll(PollableContainer.java:312)
      at org.opennms.netmgt.poller.pollables.PollableNode$3.run(PollableNode.java:303)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:263)
      at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:249)
      at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:227)
      at org.opennms.netmgt.poller.pollables.PollableNode.doPoll(PollableNode.java:306)
      at org.opennms.netmgt.poller.pollables.PollableElement.doPoll(PollableElement.java:183)
      at org.opennms.netmgt.poller.pollables.PollableService.doPoll(PollableService.java:211)
      at org.opennms.netmgt.poller.pollables.PollableService$PollRunner.run(PollableService.java:57)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:263)
      at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:249)
      at org.opennms.netmgt.poller.pollables.PollableService.doRun(PollableService.java:383)
      at org.opennms.netmgt.poller.pollables.PollableService.run(PollableService.java:364)
      at org.opennms.netmgt.scheduler.Schedule.run(Schedule.java:135)
      at org.opennms.netmgt.scheduler.Schedule$ScheduleEntry.run(Schedule.java:80)
      at org.opennms.netmgt.scheduler.LegacyScheduler$1.run(LegacyScheduler.java:203)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at org.opennms.core.concurrent.LogPreservingThreadFactory$3.run(LogPreservingThreadFactory.java:107)
      at java.lang.Thread.run(Thread.java:680)
      2012-07-12 12:56:46,069 DEBUG [LegacyScheduler-Thread-5-of-30] PollableServiceConfig: Finish polling 15:2001:0470:e2f1:0000:0000:0000:0000:0001:StrafePing using pkg strafer result = Down
      2012-07-12 12:56:46,069 INFO [LegacyScheduler-Thread-5-of-30] PollableService: Changing status of PollableElement 15:2001:0470:e2f1:0000:0000:0000:0000:0001:StrafePing from Up to Down

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              ranger Benjamin Reed
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: