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

ArrayIndexOutOfBoundsException in flash context ? #4402

@demanzano

Description

@demanzano

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 com.sun.jsf-impl@2.3.9.SP01//com.sun.faces.util.ByteArrayGuardAESCTR.decrypt(ByteArrayGuardAESCTR.java:133) at com.sun.jsf-impl@2.3.9.SP01//com.sun.faces.context.flash.ELFlash$PreviousNextFlashInfoManager.decode(ELFlash.java:1391) at com.sun.jsf-impl@2.3.9.SP01//com.sun.faces.context.flash.ELFlash.getCurrentFlashManager(ELFlash.java:1214) at com.sun.jsf-impl@2.3.9.SP01//com.sun.faces.context.flash.ELFlash.doPrePhaseActions(ELFlash.java:618) at com.sun.jsf-impl@2.3.9.SP01//com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:190) at com.sun.jsf-impl@2.3.9.SP01//com.sun.faces.lifecycle.Phase.doPhase(Phase.java:74) at com.sun.jsf-impl@2.3.9.SP01//com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:109) at com.sun.jsf-impl@2.3.9.SP01//com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177) at javax.faces.api@2.3.9.SP01//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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions