[SNMP-7] snmp-plugin failure IfEntryBuilder cannot be applied to given types Created: 02/Oct/15  Updated: 19/Oct/17  Resolved: 07/Oct/15

Status: Resolved
Project: snmp
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Thanh Ha (zxiiro) Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 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



 Comments   
Comment by Vaishali Mithbaokar [ 07/Oct/15 ]

https://git.opendaylight.org/gerrit/#/c/27997/

Generated at Wed Feb 07 20:39:11 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.