Hi,
I am getting the following errors while receiving a trap and decoding.


ava.io.IOException: Unexpected end of input stream at position 2048
       at org.snmp4j.asn1.BERInputStream.read(BERInputStream.java:58)
       at org.snmp4j.asn1.BER.decodeLength(BER.java:520)
       at org.snmp4j.asn1.BER.decodeHeader(BER.java:583)
       at org.snmp4j.asn1.BER.decodeHeader(BER.java:608)
at c


java.io.IOException: Wrong ASN.1 type. Not an integer: 3 at position 2047
at org.snmp4j.asn1.BER.decodeInteger(BER.java:621)
at org.snmp4j.smi.Integer32.decodeBER(Integer32.java:60)
At






Basically we are creating a big PDU with a long string and sending them as
trap using perl Netsnmp. Then we have SNMP4J based receiver.  Is there any
restriction on BER for the size of the PDU ?

Appreciate any help.

Regards
Sateesh

_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to