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

FlatBuffers: object serialization must not be nested. #44

Open
Jaxkr opened this issue Dec 15, 2021 · 0 comments
Open

FlatBuffers: object serialization must not be nested. #44

Jaxkr opened this issue Dec 15, 2021 · 0 comments

Comments

@Jaxkr
Copy link
Member

Jaxkr commented Dec 15, 2021

[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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant