[SNMP4J] AgenPro plus TruthValueTC problem

Frank Fock fock at agentpp.com
Thu May 28 23:36:21 CEST 2009


Hi Geoff,

This bug should be fixed with AgenPro 2.7.4 which can be
downloaded from http://wwww.agentpp.com

There is a new method TextualConvention.createInitialValue()
which is designed to let the agent handle such issues.

Best regards,
Frank

Geoff Genz wrote:
> Hi,
> 
> We've generated a MIB class using AgenPro 2.7.3, using the snmp4j 1.3 
> project and when we construct the class we run into an 
> IllegalArgumentException for TC_TRUTHVALUE TextualConvention.  This is 
> happening because the createScalarMO in TruthValueTC constraint 
> validation fails on a null value.  We're assuming that the generated MIB 
> should probably have a default value of false or the TruthValueTC 
> createScaleMO should know what to do with a null.
> 
> Can someone confirm this or tell us what we've done wrong?
> 
> Thanks,
> 
> Geoff Genz
> Magpie Telecom Insiders
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list