17:37, EEST
February 21, 2014
This is probably not the right place to post this problem. Please advise a support email address if appropriate.
In the version 2.0.0 of the SDK, the constructor of a server.nodes.ReflectiveProperty throws a null pointer exception. When debugging I found, that in the constructor the ReflectiveProperty.toString() methods seems to call getDataType(), which is null at that time. The same constructor works without problems in SDK 1.5.0.
at com.prosysopc.ua.server.nodes.ReflectiveVariable.getDataType(Unknown Source)
at com.prosysopc.ua.server.nodes.UaVariableNode.getDataTypeId(Unknown Source)
at com.prosysopc.ua.server.nodes.UaVariableNode.setDataType(Unknown Source)
at com.prosysopc.ua.server.nodes.UaVariableNode.setDataTypeId(Unknown Source)
at com.prosysopc.ua.server.nodes.UaVariableNode.(Unknown Source)
at com.prosysopc.ua.server.nodes.CallbackVariable.(Unknown Source)
at com.prosysopc.ua.server.nodes.ReflectiveVariable.(Unknown Source)
at com.prosysopc.ua.server.nodes.ReflectiveProperty.(Unknown Source)
BTW The JavaDoc comments are partially out of sync with the source code (e.g. ReflectiveVariable)
6:52, EEST
April 3, 2012
Hi,
Well this is ok too, but you can send bug reports to uajava-support@prosysopc.com.
I managed to reproduce the problem, seems to be a side-effect of an another fix. Fixing this should not take long.. if you send mail to above address, I can provide the fix when it’s ready.
Fixed the javadoc for ReflectiveVariable.
7:29, EEST
April 3, 2012
This is now fixed in 2.0.1-198 , send mail to uajava-support@prosysopc.com and I can provide a link.
Most Users Ever Online: 1919
Currently Online:
20 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: 738
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1524
Posts: 6451
Newest Members:
jonathonmcintyre, fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettingerModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1