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: 983
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: 518

Currently Online:
18 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

ibrahim: 75

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 681

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6259

Newest Members:

DonaldPooma, fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.com, aytule, rashadbrownrigg, christi10l, ahamad1, Flores Frederick

Moderators: Jouni Aro: 1009, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1