File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 11278
    
  59

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
     
    Similar Threads
    problem with insert and select
    What is error?
    Can't get MVC through RMI
    Trying to change the text on a button when clicked - crasches....
    nullPointerException on entity manager methods