[
https://issues.apache.org/jira/browse/CAUSEWAY-3876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andi Huber resolved CAUSEWAY-3876.
----------------------------------
Resolution: Resolved
fixed via PR https://github.com/apache/causeway/pull/2904
> 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
> Assignee: Andi Huber
> Priority: Major
> Fix For: 3.3.0
>
>
> 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)