Reputation: 1357
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(Hacks.java:432)
at org.omnifaces.viewhandler.OmniViewHandler.unloadView(OmniViewHandler.java:134)
at org.omnifaces.viewhandler.OmniViewHandler.restoreView(OmniViewHandler.java:101)
at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:97)
Please note that this is not a bug report, it's just a question. Should omnifaces 2.x work with jsf 2.3?
Upvotes: 1
Views: 131