Menu

#2565 AMedia: java.io.NotSerializableException: FileInputStream

5.0.6
closed
nobody
Clustering (13)
5
2011-04-06
2011-04-05
Phuc HN
No

InputStream in AMedia can't serialize when working in clustering. Please transient it.

Discussion

  • Tom M. Yeh

    Tom M. Yeh - 2011-04-06
    • status: open --> closed
     
  • Tom M. Yeh

    Tom M. Yeh - 2011-04-06

    Fixed since 4/6/2011

     
  • Tom M. Yeh

    Tom M. Yeh - 2011-04-06
    • summary: java.io.NotSerializableException: java.io.FileInputStream --> AMedia: java.io.NotSerializableException: FileInputStream
     
  • Tom M. Yeh

    Tom M. Yeh - 2011-04-06

    Notice that I made them protected and transient, and the user has to extend it and handle the serialization of _isdata (or _rddata) manually (since there is no generic and efficient way to handle it at the framework level). Otherwise, it will become null after de-serialized back.

     

Log in to post a comment.

MongoDB Logo MongoDB