JDBM3 icon indicating copy to clipboard operation
JDBM3 copied to clipboard

Not Serializable Exception

Open expertise opened this issue 13 years ago • 1 comments

Steps

  1. Create hash map using DBMaker
  2. Put any serialized object into hash map
  3. Call commit on DB.

Error: Caused by: java.io.NotSerializableException: sun.nio.ch.FileChannelImpl at org.apache.jdbm.SerialClassInfo.assertClassSerializable(SerialClassInfo.java:327)

Can you please help.

expertise avatar Nov 29 '12 11:11 expertise

You have to implement Serializable interface.

Connected by MOTOBLUR™

-----Original message----- From: expertise [email protected] To: jankotek/JDBM3 [email protected] Sent: Thu, 29 Nov 2012, 11:40:35 GMT Subject: [JDBM3] Not Serializable Exception (#100)

Steps

  1. Create hash map using DBMaker
  2. Put any serialized object into hash map
  3. Call commit on DB.

Error: Caused by: java.io.NotSerializableException: sun.nio.ch.FileChannelImpl at org.apache.jdbm.SerialClassInfo.assertClassSerializable(SerialClassInfo.java:327)

Can you please help.


Reply to this email directly or view it on GitHub: https://github.com/jankotek/JDBM3/issues/100

jankotek avatar Nov 29 '12 15:11 jankotek