Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.rmi.UnmarshalException: error unmarshalling return USING NetBeans

 
George Flores
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 11854
185
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  •  
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic