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

Adam Saghy resolved FINERACT-2756.
----------------------------------
    Resolution: Fixed

> NPE during concurrent express query cache invocation
> ----------------------------------------------------
>
>                 Key: FINERACT-2756
>                 URL: https://issues.apache.org/jira/browse/FINERACT-2756
>             Project: Apache Fineract
>          Issue Type: Improvement
>    Affects Versions: 1.11.0, 1.10.1, 1.12.1, 1.13.0, 1.14.0, 1.15.0
>            Reporter: Adam Saghy
>            Assignee: Adam Saghy
>            Priority: Major
>             Fix For: 1.16.0
>
>
> Issue
>  * The derived query causes intermittent EclipseLink-6168 errors (NPE and 
> ArrayIndexOutOfBoundsException during query preparation)
>  * This is a known EclipseLink thread-safety issue in ConcurrentFixedCache 
> ([Intermittent NullPointerException in ConcurrentFixedCache.get [v2.6.7] 
> eclipse-ee4j/eclipselink#2374|https://github.com/eclipse-ee4j/eclipselink/issues/2374])
>  that affects derived query preparation under concurrent access
> Fix:
>  * Replace Spring Data derived query with explicit @Query JPQL 
>  * Using explicit JPQL bypasses the derived query preparation code path 
> entirely
> Also: https://github.com/eclipse-ee4j/eclipselink/pull/2807 



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

Reply via email to