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

2 views (last 30 days)
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)

Answers (2)

kunber kunber
kunber kunber on 13 Feb 2014
Exactly same situation here. Anyone could offer a solution? Thanks.

pengze zhu
pengze zhu on 8 Jun 2020
Same situation +1. I got the same situation too.

Community Treasure Hunt

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

Start Hunting!