Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[milo-dev] WARN Failed to create DataTypeDictionary
  • From: Ari Suutari <ari.suutari@xxxxxxxxxxxxxxx>
  • Date: Wed, 29 Apr 2020 09:49:28 +0000
  • Accept-language: fi-FI, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=syncrontech.com; dmarc=pass action=none header.from=syncrontech.com; dkim=pass header.d=syncrontech.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=E8C8un7DwzxigiMYtCtjd1IwYzTMtfL/hMW0thRTxD4=; b=fDNed9L2YChbJNFnsd+gM9TrmXky/3cWqdMRl17Z33XyRh2MKybsQBxxXeu9BNPSdpezKhtDzVO2OehWLlFAEsa8shZGHQmO79FGcLHcbnGcmrBbfa1ZmABjeek2//OWiKUcbgvTqkoN4IxS4i162HxIWwNMp+CvMvuDUedbiBL57Cqx3+9oJEIyvi8U7idbpBfnbTCdLs09URvPgw+atNj7XqAeMJKCmaCbwv0ayCxZph/Pd5NEEdmCVxYXJwU3Jy01ETZAI8NBsCR63Q/lcD6V+dFl53O8Wg2OiYusX8i3Sq10AvgtxnhxUh6VE5wE3cYYFZ05yf7GUKsduFP0oQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bFYuCXq6sJRoHcbQ2Bli60SeWltiaW6QioUK6EoQnXO77jsbFxxnQvKRzxUX++2rsc+Dn+wEPd8S3wzvdEfSfvcz1IsAwVTvx8uNYn6Sl02/h4wOSFaSOUIT2uWZMMVnzf/MbAps0p/6Txi6PvD5vAOZtFzZIzLmNp8Cq5y+bITn7K6JT3O3P5xV+ON1FYCj69NpyDqIDIexbld2Fgmp9Qe6SntH+GFFnazzFtaxVK+jAOpJwtZ5pxt88Rxykfx4GImtNjFIaMRcyG187j2utREf4yd6XDA2UFwjfXIZDic0uhE/3SPAnvNRjpDrbs5qCE77inOh6RvcbVhDf7YCTQ==
  • Delivered-to: milo-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/milo-dev>
  • List-help: <mailto:milo-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/milo-dev>, <mailto:milo-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/milo-dev>, <mailto:milo-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdYeCwNgttQL2gPhSf6O8VShySvNRw==
  • Thread-topic: WARN Failed to create DataTypeDictionary

Hi,

 

I recently upgraded to milo 0.3.8 and noticed messages like these with one

PLC (OMRON Corporation NxOpcUaServer v. 1.0 1.02):

 

2020-04-29 12:20:20.922 [ForkJoinPool.commonPool-worker-1] WARN  Failed to create DataTypeDictionary nodeId=NodeId{ns=4, id=NX}

java.util.concurrent.CompletionException: javax.xml.bind.UnmarshalException

- with linked exception:

[org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.]

        at java.util.concurrent.CompletableFuture.encodeRelay(CompletableFuture.java:326)

        at java.util.concurrent.CompletableFuture.completeRelay(CompletableFuture.java:338)

        at java.util.concurrent.CompletableFuture.uniRelay(CompletableFuture.java:911)

        at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:953)

        at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:926)

        at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)

        at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:561)

        at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:929)

        at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:443)

        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)

        at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)

        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)

        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)

Caused by: javax.xml.bind.UnmarshalException: null

        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:335)

        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:578)

        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:264)

        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:229)

        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)

        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:204)

        at org.eclipse.milo.opcua.binaryschema.parser.BsdParser.parse(BsdParser.java:42)

        at org.eclipse.milo.opcua.sdk.client.DataTypeDictionaryReader.createDataTypeDictionary(DataTypeDictionaryReader.java:251)

        at org.eclipse.milo.opcua.sdk.client.DataTypeDictionaryReader.lambda$readDataTypeDictionary$6(DataTypeDictionaryReader.java:134)

        at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:952)

        ... 9 common frames omitted

Caused by: org.xml.sax.SAXParseException: Premature end of file.

        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)

 

There seems to be issue about this that the situation is now logged as warning:

https://github.com/eclipse/milo/issues/576

 

Should I assume that there is something wrong with PLC’s UA server ?

I tried to look at it with UA Expert, but didn’t figure out much.

 

   Ari S.

 

 


Back to the top