# Notify proxy from remote object impossible, vtkProcessModule::GetGlobalController() is NULL

**URL:** https://discourse.paraview.org/t/notify-proxy-from-remote-object-impossible-vtkprocessmodule-getglobalcontroller-is-null/876
**Category:** ParaView Support
**Created:** [November 9, 2018, 8:07pm UTC](https://discourse.paraview.org/t/notify-proxy-from-remote-object-impossible-vtkprocessmodule-getglobalcontroller-is-null/876 "2018-11-09T20:07:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Patrick](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/p/b2d939/32.png) [@Patrick](https://discourse.paraview.org/u/Patrick)
#### Post date: [November 9, 2018, 8:07pm UTC](https://discourse.paraview.org/t/notify-proxy-from-remote-object-impossible-vtkprocessmodule-getglobalcontroller-is-null/876/1 "2018-11-09T20:07:42Z")

</div>

Hello,  
I try to send a notification from a server side object to it’s client side proxy.

In the server side object I execute:  
vtkPVSessionBase \*session=vtkPVSessionBase::SafeDownCast(  
vtkProcessModule::GetProcessModule()-\>GetSession()  
);  
vtkSMMessage msg;  
msg.set\_global\_id(theproxyid);  
msg.set\_location(vtkPVSession::CLIENT);  
session-\>NotifyAllClients(&msg);

In the client side proxy I execute:  
vtkMultiProcessController \*ctrl=vtkProcessModule::GetProcessModule()-\>GetGlobalController();  
if (!ctrl)  
ctrl-\>AddRMICallback(&RMICallback, this, vtkPVSessionServer::SERVER\_NOTIFICATION\_MESSAGE\_RMI);

Are the steps more or less correct?  
The problem is that the call to GetGlobalController() from the proxy always returns NULL.  
How can I fix this so that I am able to notify the proxy from it’s remote object?

Thanks  
Patrick
