File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.rmi.MarshalException

 
Tony May
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am calling a session bean which is returning an ArrayList of java beans. On attempting to return the ArrayList I get the following error
java.rmi.MarshallException : CORBA MARHSALL 0 No
Could someone enlighten me as to why I might be getting the error. Any help appreciated
Tony
 
Dave Van Even
Ranch Hand
Posts: 101
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
perhaps because an ArrayList does't implement java.io.Serializable and thus Marshalling an ArrayList to be able to be transfered over RMI/IIOP throws an exception ???
Confirm, anybody ?
 
Tony May
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An ArrayList does implement the java.io.Serializable interface !
 
Tony May
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An ArrayList does implement the java.io.Serializable interface ! As does the javabeans I am filling the ArrayList with
 
Mon Mayor
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try returning Collection interface.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic