Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

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

Options
  • 10-04-2015 5:29pm
    #1
    Registered Users Posts: 5,556 ✭✭✭


    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 Posts: 11,979 ✭✭✭✭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 Posts: 5,556 ✭✭✭veryangryman


    Just realised the problem!

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

    Thanks for the input anyways.


Advertisement