Quark

Quark

143M Downloads

Shift+T kicks clients on recent versions of SpongeForge

Lemmmy opened this issue ยท 5 comments

commented

When using Shift+T on a server running SpongeForge, the client will get kicked, with this error printed in the console:

[11:23:34] [Netty Epoll Server IO #11/ERROR] [FML]: SimpleChannelHandlerWrapper exception
java.lang.IllegalStateException: CauseStackManager called from off main thread (current='Thread{class=class java.lang.Thread, name=Netty Epoll Server IO #11, priority=5, group=net.minecraftforge.fml.common.thread.SidedThreadGroup[name=SERV
ER,maxpri=10]}', expected='Thread{class=class java.lang.Thread, name=Server thread, priority=5, group=net.minecraftforge.fml.common.thread.SidedThreadGroup[name=SERVER,maxpri=10]}')!
        at org.spongepowered.common.event.SpongeCauseStackManager.enforceMainThread(SpongeCauseStackManager.java:84) ~[SpongeCauseStackManager.class:1.12.2-2705-7.1.0-BETA-3355]
        at org.spongepowered.common.event.SpongeCauseStackManager.pushCauseFrame(SpongeCauseStackManager.java:180) ~[SpongeCauseStackManager.class:1.12.2-2705-7.1.0-BETA-3355]
        at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:337) ~[SpongeModEventManager.class:1.12.2-2705-7.1.0-BETA-3355]
        at org.spongepowered.mod.event.SpongeModEventManager.extendedPost(SpongeModEventManager.java:435) ~[SpongeModEventManager.class:1.12.2-2705-7.1.0-BETA-3355]
        at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:404) ~[SpongeModEventManager.class:1.12.2-2705-7.1.0-BETA-3355]
        at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:447) ~[SpongeEventManager.class:1.12.2-2705-7.1.0-BETA-3355]
        at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:225) ~[SpongeImpl.class:1.12.2-2705-7.1.0-BETA-3355]
        at org.spongepowered.common.text.chat.ChatUtil.sendMessage(ChatUtil.java:60) ~[ChatUtil.class:1.12.2-2705-7.1.0-BETA-3355]
        at net.minecraft.server.management.PlayerList.func_148544_a(PlayerList.java:2091) ~[pl.class:?]
        at vazkii.quark.management.feature.LinkItems.linkItem(LinkItems.java:61) ~[LinkItems.class:?]
        at vazkii.quark.base.network.message.MessageLinkItem.handleMessage(MessageLinkItem.java:31) ~[MessageLinkItem.class:?]
        at vazkii.arl.network.NetworkMessage.onMessage(NetworkMessage.java:57) ~[NetworkMessage.class:?]
        at vazkii.arl.network.NetworkMessage.onMessage(NetworkMessage.java:30) ~[NetworkMessage.class:?]
        at net.minecraftforge.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:56) ~[SimpleChannelHandlerWrapper.class:?]
        at net.minecraftforge.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper.channelRead0(SimpleChannelHandlerWrapper.java:36) ~[SimpleChannelHandlerWrapper.class:?]
        at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) ~[SimpleChannelInboundHandler.class:?]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [AbstractChannelHandlerContext.class:?]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [AbstractChannelHandlerContext.class:?]

This could equally be a Sponge bug, however I think it is likely to be a Quark bug - is Quark handling this message in the networking thread?

commented

This is caused by #1102

commented

What version of MC, Sponge, Quark, ARL, and Forge are you and the server running?

commented
Minecraft: 1.12.2
SpongeAPI: 7.1.0-SNAPSHOT-51caddf
SpongeForge: 1.12.2-2705-7.1.0-BETA-3355
Minecraft Forge: 14.23.4.2705

Quark-r.1.4-125
AutoRegLib-1.3-18

commented

Are they any other mods installed? If, so what are they (include version please).
Edit: Also, the steps to reproduce issue. Like what item where you trying to link to chat?
Edit Edit: Also, are there any changes to quark config.

commented

If you can't reproduce this using forge only, you should report it to sponge.