Skip to content

Serializer Exception causes deadlock in sync queries #600

Open
@konsultaner

Description

@konsultaner

I try to switch from arangodb 3.9 to 3.12 and therfore updated to the latest driver version. I have a couple of synced query executions. One recently ended up onto a deadlock situation with the following error:

No serializer found for class Component$CookingInstruction and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_B
EANS) 

WARN  i.v.core.impl.BlockedThreadChecker - Thread Thread[adb-http-0,5,main] has been blocked for 2437 ms, time limit is 2000 ms

...

io.vertx.core.VertxException: Thread blocked

The issue was a static class that had only no field visibility definitions.

public static class MyBean {
    String name;
}

It's ok that the class causes the bean serializer issue, but I think the deadlock should not happen.

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