11:04, EEST
September 8, 2014
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
7:26, EEST
December 21, 2011
Most Users Ever Online: 1919
Currently Online:
12 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: 738
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1524
Posts: 6451
Newest Members:
jonathonmcintyre, fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettingerModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1