Handle NullPointerException in mod-ebsconet

Description

During test designed according to this document https://folio-org.atlassian.net/wiki/display/DD/EBSCONET+order+renewal+integration+testing

we've faced with NullPointerException which leads to 422 response error on client side 

full log:

10:49:07 [${FolioLoggingContext:requestid}] [${FolioLoggingContext:tenantid}] [${FolioLoggingContext:userid}] [${FolioLoggingContext:moduleid}] ERROR DefaultErrorHandler DefaultErrorHandler: java.lang.NullPointerException: null

10:49:07 [${FolioLoggingContext:requestid}] [${FolioLoggingContext:tenantid}] [${FolioLoggingContext:userid}] [${FolioLoggingContext:moduleid}] ERROR DefaultErrorHandler DefaultErrorHandler: UnprocessableEntity: [422 Unprocessable Entity] during [GET] to http://note-types?query=name%3D%3DGeneral%20note NoteTypeClient#getNoteTypesByQuery(String): [ { "errors": [ { "message": "org.folio.cql2pgjson.exception.CQLFeatureUnsupportedException: Relation name not implemented yet: name name note", "type": "-1", "code": "VALIDATION_ERROR" }
] }
]

 

Issue is reproducible even with two users (which is normal conditions) 

 

mod-ebsconet version 1.4.0

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

4

Checklist

hide

TestRail: Results

Activity

Show:

Roman_Fedynyshyn June 14, 2023 at 6:29 AM

Verified. Can't reproduce

Serhii_Nosko March 15, 2023 at 3:17 PM
Edited

Hi , we have tested mod-notes and mod-tags services after fix in folio-spring-base applied and have not observed issues mentioned in this ticket anymore:
https://folio-org.atlassian.net/browse/MODNOTES-256
https://folio-org.atlassian.net/browse/MODTAG-107
Fixes for these tickets already released to Orchid Bug Fix and tested, can we close this ticket or you want to retest also from your side and close?

Khamidulla Abdulkhakimov March 6, 2023 at 3:17 PM

There are dozen failures was observer when retrieving "/note-types" endpoint using jmeter(5 threads and 5000 GET requests). Also I've attached jmetter script and failed requests log.

Khamidulla Abdulkhakimov March 6, 2023 at 3:14 PM

Mikita Siadykh February 27, 2023 at 12:10 PM

not mod-ebsconet issue, should be moved to mod-notes project (Spitfire)

Done

Details

Assignee

Reporter

Priority

Sprint

Development Team

PTF

RCA Group

TBD

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created February 13, 2023 at 11:07 AM
Updated June 14, 2023 at 6:30 AM
Resolved June 14, 2023 at 6:30 AM
TestRail: Cases
TestRail: Runs