Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Robotics NodeSet VDMA 40010-1
December 1, 2019
18:24, EET
Avatar
Tobs
Member
Members
Forum Posts: 4
Member Since:
December 1, 2019
sp_UserOfflineSmall Offline

Hello,

I am trying to load a custom informationmodel which requires the “Opc.Ua.Di.NodeSet2.xml” and “Opc.Ua.Robotics.NodeSet2.xml” but whenever i load the robotics nodeset i get several errors:

“java.lang.ClassCastException: class com.prosysopc.ua.server.nodes.UaExternalNodeImpl cannot be cast to class com.prosysopc.ua.nodes.UaDataType (com.prosysopc.ua.server.nodes.UaExternalNodeImpl and com.prosysopc.ua.nodes.UaDataType are in unnamed module of loader ‘app’)
at com.prosysopc.ua.server.nodes.UaVariableNode.setDataTypeId(SourceFile:321)
at com.prosysopc.ua.server.nodes.UaVariableNode.setAttributes(SourceFile:290)
at com.prosysopc.ua.server.NodeManagerUaNode.addNode(SourceFile:1356)
at com.prosysopc.ua.server.NodeManagerTable.addNode(SourceFile:2393)
at com.prosysopc.ua.server.NodeManagerTable.addNode(SourceFile:2373)
at com.prosysopc.ua.server.ModelParser.doAddNode(SourceFile:117)
at com.prosysopc.ua.ModelParserBase.addNodes(SourceFile:5597)
at com.prosysopc.ua.ModelParserBase.createModel(SourceFile:433)
at com.prosysopc.ua.server.NodeManagerTable.loadModel(SourceFile:2160)
at com.prosysopc.ua.server.NodeManagerTable.loadModel(SourceFile:2126)
at de.ostfalia.ua.server.OstfaliaUaServer.loadInformationModels(OstfaliaUaServer.java:211)
at de.ostfalia.ua.server.OstfaliaUaServer.(OstfaliaUaServer.java:78)
at de.ostfalia.ua.main.StartServer.main(StartServer.java:19)
12/01/2019 16:46:17.679 WARN [main] com.prosysopc.ua.ModelParserBase – createModel: Failed to create node: CartesianCoordinates with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2FRobotics%2F;i=16130
java.lang.ClassCastException: class com.prosysopc.ua.server.nodes.UaExternalNodeImpl cannot be cast to class com.prosysopc.ua.nodes.UaDataType (com.prosysopc.ua.server.nodes.UaExternalNodeImpl and com.prosysopc.ua.nodes.UaDataType are in unnamed module of loader ‘app’)
at com.prosysopc.ua.server.nodes.UaVariableNode.setDataTypeId(SourceFile:321)
at com.prosysopc.ua.server.nodes.UaVariableNode.setAttributes(SourceFile:290)
at com.prosysopc.ua.server.NodeManagerUaNode.addNode(SourceFile:1356)
at com.prosysopc.ua.server.NodeManagerTable.addNode(SourceFile:2393)
at com.prosysopc.ua.server.NodeManagerTable.addNode(SourceFile:2373)
at com.prosysopc.ua.server.ModelParser.doAddNode(SourceFile:117)
at com.prosysopc.ua.ModelParserBase.addNodes(SourceFile:5597)
at com.prosysopc.ua.ModelParserBase.createModel(SourceFile:433)
at com.prosysopc.ua.server.NodeManagerTable.loadModel(SourceFile:2160)
at com.prosysopc.ua.server.NodeManagerTable.loadModel(SourceFile:2126)
at de.ostfalia.ua.server.OstfaliaUaServer.loadInformationModels(OstfaliaUaServer.java:211)
at de.ostfalia.ua.server.OstfaliaUaServer.(OstfaliaUaServer.java:78)
at de.ostfalia.ua.main.StartServer.main(StartServer.java:19)

[…]”

is it possible to use this nodeset with the sdk?

December 2, 2019
10:03, EET
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 1032
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

Based on the error stacktrace of mention of ‘CartesianCoordinates’ I assume this model (or the Robotics model in practice) needs types from the Amendment 11 (for 1.04) – Spatial types. The standard nodeset file (thus generated code for) that comes with the SDK doesn’t yet include those.

SDK 4.2.0 will include the latest nodeset. However it seems we are getting 1.04.4 Errata soon, so we might wait until it is published.

If you are interested in a beta build (it does include a nodeset file that contains the types from Amendment 11) , send email to uajava-support@prosysopc.com.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
32 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: 728

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

roycedelargie91, kourtneyquisenbe, ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1