[SNMP4J] Null pointer Exception for Snmp4jLogMib

Vinay_Kenchappa Vinay_Kenchappa at Satyam.com
Wed Aug 15 12:03:55 CEST 2007


Hi Frank,

 

                Sometimes I get this exception and I will have to get
the BaseAgent code and start from scratch to fix it up. Could you please
suggest me why I am geting this exception

 

java.lang.NullPointerException

      at
org.snmp4j.agent.mo.snmp4j.Snmp4jLogMib$Snmp4jLogRootLevel.load(Snmp4jLo
gMib.java:492)

      at
org.snmp4j.agent.io.MOServerPersistence.readData(MOServerPersistence.jav
a:128)

      at
org.snmp4j.agent.io.MOServerPersistence.loadData(MOServerPersistence.jav
a:80)

      at org.snmp4j.agent.BaseAgent.loadConfig(BaseAgent.java:272)

      at org.snmp4j.agent.BaseAgent.loadConfig(BaseAgent.java:245)

      at
com.harris.netboss.northbound.snmp.SnmpAgent.init(SnmpAgent.java:215)

      at
com.harris.netboss.northbound.snmp.AgentBootstrap.main(AgentBootstrap.ja
va:42)

 

-Vinay



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.



More information about the SNMP4J mailing list