When I try to expand the node in the hierarchical namespace view of the opctool, opctool is hanged. Why?

조회 수: 1 (최근 30일)
P.S. I try to perform this tutorial http://www.mathworks.com/help/opc/ug/example-basic-opc-toolbox-acquisition-procedure-using-the-opc-tool-gui.html Following errors popped up in matlab command window, when opctool is hanged:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at com.mathworks.toolbox.opc.ServerNamespaceClient.addNodesToTree(ServerNamespaceClient.java:904) at com.mathworks.toolbox.opc.ServerNamespaceClient.updateSNSTree(ServerNamespaceClient.java:990) at com.mathworks.toolbox.opc.ServerNamespaceClient.updateGuiSNSFn(ServerNamespaceClient.java:998) at com.mathworks.toolbox.opc.ServerNamespaceClient.access$200(ServerNamespaceClient.java:25) at com.mathworks.toolbox.opc.ServerNamespaceClient$Guisnsfn.matlabEvent(ServerNamespaceClient.java:1271) at com.mathworks.jmi.MatlabMCR$AWTReplyEvent.run(MatlabMCR.java:1675) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

답변 (2개)

kunber kunber
kunber kunber 2014년 2월 13일
Exactly same situation here. Anyone could offer a solution? Thanks.

pengze zhu
pengze zhu 2020년 6월 8일
Same situation +1. I got the same situation too.

카테고리

Help CenterFile Exchange에서 Unified Architecture에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by