Hi,
you need to construct your array with....
myArray = new int[4];
in your ProxyServer() constructor before you assign values to it.
Also, you should probably declare
public int[] ProxyServer.getArray()
as
public int[] getArray()
(I'm assuming that long-term, you don't intend it to...