Uploaded image for project: 'snmp'
  1. snmp
  2. SNMP-7

snmp-plugin failure IfEntryBuilder cannot be applied to given types

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 4396

    Description

      See: https://jenkins.opendaylight.org/releng/job/autorelease-daily-beryllium/195/org.opendaylight.snmp$snmp/console

      [ERROR] /w/workspace/autorelease-daily-beryllium/snmp/snmp/src/test/java/org/opendaylight/snmp/plugin/internal/SNMPImplTest.java:[275,21] method setIfDescr in class org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.smiv2._if.mib.rev000614.interfaces.group.IfEntryBuilder cannot be applied to given types;
      required: org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.smiv2.snmpv2.tc.rev990401.DisplayString
      found: java.lang.String
      reason: actual argument java.lang.String cannot be converted to org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.smiv2.snmpv2.tc.rev990401.DisplayString by method invocation conversion
      [ERROR] /w/workspace/autorelease-daily-beryllium/snmp/snmp/src/test/java/org/opendaylight/snmp/plugin/internal/SNMPImplTest.java:[308,31] no suitable constructor found for OctetString(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.smiv2.snmpv2.tc.rev990401.DisplayString)
      constructor org.snmp4j.smi.OctetString.OctetString(org.snmp4j.smi.OctetString) is not applicable
      (actual argument org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.smiv2.snmpv2.tc.rev990401.DisplayString cannot be converted to org.snmp4j.smi.OctetString by method invocation conversion)
      constructor org.snmp4j.smi.OctetString.OctetString(java.lang.String) is not applicable
      (actual argument org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.smiv2.snmpv2.tc.rev990401.DisplayString cannot be converted to java.lang.String by method invocation conversion)
      constructor org.snmp4j.smi.OctetString.OctetString(byte[],int,int) is not applicable
      (actual and formal argument lists differ in length)
      constructor org.snmp4j.smi.OctetString.OctetString(byte[]) is not applicable
      (actual argument org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.smiv2.snmpv2.tc.rev990401.DisplayString cannot be converted to byte[] by method invocation conversion)
      constructor org.snmp4j.smi.OctetString.OctetString() is not applicable
      (actual and formal argument lists differ in length)
      [INFO] 2 errors

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            zxiiro Thanh Ha (zxiiro)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: