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)
0 个评论
回答(2 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!