

11:56, EEST

February 14, 2020

Hello,
can you give an indication of what could be the cause of the error?
The error also occurs after the network failure in the case of a date change event when the value changes from “null” to any. The other changes did not fail.
Thank you in advance.
14-10-2021 14:33:42.718 [ERROR] com.prosysopc.ua.dient.Monitoredltem:417 – Exception while calling onDataChange with listener=com.itac.plcconnectorV2.opcua.dient.DataItemListener@112c93de j ava.lang.NullPointerException
at com.itac.plcconnectorV2.opcua.dient.OpcUaClient.nodeChanged(OpcUaClient.java:557)
at com.itac.plcconnectorV2.opcua.dient.DataltemListener.onDataChange(DataltemListener.java:26)
at com.prosysopc.ua.dient.MonitoredDataltem.fireDataChange(SourceFile:415)
at com.prosysopc.ua.dient.MonitoredDataltem.setValue(SourceFile:443)
at com.prosysopc.ua.dient.Subscription.a(SourceFile:1361)
at com.prosysopc.ua.dient.Subscription.handleNotificationDatas(SourceFile:1925) at com.prosysopc.ua.dient.UaClientSa.aF(SourceFile:362) at com.prosysopc.ua.dient.UaClientSa.run(SourceFile:248) at java.lang.Thread.run(Thread.java:748)
14-10-2021 14:33:49.718 [ERROR] com.prosysopc.ua.dient.Monitoredltem:417 – Exception while calling onDataChange with listener=com.itac.plcconnectorV2.opcua.dient.DataItemListener@34c03c59 j ava.lang.NullPointerException
at com.itac.plcconnectorV2.opcua.dient.OpcUaClient.nodeChanged(OpcUaClient.java:557)
at com.itac.plcconnectorV2.opcua.dient.DataltemListener.onDataChange(DataltemListener.java:26)
at com.prosysopc.ua.dient.MonitoredDataltem.fireDataChange(SourceFile:415)
at com.prosysopc.ua.dient.MonitoredDataltem.setValue(SourceFile:443)
at com.prosysopc.ua.dient.Subscription.a(SourceFile:1361)
at com.prosysopc.ua.dient.Subscription.handleNotificationDatas(SourceFile:1925) at com.prosysopc.ua.dient.UaClientSa.aF(SourceFile:362) at com.prosysopc.ua.dient.UaClientSa.run(SourceFile:248) at java.lang.Thread.run(Thread.java:748)
12:44, EEST

December 21, 2011

18:50, EEST

February 14, 2020

10:29, EEST

December 21, 2011

This is the method that is calling your listener. It’s actually in MonitoredDataItem:
if (dataChangeListener != null) {
try {
dataChangeListener.onDataChange(this, prevValue, newValue);
} catch (Exception e) {
logger.error("Exception while calling onDataChange with listener=" + dataChangeListener, e);
}
}
}
1 Guest(s)
