eclipse-ee4j / eclipse-ee4j/jersey

Concurrency on EntityGraph initialization creates ObjectGraph without fields.

Open
#3,482 4 comments 0 reactions 0 assignees View on GitHub
Component: extensions Component: media entity-filtering Priority: Major Type: Bug
Dominant language
Java
Stars
730
Forks
382
PR merge metrics
No merged PRs in 30d

Description

The cached FilterProvider of an entity type keeps an internal state to control nested rendering. When a thread is doing a stack.clear() and at the same time another thread is doing a stack.peek() it throws an exception, causing a failure during rendering of fields at BeanSerializerBase.
#### Affected Versions
[2.22]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.