aspose file tools*
The moose likes Distributed Java and the fly likes java.rmi.UnmarshalException: error unmarshalling return USING NetBeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "java.rmi.UnmarshalException: error unmarshalling return USING NetBeans" Watch "java.rmi.UnmarshalException: error unmarshalling return USING NetBeans" New topic
Author

java.rmi.UnmarshalException: error unmarshalling return USING NetBeans

George Flores
Greenhorn

Joined: Dec 28, 2010
Posts: 1
I have 2 packages the server and client running both on my machine using netbeans 6.9.1 (java 6 update 23 running on Win7 32 bit)
why is it that every time I invoke the method call(the class below)



it always has this error



This is my implementation on the server side:



Can anyone help me please???
Noob here. thanks
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11481
    
  94

The first few lines of your stack trace show:

To fix this, you probably need to do one of:
  • bypass the dynamic class loader (by pre-creating the RMI stubs and including them in the client-side code), or
  • include a security manager


  • The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: java.rmi.UnmarshalException: error unmarshalling return USING NetBeans