Skip to content

Execution context deserialization failure in AOT mode on second job run #4239

Closed
@goafabric

Description

@goafabric

While Spring Batch AOT in Spring Boot 3.0 already works mostly fine,
there seems to be a small problem when a job is run for the 2nd time.
The deserialisation of the executioncontext crashes.
I already tried to set hints for java.util.hashmap .. but i guess the root cause is somewhere else.

Attached are the error and an example project that works in normal mode but crahses in AOT.

Could be that this is already fixed, but at least for me latest Spring Boot 3.0 RC2 + SNAPSHOT caused the error

error.txt
Archiv.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions