Hi, I am facing the Buffer OverFlow Exception when trying to do send a snmp packet. The Stack Trace is given below.
java.nio.BufferOverflowException at java.nio.Buffer.nextPutIndex(Buffer.java:513) at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:163) at org.snmp4j.asn1.BEROutputStream.write(BEROutputStream.java:64) at org.snmp4j.asn1.BER.encodeHeader(BER.java:119) at org.snmp4j.smi.Null.encodeBER(Null.java:99) at org.snmp4j.smi.VariableBinding.encodeBER(VariableBinding.java:181) at org.snmp4j.PDU.encodeBER(PDU.java:528) at org.snmp4j.mp.MPv1.prepareOutgoingMessage(MPv1.java:132) at org.snmp4j.MessageDispatcherImpl.sendPdu(MessageDispatcherImpl.java:444) I had increased all the memory limits in linux and still facing this problem very often. Kindly guide me in solving the problem. Thanks, Vinod Kumar Boppanna _______________________________________________ SNMP4J mailing list SNMP4J@agentpp.org http://lists.agentpp.org/mailman/listinfo/snmp4j