Re: [SNMP4J] Bug in OID class

2017-02-06 Thread Frank Fock
Hi Steffen, Thanks for the bug report. Will be fixed very soon with SNMP4J 2.5.5. Best regards, Frank Am 06.02.2017 um 17:17 schrieb Steffen Brüntjen: Hi! I found a problem in the OID class. The nextPeer() method runs into a StackOverflowError. The method: public final OID nextPeer() {

[SNMP4J] Bug in OID class

2017-02-06 Thread Steffen Brüntjen
Hi! I found a problem in the OID class. The nextPeer() method runs into a StackOverflowError. The method: public final OID nextPeer() { OID next = new OID(this); if ((next.size() > 0) && (last() != MAX_SUBID_VALUE)) { next.set(next.size()-1, last()+1); } else if (next.siz