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:
24 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: 735
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1523
Posts: 6449
Newest Members:
rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerley, Thomassnism, biancacraft16Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1