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

java.lang.ClassCastException: [B cannot be cast to java.lang.Integer at org.omnifaces.util.Hacks.removeViewState #444

BalusC opened this Issue Mar 24, 2018 · 1 comment


None yet
1 participant
Copy link

commented Mar 24, 2018

I'm trying to upgrade myfaces to latest version (without the whole java EE 8 stack, since tomee 8 is still not released).

It seems to work fine in most of the cases, however refreshing some pages throws this error

java.lang.ClassCastException: [B cannot be cast to java.base/java.lang.Integer
at org.omnifaces.util.Hacks.removeViewState(
at org.omnifaces.viewhandler.OmniViewHandler.unloadView(
at org.omnifaces.viewhandler.OmniViewHandler.restoreView(
at javax.faces.application.ViewHandlerWrapper.restoreView(

BalusC added a commit that referenced this issue Mar 24, 2018


This comment has been minimized.

Copy link
Member Author

commented Mar 24, 2018

Fixed in 2.6.9-SNAPSHOT

@BalusC BalusC closed this Mar 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.