Ping (Plugin) Exception


it’s me again with coding confusions…

i built a new (perhaps better) Ping node thats works like a charm on 2 of my computers … but on the third one, there’s an exception:

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei VVVV.Nodes.NetworkPingNode.p_PingCompleted(Object sender, PingCompletedEventArgs e)
bei System.Net.NetworkInformation.Ping.OnPingCompleted(PingCompletedEventArgs e)
bei System.Net.NetworkInformation.Ping.PingCompletedWaitCallback(Object operationState)

any hints on how to avoid this?

many thanks,
sebl (22.6 kB)

cleaner version: (50.5 kB)


does the node work _not_on any of your computers?

hm the PingCompleted event gets raised from a different thread, right? accessing memory (your pins) from two different threads without any synchronization mechanism at all is not a good idea…