File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes RMI:at client side getting exceptrion like java.io.NotSerializableException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "RMI:at client side getting exceptrion like java.io.NotSerializableException" Watch "RMI:at client side getting exceptrion like java.io.NotSerializableException" New topic
Author

RMI:at client side getting exceptrion like java.io.NotSerializableException

md basha
Greenhorn

Joined: Apr 02, 2012
Posts: 1
i am getting following exception when i run client to access remote object , actually one of my argument i am passing is hashmap to remote object.



java.rmi.MarshalException: error marshalling arguments; nested exception is:
java.io.NotSerializableException: org.openqa.selenium.firefox.FirefoxDriver
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30057
    
149

Are the entires in your HashMap serializable? In other words do they implement the Serializable interface?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: RMI:at client side getting exceptrion like java.io.NotSerializableException
 
Similar Threads
RMI:at client side getting exceptrion like java.io.NotSerializableException
Error returning object from Remote method
returning a resultset in rmi
rmi Exception
getDataAccessObject failed