File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
md basha
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 33684
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are the entires in your HashMap serializable? In other words do they implement the Serializable interface?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic