Corrected bug for returning null values in Proxy.java