I am making one application in java which queries with the printer using snmp protocol , I am throwing Object IDs and getting the result back from printer , i ma using java snmp package , but when i throw one oid 18.104.22.168.22.214.171.124.126.96.36.199.188.8.131.52.1.1.0 , i am getting the exception snmpBadValueException:Problem while decoding snmp :packet truncated or corrupt, I want to knw the root cause of this exception why it comes . Possibilites that i guess are:-
a)The data which we are getting from UDP is very large (image of printer in hex format), so not coming properly, that may be the reason but how can we surely check this?
Help is urgently required !!