Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

ArrayIndexOutOfBoundsException in flash context ? #4402

Open
demanzano opened this issue Jul 22, 2019 · 2 comments
Open

ArrayIndexOutOfBoundsException in flash context ? #4402

demanzano opened this issue Jul 22, 2019 · 2 comments

Comments

@demanzano
Copy link

Hi!

I'm using JSF Mojarra 2.3.9.SP01 (integrated in Wildfly 16.0.0) and since yesterday I'm having many of these messages in WF log:

arraycopy: last source index 16 out of bounds for byte[15]: java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 16 out of bounds for byte[15] at java.base/java.lang.System.arraycopy(Native Method) at [email protected]//com.sun.faces.util.ByteArrayGuardAESCTR.decrypt(ByteArrayGuardAESCTR.java:133) at [email protected]//com.sun.faces.context.flash.ELFlash$PreviousNextFlashInfoManager.decode(ELFlash.java:1391) at [email protected]//com.sun.faces.context.flash.ELFlash.getCurrentFlashManager(ELFlash.java:1214) at [email protected]//com.sun.faces.context.flash.ELFlash.doPrePhaseActions(ELFlash.java:618) at [email protected]//com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:190) at [email protected]//com.sun.faces.lifecycle.Phase.doPhase(Phase.java:74) at [email protected]//com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:109) at [email protected]//com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177) at [email protected]//javax.faces.webapp.FacesServlet.executeLifecyle(FacesServlet.java:707)
I have no idea what happens, seems like a bug in flash context support, but I've never seen it in more than 2 years I'm using WF 10+

I also tried to upgrade to latest WF 17.0.1 with Mojarra 2.3.9.SP02 but no luck..
My app is using Primefaces 6.2.22 too.

Any idea is much welcome !

Thanks!

Ale

@leandrohsilveira
Copy link

Same here.
WildFly 17.0.1 with Mojarra 2.3.9.SP02.

PrimeFaces 6.2, OmniFaces 3.2 and PrettyFaces 3.4.1.Final.

@chrjohn
Copy link

chrjohn commented Jan 23, 2020

Isn't this the same as #4386 ? Seems to be related to invalid cookie data.

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

No branches or pull requests

3 participants