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
SampleConsoleServer.sh Startup Error
September 8, 2014
11:04, EEST
Avatar
tomneedham
New Member
Members
Forum Posts: 1
Member Since:
September 8, 2014
sp_UserOfflineSmall Offline

Hi there,

I’m trying to setup the SDK and run the SampleConsoleServer.sh script. However after changing to the example directory and firing up the SampleConsoleServer.sh script I receive the following error:

______________________________________________________________________________________________________________________________

* Prosys OPC UA Java SDK v2.0.0-194
* (c) Prosys PMS Ltd.

* Running in EVALUATION mode
* Connections will close after 119 minutes

log4j:WARN No appenders could be found for logger (com.prosysopc.ua.UaApplication).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4…..l#noconfig for more info.
Exception in thread “main” java.lang.RuntimeException: NodeManagerRoot
at com.prosysopc.ua.server.NodeManagerRoot.init(Unknown Source)
at com.prosysopc.ua.server.NodeManagerTable.init(Unknown Source)
at com.prosysopc.ua.server.NodeManagementServiceHandler.a(Unknown Source)
at com.prosysopc.ua.server.UaServer.initServiceHandlers(Unknown Source)
at com.prosysopc.ua.server.UaServer.init(Unknown Source)
at com.prosysopc.ua.samples.server.SampleConsoleServer.initialize(SampleConsoleServer.java:1036)
at com.prosysopc.ua.samples.server.SampleConsoleServer.main(SampleConsoleServer.java:239)
Caused by: com.prosysopc.ua.ModelException: 4229 individual model errors:
(only 50 first included in message; read ErrorList of the exception for a full list)
Failed to create node: HasTrueSubState with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=9004java.lang.NullPointerException
Failed to create node: HasFalseSubState with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=9005java.lang.NullPointerException
Failed to create node: HasCondition with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=9006java.lang.NullPointerException
Failed to create node: OpenFileMode with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=11939java.lang.NullPointerException
Failed to create node: TrustListMasks with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=12552java.lang.NullPointerException
Failed to create node: TrustListDataType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=12554java.lang.NullPointerException
Failed to create node: TimeZoneDataType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=8912java.lang.NullPointerException
Failed to create node: ServerOnNetwork with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=12189java.lang.NullPointerException
Failed to create node: RegisteredServer2 with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=12192java.lang.NullPointerException
Failed to create node: KerberosIdentityToken with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=12504java.lang.NullPointerException
Failed to create node: EndpointConfiguration with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=331java.lang.NullPointerException
Failed to create node: ComplianceLevel with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=334java.lang.NullPointerException
Failed to create node: SupportedProfile with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=335java.lang.NullPointerException
Failed to create node: SoftwareCertificate with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=341java.lang.NullPointerException
Failed to create node: FilterOperator with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=576java.lang.NullPointerException
Failed to create node: ContentFilterElement with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=583java.lang.NullPointerException
Failed to create node: ContentFilter with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=586java.lang.NullPointerException
Failed to create node: FilterOperand with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=589java.lang.NullPointerException
Failed to create node: ElementOperand with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=592java.lang.NullPointerException
Failed to create node: LiteralOperand with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=595java.lang.NullPointerException
Failed to create node: AttributeOperand with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=598java.lang.NullPointerException
Failed to create node: SimpleAttributeOperand with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=601java.lang.NullPointerException
Failed to create node: HistoryEvent with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=659java.lang.NullPointerException
Failed to create node: HistoryUpdateType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=11234java.lang.NullPointerException
Failed to create node: PerformUpdateType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=11293java.lang.NullPointerException
Failed to create node: MonitoringFilter with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=719java.lang.NullPointerException
Failed to create node: EventFilter with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=725java.lang.NullPointerException
Failed to create node: AggregateConfiguration with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=948java.lang.NullPointerException
Failed to create node: HistoryEventFieldList with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=920java.lang.NullPointerException
Failed to create node: CompositeTestType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=405java.lang.NullPointerException
Failed to create node: BuildInfo with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=338java.lang.NullPointerException
Failed to create node: RedundancySupport with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=851java.lang.NullPointerException
Failed to create node: ServerState with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=852java.lang.NullPointerException
Failed to create node: RedundantServerDataType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=853java.lang.NullPointerException
Failed to create node: EndpointUrlListDataType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=11943java.lang.NullPointerException
Failed to create node: NetworkGroupDataType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=11944java.lang.NullPointerException
Failed to create node: SamplingIntervalDiagnosticsDataType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=856java.lang.NullPointerException
Failed to create node: ServerDiagnosticsSummaryDataType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=859java.lang.NullPointerException
Failed to create node: ServerStatusDataType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=862java.lang.NullPointerException
Failed to create node: SessionDiagnosticsDataType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=865java.lang.NullPointerException
Failed to create node: SessionSecurityDiagnosticsDataType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=868java.lang.NullPointerException
Failed to create node: ServiceCounterDataType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=871java.lang.NullPointerException
Failed to create node: StatusResult with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=299java.lang.NullPointerException
Failed to create node: SubscriptionDiagnosticsDataType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=874java.lang.NullPointerException
Failed to create node: ModelChangeStructureDataType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=877java.lang.NullPointerException
Failed to create node: SemanticChangeStructureDataType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=897java.lang.NullPointerException
Failed to create node: Range with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=884java.lang.NullPointerException
Failed to create node: EUInformation with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=887java.lang.NullPointerException
Failed to create node: AxisScaleEnumeration with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=12077java.lang.NullPointerException
Failed to create node: ComplexNumberType with id:nsu=http%3A%2F%2Fopcfoundation.org%2FUA%2F;i=12171java.lang.NullPointerException
4179 more errors – read ErrorList of the exception for a full list
at com.prosysopc.ua.ModelParserBase.createModel(Unknown Source)
at com.prosysopc.ua.server.NodeManagerTable.loadModel(Unknown Source)
… 7 more

______________________________________________________________________________________________________________________________

Presuming this is an error in my setup somewhere? I haven’t made any edits to the files, just extracted the SDK.

Regards,
Tom

September 15, 2014
7:26, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Forgot to answer here: this was handled by email. The problem was in the UA stack and will be fixed in the next SDK/stack release, which is expected shortly. If you experience this, a beta build is available by email.

November 14, 2014
14:14, EET
Avatar
foglia
New Member
Members
Forum Posts: 1
Member Since:
November 14, 2014
sp_UserOfflineSmall Offline

I’ve the same trouble, but I’m using JRE8 and the lastly downloaded versione of the SDK.
I’m working with windows 7 and eclipse.

Thanks, Piero

November 14, 2014
16:02, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

As mentioned, it was fixed in 2.0.2. Are you using 2.0.0 still?

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
19 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: 731

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

inilarythikibia, rickykennion, PromotionToold, HypromeImpupe, toneylapham544, rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466

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

Administrators: admin: 1