Topic RSS17:37, EEST
February 21, 2014
OfflineThis 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
OfflineHi,
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
OfflineThis is now fixed in 2.0.1-198 , send mail to uajava-support@prosysopc.com and I can provide a link.
1 Guest(s)

Log In
Register