wood burning stoves*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMI:at client side getting exceptrion like java.io.NotSerializableException