[SNMP4J] Error in running Testament
Swetha
swetha at consultesoft.com
Tue Aug 30 15:43:14 CEST 2005
Hello,
I want to run the TestAgent.java,but I am getting the following
exceptions,plz can anyone say what could be the
problem.
i/p:....>java x.x.x.x/161
2005-08-30 18:29:01,752 INFO org.snmp4j.agent.BaseAgent[main] - Engine boots
is
8
0 [main] INFO org.snmp4j.agent.BaseAgent - Engine boots is: 8
2005-08-30 18:29:01,768 INFO org.snmp4j.agent.BaseAgent[main] - Wrote boot
coun
er: 9
16 [main] INFO org.snmp4j.agent.BaseAgent - Wrote boot counter: 9
Exception in thread "main" java.lang.NullPointerException
at
org.snmp4j.agent.mo.MOScalar.isVolatileByDefault(MOScalar.java:54)
at org.snmp4j.agent.mo.MOScalar.<init>(MOScalar.java:50)
at
org.snmp4j.agent.mo.snmp.SnmpFrameworkMIB$1.<init>(SnmpFrameworkMIB.
ava:56)
at
org.snmp4j.agent.mo.snmp.SnmpFrameworkMIB.createMOs(SnmpFrameworkMIB
java:56)
at
org.snmp4j.agent.mo.snmp.SnmpFrameworkMIB.<init>(SnmpFrameworkMIB.ja
a:52)
at org.snmp4j.agent.BaseAgent.init(BaseAgent.java:80)
at org.snmp4j.agent.test.TestAgent.main(TestAgent.java:270)
ThankU.
Regards
Swetha.
More information about the SNMP4J
mailing list