Skip to content

Concurrency error causes IllegalStateException on BeanPropertyMap #2027

@franboragina

Description

@franboragina

Hi,
I suspect a concurrency error maybe similar to Issue #1578.
It appears randomly on fresh tomcat startup, with first REST calls through CXF jaxrs.
I was not able to reproduce on development environment.

BeanPropertyMap.java - line 728:
throw new IllegalStateException("Illegal state: property '"+prop.getName()+"' missing from _propsInOrder");

Somewhere _hashArea and _propsInOrder are losing the correlativity objects they own.

The only clue:

Debugging I have seen in both arrays an "@id" ObjectIdValueProperty bean but different objects in memory,
so that
if (_propsInOrder[i] == prop) {
miserably fails :(
(BeanPropertyMap.java - line 724)

Files attached:

  1. StackTraceError.log
    error.log

  2. The JSON received. (It is always the same json and the same java model.)
    response.json.log

  3. The Customized ObjectMapper we use
    CustomObjectMapper.java.log

I hope your help, thank you very much

Sorry for my English!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions