cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
471
Views
0
Helpful
2
Replies

Caused by: java.lang.NoSuchMethodError: com.tailf.maapi.MaapiSchemas$CSNode.getNSHash()

mohitk4
Cisco Employee
Cisco Employee

Hi Team,

 

I am getting below error while executing a custom written action however I have conf-api-6.7.2.jar and ncs-4.7.2.jar in package shared-jar folder so they should get loaded in the Java VM.

 

com.tailf.dp.DpCallbackException: com.tailf.maapi.MaapiSchemas$CSNode.getNSHash()J
at com.tailf.dp.annotations.ProxyUtils.invocationTargetCheck(ProxyUtils.java:78)
at com.tailf.dp.annotations.ActionCallbackProxy.action(ActionCallbackProxy.java:139)
at com.tailf.dp.DpActionTrans.protoCallback(DpActionTrans.java:315)
at com.tailf.dp.DpActionTrans.read(DpActionTrans.java:221)
at com.tailf.dp.DpActionTrans.run(DpActionTrans.java:128)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
at com.tailf.dp.DpThread.run(DpThread.java:41)
Caused by: java.lang.NoSuchMethodError: com.tailf.maapi.MaapiSchemas$CSNode.getNSHash()J
at se.dataductus.common.nso.path.MaapiPath.collectForKP(MaapiPath.java:1051)
at se.dataductus.common.nso.path.MaapiPath.collectForKP(MaapiPath.java:1046)
at se.dataductus.common.nso.path.MaapiPath.collectForKP(MaapiPath.java:1046)
at se.dataductus.common.nso.path.MaapiPath.collectForKP(MaapiPath.java:1046)
at se.dataductus.common.nso.path.MaapiPath.asKeyPath(MaapiPath.java:963)
at se.dataductus.common.nso.path.MaapiPath.asKeyPath(MaapiPath.java:947)
at se.dataductus.common.nso.channel.MaapiChannel.exists(MaapiChannel.java:1133)
at com.cisco.singtel.resourcemanager.base.DataTreeNode._exists(DataTreeNode.java:20)
at com.cisco.singtel.resourcemanager.ResourceAllocator.createObjectPool(ResourceAllocator.java:574)
at com.example.bharticommoncfs.action.ResourceManagementAction.action(ResourceManagementAction.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.tailf.dp.annotations.ActionCallbackProxy.action(ActionCallbackProxy.java:125)

 

`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````

 

any help in this regard is appreciated.

2 Replies 2

joepak
Cisco Employee
Cisco Employee
This may or may not be helpful, but I found a related case that had the exact issue..But the resolution summary was:

"This problem was caused by DataDuctus external libraries. AS team contacted with DataDuctus and they made necessary changes in their libraries."

So, not very helpful..But I guess this could give you a better idea of the cause? The conclusion for this particular case related to the customer environment vs NSO.

joepak
Cisco Employee
Cisco Employee
Also, did the package work in previous versions and you recently upgraded? Or did you perform upgrades for that matter (nso/packages).
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community: