java.io.IOException: Wrong ASN.1 type. Not a string: 48 at position 8 We parsed every message failed. StackTrace: java.io.IOException: Wrong ASN.1 type. Not a string: 48 at position 8

Stack Overflow | YYH | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    SNMP parser failed to parse SNMPv3 bytes

    Stack Overflow | 5 months ago | YYH
    java.io.IOException: Wrong ASN.1 type. Not a string: 48 at position 8 We parsed every message failed. StackTrace: java.io.IOException: Wrong ASN.1 type. Not a string: 48 at position 8

    Root Cause Analysis

    1. java.io.IOException

      Wrong ASN.1 type. Not a string: 48 at position 8 We parsed every message failed. StackTrace: java.io.IOException: Wrong ASN.1 type. Not a string: 48 at position 8

      at org.snmp4j.asn1.BER.decodeString()
    2. SNMP4J
      OctetString.decodeBER
      1. org.snmp4j.asn1.BER.decodeString(BER.java:721)
      2. org.snmp4j.smi.OctetString.decodeBER(OctetString.java:150)
      2 frames