I have a jython script that makes a call to a routine in my tagprovider module. I am getting the below exception.
Traceback (most recent call last):
File “event:actionPerformed”, line 1, in
File “module:tagmgmt”, line 184, in applyValuesToTagDefTable
File “module:tagmgmt”, line 184, in applyValuesToTagDefTable
at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.newGatewayException(GatewayInterface.java:312)
at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.sendMessage(GatewayInterface.java:286)
at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.sendMessage(GatewayInterface.java:243)
at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.moduleInvoke(GatewayInterface.java:761)
at com.bloomenergy.hmi.client.BEModuleRPCProxy.invoke(BEModuleRPCProxy.java:24)
at com.bloomenergy.hmi.client.BEModuleRPCProxy.loadTagdef(BEModuleRPCProxy.java:33)
at com.bloomenergy.hmi.client.BEModuleRPCProxy.loadTagdef(BEModuleRPCProxy.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
com.inductiveautomation.ignition.client.gateway_interface.GatewayException: com.inductiveautomation.ignition.client.gateway_interface.GatewayException: null
Can I have a definition as to what is null.
protected Object invoke(String name, Serializable… params) throws Exception {
m_logger.info(String.format(“found %s on gateawy”, name));
return GatewayConnectionManager.getInstance().getGatewayInterface().moduleInvoke(ModuleMeta.MODULE_ID, name, params);
}
public String loadTagdef() throws Exception {
return (String) invoke(loadTagdef(m_provider).toString(), new Serializable[] {m_provider});
}
@Override
public String loadTagdef(String provider) throws Exception {
return (String) invoke("loadTagdef", new Serializable[]{provider});
}
that’s the code that is getting called from the jython script.