Re: java.lang.InstantiationException:$Proxy0

lachhman <[email protected]> Mon, 9 Feb 2009 15:17:56 -0800
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
I mentioned in my reply "As I understand, there is no issue of codebase
property as the sender is able to get the stub from Naming.lookup(args) and
call remote method on this stub." 

Client is successfully calling remote methods on obtained stub, which means
Client JVM  had got stub definition (from local classpath or using  codebase
property) and deserialized the stub sent by the registry. 

In the code, I have not shown the remote method calls on obtained stub, but
I have checked these are called successfully(thus no exception like
ClassNotFound/XXX_StubNotFound something).  


lachhman wrote:
> 
> Hi,
> 
> I am getting this exception(java.lang.InstantiationException:$Proxy0)
> while reconstructing the stub/proxy from the Class instance of stub/proxy.
> 
> Regards,
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/java.lang.InstantiationException%3A%24Proxy0-tp21899006p21924368.html
Sent from the Java - RMI mailing list archive at Nabble.com.

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html