Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
md basha
Greenhorn
Posts: 1
  • 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: 34839
369
Eclipse IDE Java VI Editor
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic