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
New Member
Members
Forum Posts: 1
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: 430
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: 267

Currently Online:
15 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 91

pramanj: 86

ibrahim: 68

kapsl: 57

gjevremovic: 49

TimK: 41

Fransua33: 39

fred: 36

Rainer Versteeg: 32

peterrob45: 25

Member Stats:

Guest Posters: 0

Members: 909

Moderators: 12

Admins: 1

Forum Stats:

Groups: 3

Forums: 14

Topics: 907

Posts: 3809

Newest Members:

sve, aimstormsolution, efogefabo, antoniovaughn, rbegert, ananyagupta, marisolcopeland, Waeuk, Tobs, anandhu

Moderators: Jouni Aro: 834, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 430, Heikki Tahvanainen: 402, Jukka Asikainen: 1, Teppo Uimonen: 16, Markus Johansson: 1

Administrators: admin: 0