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

Deserialization through ::.readObject of collection containing null element causes scala.MatchError: null #5262

Closed
scabug opened this issue Dec 1, 2011 · 2 comments
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented Dec 1, 2011

Deserialization of List(1,2,null,4) causes Exception in thread "main" scala.MatchError: null
at scala.collection.immutable.$colon$colon.readObject(List.scala:407)

Please see attached ListSerializationError.scala that illustrates this problem.
Reproduced both on Scala 2.9.1.final and 2.8

@scabug
Copy link
Author

scabug commented Dec 1, 2011

Imported From: https://issues.scala-lang.org/browse/SI-5262?orig=1
Reporter: Jarosław Wosik (roeoender)
Affected Versions: 2.9.1
Attachments:

@scabug scabug closed this as completed Jan 23, 2012
@scabug
Copy link
Author

scabug commented Dec 28, 2012

Stone Gao (stonegao) said:
Which Scala version got this bug fixed? I tried 2.9.2, still exists

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

No branches or pull requests

2 participants