

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);
}
}
}
Most Users Ever Online: 1919
Currently Online:
40 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 800
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1538
Posts: 6493
Newest Members:
isabellabeeton2, ladonnacdv, DarwinVew, betseymitford95, Howardtit, rubinramsbotham, SandraVen, lisa40301214436, AndrewLed, georgianaweis51Moderators: Jouni Aro: 1027, Pyry: 1, Petri: 0, Bjarne Boström: 1037, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0
Administrators: admin: 1