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

Serialization issue with TwoBitFile #1610

Closed
fnothaft opened this Issue Jul 19, 2017 · 0 comments

Comments

Projects
2 participants
@fnothaft
Member

fnothaft commented Jul 19, 2017

Caused by: java.io.NotSerializableException: java.nio.HeapByteBuffer
Serialization stack:
        - object not serializable (class: java.nio.HeapByteBuffer, value: java.nio.HeapByteBuffer[pos=0 lim=775499486 cap=775499486])
        - field (class: org.bdgenomics.adam.util.TwoBitFile, name: bytes, type: class java.nio.ByteBuffer)
        - object (class org.bdgenomics.adam.util.TwoBitFile, org.bdgenomics.adam.util.TwoBitFile@249f95a2)
        - field (class: $iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC, name: refFile, type: interface org.bdgenomics.adam.util.ReferenceFile)

I believe the fix is marking bytes transient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment