8000 fixed serialisation error when persisting TGT since keySet returns non-s... by tptodorov · Pull Request #667 · apereo/cas · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fixed serialisation error when persisting TGT since keySet returns non-s... #667

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

Closed
wants to merge 1 commit into from

Conversation

tptodorov
Copy link

...erializable view - create a copy of the returned set view.

…n-serializable view - create a copy of the returned set view.
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling f1aae8d on tptodorov:master into 4420059 on Jasig:master.

@leleuj
Copy link
Contributor
leleuj commented Aug 20, 2014

What's the exception returned? I think the problem is related to immutable collections, isn't it?

In that case, the problem should be fixed by making Kryo able to handle immutable collections. I think we already have a JIRA to upgrade Kryo library version to make that easy.

@mmoayyed
Copy link
Member

Agreed with @leleuj We do have an issue here, which should be fixed at the kyro level.

@tptodorov
Copy link
Author

The exception was NotSerializableException and from debugging cas, I found it is caused by non serializable keySet.
With the implemented fix, serialization works.
I'm using Cas 4.0.0.

@leleuj
Copy link
Contributor
leleuj commented Aug 21, 2014

Indeed, but it's a too limited fix, which won't work for other immutable collections.

I'm closing this PR and will address #495 instead in a few weeks.

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

Successfully merging this pull request may close these issues.

4 participants
0