This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages 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: 34973
379
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