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 Building Microservices this week in the Design 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: 32508
    
214

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


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
 
Have you checked out Aspose?
 
subject: RMI:at client side getting exceptrion like java.io.NotSerializableException
 
jQuery in Action, 3rd edition