• Post Reply Bookmark Topic Watch Topic
  • New Topic

SNMP Bulk Request

 
vignesh Thamarai
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai Friends,

now iam devoloping a snmp program that deals bulk request, i hav some exception

in my below code "data2" is encoded byte array containing some buffer values return from some device.

now iam decoding as "SNMPMessage message1 = new SNMPMessage(SNMPBERCodec.extractNextTLV(data2,0).value);"

it return an exception. snmp.SNMPBadValueException: Problem while decoding SNMP: packet truncated or corrupt , I google it but i cant find any solution.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!