Skip to content
This repository was archived by the owner on Sep 8, 2023. It is now read-only.
This repository was archived by the owner on Sep 8, 2023. It is now read-only.

FlatBuffers: object serialization must not be nested. #44

@Jaxkr

Description

@Jaxkr
[03:03:18 WARN]: Exception in thread "Thread-5" java.lang.AssertionError: FlatBuffers: object serialization must not be nested.
[03:03:18 INFO]: Done (6.876s)! For help, type "help"
[03:03:18 WARN]:        at WorldQLClient-1.0-SNAPSHOT.jar//com.google.flatbuffers.FlatBufferBuilder.notNested(FlatBufferBuilder.java:688)
[03:03:18 WARN]:        at WorldQLClient-1.0-SNAPSHOT.jar//com.google.flatbuffers.FlatBufferBuilder.startTable(FlatBufferBuilder.java:744)
[03:03:18 WARN]:        at WorldQLClient-1.0-SNAPSHOT.jar//com.worldql.client.Messages.Message.startMessage(Message.java:48)
[03:03:18 WARN]:        at WorldQLClient-1.0-SNAPSHOT.jar//com.worldql.client.serialization.Codec.encodeMessage(Codec.java:134)
[03:03:18 WARN]:        at WorldQLClient-1.0-SNAPSHOT.jar//com.worldql.client.serialization.Message.encode(Message.java:186)
[03:03:18 INFO]: Timings Reset
[03:03:18 WARN]:        at WorldQLClient-1.0-SNAPSHOT.jar//com.worldql.client.ZeroMQServer.run(ZeroMQServer.java:45)
[03:03:18 WARN]:        at java.base/java.lang.Thread.run(Thread.java:833)

Caused by

WorldQLClient.getPluginInstance().getPushSocket().send(message.encode(), ZMQ.DONTWAIT);

Strangely this is intermittent and I can't figure out how to consistently reproduce it. Perhaps improper use of Flatbuffers in the serialization.Message class?

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