[ 
https://issues.apache.org/jira/browse/CAUSEWAY-3876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brian Kalbfus updated CAUSEWAY-3876:
------------------------------------
    Description: 
Error occurs when a cacheable action tries to combine the arguments array with 
the POJO array:
{color:#000000}java.lang.ArrayStoreException: arraycopy: element type mismatch: 
can not cast one of the elements of java.lang.Object[] to the type of the 
destination array, java.lang.String{color}

{color:#000000} at java.base/java.lang.System.arraycopy(Native Method){color}

{color:#000000} at 
org.apache.causeway.commons.internal.collections._Arrays.combine(_Arrays.java:198){color}

{color:#000000} at 
org.apache.causeway.core.metamodel.execution.ActionExecutor.invokeMethodElseFromCache(ActionExecutor.java:223){color}

 

  was:Error occurs when a cacheable action tries to combine the arguments array 
with the POJO array:


> Array type error in actions with semantics of SAFE_AND_REQUEST_CACHEABLE
> ------------------------------------------------------------------------
>
>                 Key: CAUSEWAY-3876
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3876
>             Project: Causeway
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.2.0
>         Environment: Windows 11, JDK 21.0.6.7
>            Reporter: Brian Kalbfus
>            Priority: Major
>
> Error occurs when a cacheable action tries to combine the arguments array 
> with the POJO array:
> {color:#000000}java.lang.ArrayStoreException: arraycopy: element type 
> mismatch: can not cast one of the elements of java.lang.Object[] to the type 
> of the destination array, java.lang.String{color}
> {color:#000000} at java.base/java.lang.System.arraycopy(Native Method){color}
> {color:#000000} at 
> org.apache.causeway.commons.internal.collections._Arrays.combine(_Arrays.java:198){color}
> {color:#000000} at 
> org.apache.causeway.core.metamodel.execution.ActionExecutor.invokeMethodElseFromCache(ActionExecutor.java:223){color}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to