Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Java exception re:LinkedHashMap but possible solutions say use same!

  • 10-04-2015 04:29PM
    #1
    Registered Users, Registered Users 2 Posts: 5,764 ✭✭✭


    Below exception looks a tad hypocritical. Im passing and expecting a LinkedHashMap, what gives!

    2015-04-10 17:26:22,456 [RevertToSl1SetupSuite.xml] [INFO] [se.ericsson.jcat.fw.logging.JcatLoggingApi] *** OVERALL TESTCASE RESULT ***
    2015-04-10 17:26:22,477 [RevertToSl1SetupSuite.xml] [WARN] [se.ericsson.jcat.fw.fixture.CommonTestCaseFixture] Runtime exception happened
    groovy.lang.MissingMethodException: No signature of method: com.ericsson.oss.rv.operators.UndoSl3Operator.removeSecurityDefinitionToNetwork() is applicable for argument types: (java.util.LinkedHashMap) values: EPG-JUniper15B:atrcxb3397IEdef, RNCV32132-ST-RNC01:Def1, ...
    Possible solutions: removeSecurityDefinitionfromNetwork(java.util.LinkedHashMap)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:55)
    at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:51)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)


Comments

  • Registered Users, Registered Users 2 Posts: 12,027 ✭✭✭✭Giblet


    It says you don't have a method that accepts a LinkedHashmap, either you don't or it's not reporting it correctly. Did you rebuild? Are you using the correct version of the library?


  • Registered Users, Registered Users 2 Posts: 5,764 ✭✭✭veryangryman


    Just realised the problem!

    Method name contains "To" in one, and "From" in the other. Doh!

    Thanks for the input anyways.


Advertisement