milo - Throws UaException for getting BuildInfo with Kepware UA server -
i use readnodeexample class try node info of kepware ua server. fine buildinfo, , following exception:
19:00:32.723 [main] error clientexamplerunner - error running client example: uaexception: status=bad_notfound, message=a requested item not found or search operation ended without success. java.util.concurrent.executionexception: uaexception: status=bad_notfound, message=a requested item not found or search operation ended without success. @ java.util.concurrent.completablefuture.reportget(completablefuture.java:357) @ java.util.concurrent.completablefuture.get(completablefuture.java:1895) @ readnodeexample.run(readnodeexample.java:52) @ clientexamplerunner.run(clientexamplerunner.java:88) @ readnodeexample.main(readnodeexample.java:22) caused by: org.eclipse.milo.opcua.stack.core.uaexception: status=bad_notfound, description=a requested item not found or search operation ended without success. @ org.eclipse.milo.opcua.stack.core.util.futureutils.faileduafuture(futureutils.java:99) @ org.eclipse.milo.opcua.stack.core.util.futureutils.faileduafuture(futureutils.java:87) @ org.eclipse.milo.opcua.sdk.client.nodes.uavariablenode.lambda$gettypedefinition$6(uavariablenode.java:114) @ java.util.concurrent.completablefuture.unicompose(completablefuture.java:952) @ java.util.concurrent.completablefuture$unicompose.tryfire(completablefuture.java:926) @ java.util.concurrent.completablefuture.postcomplete(completablefuture.java:474) @ java.util.concurrent.completablefuture.complete(completablefuture.java:1962) @ org.eclipse.milo.opcua.stack.client.uatcpstackclient.lambda$receiveresponse$13(uatcpstackclient.java:294) @ org.eclipse.milo.opcua.stack.core.util.executionqueue$pollandexecute.run(executionqueue.java:107) @ java.util.concurrent.executors$runnableadapter.call(executors.java:511) @ java.util.concurrent.futuretask.run(futuretask.java:266) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) @ java.lang.thread.run(thread.java:745) and here's result of full serverstatus:
19:00:31.549 [main] info readnodeexample - serverstatus=serverstatusdatatype{starttime=datetime{utctime=131455372857187500, javadate=wed jul 26 18:08:05 cst 2017}, currenttime=datetime{utctime=131455404299062500, javadate=wed jul 26 19:00:29 cst 2017}, state=running, buildinfo=buildinfo{producturi=urn:win-s8jcn9r7pfa:kepware.kepserverex.v6:ua%20server, manufacturername=kepware, productname=kepserverex, softwareversion=6.2, buildnumber=460, builddate=datetime{utctime=131433109160000000, javadate=fri jun 30 23:41:56 cst 2017}}, secondstillshutdown=0, shutdownreason=localizedtext{text=null, locale=null}} i'm not sure whether problem due kepware or milo client itself.
it's bit complicated, problem kepware's buildinfo node doesn't have required hastypedefinition reference pointing buildinfotype variabletype.
Comments
Post a Comment