I’m trying to make RPC calls between Client and Gateway.
I followed the manual, but it did not worked.
In the Client I added the alarm-notification-common library because without the ModuleMeta.MODULE_ID was not resolved.
With this adding it compile.
I see the method is called from the Client but I get an exception :
Exception in thread “AWT-EventQueue-2” java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy16.clearAccumulatedDose(Unknown Source)
…
Caused by: com.inductiveautomation.ignition.client.gateway_interface.GatewayException: com.inductiveautomation.ignition.alarming.AlarmNotificationGatewayHook$AlarmNotificationRPCImpl.clearAccumulatedDose(java.lang.String)
at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.newGatewayException(GatewayInterface.java:328)
…
Caused by: java.lang.NoSuchMethodException: com.inductiveautomation.ignition.alarming.AlarmNotificationGatewayHook$AlarmNotificationRPCImpl.clearAccumulatedDose(java.lang.String)
at java.lang.Class.getMethod(Class.java:1786)
Is there any library missing ?