Tech Tip: NFA Console reporter database and harvester databases are not syncing, NullPointerException in collpollws-wrapper.log

Document created by sigju01 Employee on Dec 10, 2014Last modified by sigju01 Employee on Dec 23, 2014
Version 2Show Document
  • View in full screen mode

Document ID:  TEC1099343
Last Modified Date:  12/3/2014
Show Technical Document Details

Issue:

There is a defect in NFA 9.2.1 only where if the Poller service tries to delete a device that does not have SNMP data, it hangs the Poller and Collector Web Service on the Harvester.  This will cause some syncing between the Poller and Reporter database not function.

This issue will give us a Null Pointer error like this (netflow/logs/CollPollWS-wrapper.log):

 

INFO   | jvm 1    | 2014/11/03 18:46:18 | Nov 3, 2014 6:46:18 PM com.sun.xml.internal.ws.model.RuntimeModeler getResponseWrapperClass

INFO   | jvm 1    | 2014/11/03 18:46:18 | INFO: Dynamically creating response wrapper bean Class com.ca.im.ra.collectorws.jaxws.DeleteInterfaceByPersistentIndexResponse

INFO   | jvm 1    | 2014/11/03 18:46:18 | Nov 3, 2014 6:46:18 PM com.sun.xml.internal.ws.model.RuntimeModeler getRequestWrapperClass

INFO   | jvm 1    | 2014/11/03 18:46:18 | INFO: Dynamically creating request wrapper Class com.ca.im.ra.collectorws.jaxws.DeleteRouters

INFO   | jvm 1    | 2014/11/03 18:46:18 | Nov 3, 2014 6:46:18 PM com.sun.xml.internal.ws.model.RuntimeModeler getResponseWrapperClass

INFO   | jvm 1    | 2014/11/03 18:46:18 | INFO: Dynamically creating response wrapper bean Class com.ca.im.ra.collectorws.jaxws.DeleteRoutersResponse

INFO   | jvm 1    | 2014/11/03 18:46:18 | Nov 3, 2014 6:46:18 PM com.sun.xml.internal.ws.model.RuntimeModeler getRequestWrapperClass

INFO   | jvm 1    | 2014/11/03 18:46:18 | INFO: Dynamically creating request wrapper Class com.ca.im.ra.collectorws.jaxws.DisableTemplateArchive

INFO   | jvm 1    | 2014/11/03 18:46:18 | Nov 3, 2014 6:46:18 PM com.sun.xml.internal.ws.model.RuntimeModeler getResponseWrapperClass

INFO   | jvm 1    | 2014/11/03 18:46:18 | INFO: Dynamically creating response wrapper bean Class com.ca.im.ra.collectorws.jaxws.DisableTemplateArchiveResponse

INFO   | jvm 1    | 2014/11/03 20:01:23 | java.lang.NullPointerException

INFO   | jvm 1    | 2014/11/03 20:01:23 |                 at com.ca.im.ra.poller.Poller.deleteRouter(Poller.java:1600)

INFO   | jvm 1    | 2014/11/03 20:01:23 |                 at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)

INFO   | jvm 1    | 2014/11/03 20:01:23 |                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

INFO   | jvm 1    | 2014/11/03 20:01:23 |                 at java.lang.reflect.Method.invoke(Unknown Source)

INFO   | jvm 1    | 2014/11/03 20:01:23 |                 at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)

INFO   | jvm 1    | 2014/11/03 20:01:23 |                 at sun.rmi.transport.Transport$1.run(Unknown Source)

INFO   | jvm 1    | 2014/11/03 20:01:23 |                 at java.security.AccessController.doPrivileged(Native Method)

INFO   | jvm 1    | 2014/11/03 20:01:23 |                 at sun.rmi.transport.Transport.serviceCall(Unknown Source)

INFO   | jvm 1    | 2014/11/03 20:01:23 |                 at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)

INFO   | jvm 1    | 2014/11/03 20:01:23 |                 at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)

INFO   | jvm 1    | 2014/11/03 20:01:23 |                 at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)

INFO   | jvm 1    | 2014/11/03 20:01:23 |                 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

INFO   | jvm 1    | 2014/11/03 20:01:23 |                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

INFO   | jvm 1    | 2014/11/03 20:01:23 |                 at java.lang.Thread.run(Unknown Source)

INFO   | jvm 1    | 2014/11/03 20:01:23 |                 at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)

INFO   | jvm 1    | 2014/11/03 20:01:23 |                 at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)

INFO   | jvm 1    | 2014/11/03 20:01:23 |                 at sun.rmi.server.UnicastRef.invoke(Unknown Source)

 

 

Resolution:

Patch Location:

ftp://ftp.ca.com/pub/netqos/product_patches/NFA/9.2.1/149225/Null%20Pointer%20%20&%20Block%20Voice%20Interfaces/

Patch File:

Null Pointer & ifType-Rejection.zip

 

To Apply:

  1. Stop all Java services on harvester (CA NFA Services).
  2. Rename netflow/bin/com.ca.im.ra.poller to com.ca.im.ra.poller-old.jar and the netflow/bin/com.ca.im.ra.harvester to com.ca.im.ra.harvester-old.jar
  3. Copy the new com.ca.im.ra.poller.jar and com.ca.im.ra.harvester.jar file in.
  4. Start all of the services back up.

Attachments

    Outcomes