Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Serializable Exception #100

Open
expertise opened this issue Nov 29, 2012 · 1 comment
Open

Not Serializable Exception #100

expertise opened this issue Nov 29, 2012 · 1 comment

Comments

@expertise
Copy link

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.

@jankotek
Copy link
Owner

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:
#100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants