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

1 回表示 (過去 30 日間)
Yuriy
Yuriy 2013 年 11 月 7 日
回答済み: pengze zhu 2020 年 6 月 8 日
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 Center および File ExchangeUnified Architecture についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by