[Lists] The FQM returns 500s - modules are not configured properly

Description

ENV: Sunflower ECS and non-ECS

PRE-CONDITION: Login to the FOLIO as an Admin user

STEPS.

  1. Open the network=> devtools

  2. Open the “Lists” app => The API

https://kong-bugfest-sunflower-consortium.int.aws.folio.org/lists?updatedAsOf=2025-03-26T12%3A52%3A08Z returns 500s

  1. Open the QB

  2. Run any query using any of the ETs

ACTUAL RESULT:

https://kong-bugfest-sunflower-consortium.int.aws.folio.org/query/query-ID returns 500( or it’s canceled)

LOGS

2025-03-26T10:59:11.425Z 2025-03-26T10:59:11.424+0000 [177426/mod-lists;723179/query;567069/mod-fqm-manager] [cs00000int] [da2809d0-7767-45b9-83c1-c5ea6ca0c74d] [mod-fqm-manager] ERROR FqmExceptionHandler  Request failed with an unhandled exception. URL: POST /query/contents. Failure reason:

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1

    at java.base/java.util.ImmutableCollections$ListN.get(Unknown Source) ~[?:?]

    at org.folio.fqm.repository.ResultSetRepository.buildWhereClause(ResultSetRepository.java:247) ~[!/:4.0.0]

    at org.folio.fqm.repository.ResultSetRepository.getResultSet(ResultSetRepository.java:77) ~[!/:4.0.0]

    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]

    at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]

 

2025-03-26T11:01:35.221Z 2025-03-26T11:01:34.590+0000 [] [] [] [] ERROR FqmExceptionHandler  Request failed with an unhandled exception. URL: GET /query/5c9d241c-f28f-4727-8e40-0ee98bb7c521. Failure reason:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.folioExecutionContext' defined in class path resource [org/folio/spring/scope/FolioExecutionScopeConfig.class]: Metaspace

    at org.jooq_3.18.4.POSTGRES.debug(Unknown Source) ~[?:?]

 

Based on Corsair dev + SM discussions - xmx and metaspace are incorrect -

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

3

Checklist

hide

Activity

Show:

Emma_Haroyan4 days ago

guys, thank you so much. We really appreciate how quickly you handled this, all looks fine

Denis4 days ago

Hi , could you please verify and close if the issue is resolved?

Maksym Sinichenkolast month

Artem Akimovlast month

Thanks for well crafted ticket!
We will review configuration for ALL modules for this ticket.

Done

Details

Assignee

Reporter

Priority

Development Team

EBSCO - FSE

RCA Group

Environmental/deployment issue

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created last month
Updated 18 hours ago
Resolved 4 days ago
TestRail: Cases
TestRail: Runs