SpongeForge on FTB Beyond server crashing

I have been trying to add spongeforge to my ftb beyond server files to enable sponge plugins. Once I added the spongeforge to the server mods file it keeps crashing when trying to load the server back up.

Thank you so much for the help!

Here is the log : http://www.filedropper.com/fml-server-latest

I’m sorry that I couldn’t just paste the logs, but it said it made this post go over the character limit.

You have Applied Energistics in there, which can cause problems with Sponge. Are you aware that there’s an update that’s specifically sponge-compatible? Definitely one of the core mods is fighting with SpongeForge.

I had read that there was a problem with AE in the past but I thought it had been fixed in the main mod and didn’t know it was a separate fix.

Would you happen to have a link for the compatible version? I can’t seem to find it.

Try here: GitHub - Stonebound/Applied-Energistics-2: A Minecraft Mod about Matter, Energy and using them to conquer the world..
You can also get it from #sponge IRC by typing .ae2. HTH

That seems to have fixed it, or at least the server launches now. Thank you very much, now I just have to figure out setting up plugins with it :3. Have a good day!

Sorry to ask for help again but after booting the server and joining to make sure it was working right I tried typing in just /help to see what commands I had and got this error:

[00:27:02] [Server thread/ERROR] [Sponge/]: Error occurred while executing command ‘help’ for source EntityPlayerMP[‘MrLegacy119’/184, l=‘world’, x=-4835.17, y=65.00, z=1449.67]: com.feed_the_beast.ftbu.ranks.CmdOverride cannot be cast to net.minecraft.command.server.CommandScoreboard
java.lang.ClassCastException: com.feed_the_beast.ftbu.ranks.CmdOverride cannot be cast to net.minecraft.command.server.CommandScoreboard
at aroma1997.core.command.AromaCommand$SetupDeathCounter.getCommandScoreboard(AromaCommand.java:62) ~[AromaCommand$SetupDeathCounter.class:?]
at aroma1997.core.command.AromaCommand$SetupDeathCounter.func_184882_a(AromaCommand.java:129) ~[AromaCommand$SetupDeathCounter.class:?]
at aroma1997.core.command.AromaSubCommand.func_71518_a(AromaSubCommand.java:120) ~[AromaSubCommand.class:?]
at com.feed_the_beast.ftbu.ranks.CmdOverride.func_71518_a(CmdOverride.java:35) ~[CmdOverride.class:?]
at org.spongepowered.common.command.MinecraftCommandWrapper.getHelp(MinecraftCommandWrapper.java:189) ~[MinecraftCommandWrapper.class:1.10.2-2254-5.2.0-BETA-2257]
at org.spongepowered.common.command.MinecraftCommandWrapper.getShortDescription(MinecraftCommandWrapper.java:184) ~[MinecraftCommandWrapper.class:1.10.2-2254-5.2.0-BETA-2257]
at org.spongepowered.common.command.SpongeHelpCommand.getDescription(SpongeHelpCommand.java:93) ~[SpongeHelpCommand.class:1.10.2-2254-5.2.0-BETA-2257]
at org.spongepowered.common.command.SpongeHelpCommand.lambda$null$2(SpongeHelpCommand.java:85) ~[SpongeHelpCommand.class:1.10.2-2254-5.2.0-BETA-2257]
at com.google.common.collect.Iterators$8.transform(Iterators.java:794) ~[minecraft_server.1.10.2.jar:?]
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) ~[minecraft_server.1.10.2.jar:?]
at java.util.AbstractCollection.toArray(Unknown Source) ~[?:1.8.0_121]
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:258) ~[minecraft_server.1.10.2.jar:?]
at org.spongepowered.common.command.SpongeHelpCommand.lambda$create$3(SpongeHelpCommand.java:85) ~[SpongeHelpCommand.class:1.10.2-2254-5.2.0-BETA-2257]
at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:359) ~[CommandSpec.class:1.10.2-2254-5.2.0-BETA-2257]
at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:336) ~[SimpleDispatcher.class:1.10.2-2254-5.2.0-BETA-2257]
at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:291) ~[SpongeCommandManager.class:1.10.2-2254-5.2.0-BETA-2257]
at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:1083) ~[bd.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:913) ~[me.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:892) ~[me.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) ~[im.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) ~[im.class:?]
at org.spongepowered.common.network.PacketUtil.lambda$onProcessPacket$0(PacketUtil.java:157) ~[PacketUtil.class:1.10.2-2254-5.2.0-BETA-2257]
at org.spongepowered.common.event.tracking.CauseTracker.switchToPhase(CauseTracker.java:159) [CauseTracker.class:1.10.2-2254-5.2.0-BETA-2257]
at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:156) [PacketUtil.class:1.10.2-2254-5.2.0-BETA-2257]
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zjg000(SourceFile:539) [fl$1.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [fl$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_121]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_121]
at net.minecraft.util.Util.func_181617_a(SourceFile:45) [h.class:?]
at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:239) [SpongeImplHooks.class:1.10.2-2254-5.2.0-BETA-2257]
at net.minecraft.server.MinecraftServer.redirect$onRun$zhn000(MinecraftServer.java:3928) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]

OK, this is new. It looks like something in aroma1997.core.command is conflicting with Sponge’s MinecraftCommandWrapper. Unless a developer who can actually figure this one out chimes in shortly, I’d suggest making an issue on the SpongeForge repo.

turn off “override_commands” in the ftbutilities config, though that shouldve been fixed a while ago

1 Like

Okay so I disabled that option and restarted the server an tried /help again but got the same error. is there more than one place i need to disable it in or could something else be causing the error?

I went ahead and posted it on the repo site this morning but haven’t gotten any replies, is there a certain time you guys are working?

Everyone working on this project is a VOLUNTEER. The developers will get to this in their own time. Please don’t develop unreasonable expectations about how and/or when this issue will be worked on.

I don’t believe this problem originates with the interaction between Sponge and Aroma1997 Core, but from an interaction between Aroma1997 and FTBUtilities “override_commands” option, located in the “local/ftbu/config.json” file.

Starting with a fresh version of the server files for FTB Beyond version 1.2.1, as found here, I’ve been able to reproduce part of the issue described above

Which we saw, as noted by Inscrutable, to be related to “aroma1997.core.command”.

When using the base install of FTB Beyond 1.2.1 and running the “help” command from console, I receive the following output:

FTB Only Error
> help
[09:13:42] [Server thread/INFO]: --- Showing help page 1 of 20 (/help <page>) ---
[09:13:42] [Server thread/INFO]: /achievement <give|take> <name|*> [player]
[09:13:42] [Server thread/INFO]: Commands provided by Applied Energistics 2 - use /ae2 list for a list, and /ae2 help _____ for help with a command.
[09:13:42] [Server thread/INFO]: An unknown error occurred while attempting to perform this command
[09:13:42] [Server thread/WARN]: Couldn't process command: 'help'
java.lang.ClassCastException: com.feed_the_beast.ftbu.ranks.CmdOverride cannot be cast to net.minecraft.command.server.CommandScoreboard
        at aroma1997.core.command.AromaCommand$SetupDeathCounter.getCommandScoreboard(AromaCommand.java:62) ~[AromaCommand$SetupDeathCounter.class:?]
        at aroma1997.core.command.AromaCommand$SetupDeathCounter.func_184882_a(AromaCommand.java:129) ~[AromaCommand$SetupDeathCounter.class:?]
        at aroma1997.core.command.AromaSubCommand.func_71518_a(AromaSubCommand.java:120) ~[AromaSubCommand.class:?]
        at com.feed_the_beast.ftbu.ranks.CmdOverride.func_71518_a(CmdOverride.java:35) ~[CmdOverride.class:?]
        at net.minecraft.command.CommandHelp.func_184881_a(SourceFile:104) ~[al.class:?]
        at com.feed_the_beast.ftbu.ranks.CmdOverride.func_184881_a(CmdOverride.java:47) ~[CmdOverride.class:?]
        at net.minecraft.command.CommandHandler.func_175786_a(CommandHandler.java:104) [k.class:?]
        at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:83) [k.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:423) [ld.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:388) [ld.class:?]
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
>

This error is only reported for the first help page, any other help page, e.g. “help 2”, has no error.

Successful "help 2"

help 2
[09:30:21] [Server thread/INFO]: — Showing help page 2 of 20 (/help ) —
[09:30:21] [Server thread/INFO]: backup
[09:30:21] [Server thread/INFO]: /ban [reason …]
[09:30:21] [Server thread/INFO]: /ban-ip <address|name> [reason …]
[09:30:21] [Server thread/INFO]: /banlist [ips|players]
[09:30:21] [Server thread/INFO]: /bcore_ticktime
[09:30:21] [Server thread/INFO]: /blockdata
[09:30:21] [Server thread/INFO]: bloodmagic

Also note that this does differ from the output received from a server with both FTB Beyond version 1.2.1 (which uses FTBserver-1.10.2-12.18.3.2254-universal.jar) and SpongeForge (version spongeforge-1.10.2-2254-5.2.0-BETA-2234.jar, no additional plugins), as seen here:

FTB and SpongeForge Error
> help
[09:23:12] [Server thread/INFO]: Error occurred while executing command: com.feed_the_beast.ftbu.ranks.CmdOverride cannot be cast to net.minecraft.command.server.CommandScoreboard
[09:23:12] [Server thread/ERROR] [Sponge]: Error occurred while executing command 'help' for source DedicatedServer: com.feed_the_beast.ftbu.ranks.CmdOverride cannot be cast to net.minecraft.command.server.CommandScoreboard
java.lang.ClassCastException: com.feed_the_beast.ftbu.ranks.CmdOverride cannot be cast to net.minecraft.command.server.CommandScoreboard
        at aroma1997.core.command.AromaCommand$SetupDeathCounter.getCommandScoreboard(AromaCommand.java:62) ~[AromaCommand$SetupDeathCounter.class:?]
        at aroma1997.core.command.AromaCommand$SetupDeathCounter.func_184882_a(AromaCommand.java:129) ~[AromaCommand$SetupDeathCounter.class:?]
        at aroma1997.core.command.AromaSubCommand.func_71518_a(AromaSubCommand.java:120) ~[AromaSubCommand.class:?]
        at com.feed_the_beast.ftbu.ranks.CmdOverride.func_71518_a(CmdOverride.java:35) ~[CmdOverride.class:?]
        at org.spongepowered.common.command.MinecraftCommandWrapper.getHelp(MinecraftCommandWrapper.java:181) ~[MinecraftCommandWrapper.class:1.10.2-2254-5.2.0-BETA-2234]
        at org.spongepowered.common.command.MinecraftCommandWrapper.getShortDescription(MinecraftCommandWrapper.java:176) ~[MinecraftCommandWrapper.class:1.10.2-2254-5.2.0-BETA-2234]
        at org.spongepowered.common.command.SpongeHelpCommand.getDescription(SpongeHelpCommand.java:93) ~[SpongeHelpCommand.class:1.10.2-2254-5.2.0-BETA-2234]
        at org.spongepowered.common.command.SpongeHelpCommand.lambda$null$2(SpongeHelpCommand.java:85) ~[SpongeHelpCommand.class:1.10.2-2254-5.2.0-BETA-2234]
        at com.google.common.collect.Iterators$8.transform(Iterators.java:794) ~[minecraft_server.1.10.2.jar:?]
        at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) ~[minecraft_server.1.10.2.jar:?]
        at java.util.AbstractCollection.toArray(AbstractCollection.java:141) ~[?:1.8.0_121]
        at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:258) ~[minecraft_server.1.10.2.jar:?]
        at org.spongepowered.common.command.SpongeHelpCommand.lambda$create$3(SpongeHelpCommand.java:85) ~[SpongeHelpCommand.class:1.10.2-2254-5.2.0-BETA-2234]
        at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:359) ~[CommandSpec.class:1.10.2-2254-5.2.0-BETA-2234]
        at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:336) ~[SimpleDispatcher.class:1.10.2-2254-5.2.0-BETA-2234]
        at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:295) [SpongeCommandManager.class:1.10.2-2254-5.2.0-BETA-2234]
        at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:1083) [bd.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:423) [ld.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:388) [ld.class:?]
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
>

Attempting to run “help 2” informs me that there is no command “2”. I was expecting this to attempt to show me the 2nd page for the “help” command, but I am new to Sponge and may just be ignorant of how the over-ridden “help” command works.

Setting the FTBUtilities config’s “override_commands” option from “true” to “false” and testing with both SpongeForge and FTB Beyond, there is no error:

FTB Beyond and SpongeForge with FTBUtilities' "override_commands" set to "false"
> help
[09:46:20] [Server thread/INFO]: ================= Available commands: ==================
[09:46:20] [Server thread/INFO]: /EnderStorage /EnderStorage help
[09:46:20] [Server thread/INFO]: /achievement /achievement <give|take> <name|*> [player]
[09:46:20] [Server thread/INFO]: /admin_home command.ftb.admin_home.usage
[09:46:20] [Server thread/INFO]: /ae2 Commands provided by Applied Energistics 2 - use /ae2 list for a list, and /ae2 help _____ for help with a command.
[09:46:20] [Server thread/INFO]: /aroma1997 /aroma1997 OR /aroma1997 reloadclient OR /aroma1997 setupDeathCounter OR /aroma1997 setupDeathCounter <location> OR /aroma1997 setupDeathCounter <location> <name>
[09:46:20] [Server thread/INFO]: /back /back
[09:46:20] [Server thread/INFO]: /backup command.ftb.backup.usage
[09:46:20] [Server thread/INFO]: /ban /ban <name> [reason ...]
[09:46:20] [Server thread/INFO]: /ban-ip /ban-ip <address|name> [reason ...]
[09:46:20] [Server thread/INFO]: /banlist /banlist [ips|players]
[09:46:20] [Server thread/INFO]: /baubles /baubles <action> [<player> [<params>]]
[09:46:20] [Server thread/INFO]: /bcore_ticktime /bcore_ticktime
[09:46:20] [Server thread/INFO]: /blockdata /blockdata <x> <y> <z> <dataTag>
[09:46:20] [Server thread/INFO]: /bloodmagic /bloodmagic help
[09:46:20] [Server thread/INFO]: /botania-download-latest /botania-download-latest <version>
[09:46:20] [Server thread/INFO]: ====================== « 1/10 » ======================
>

[details=FTB Beyond Only with FTBUtilities’ “override_commands” set to “false”]> help
[09:52:35] [Server thread/INFO]: — Showing help page 1 of 20 (/help ) —
[09:52:35] [Server thread/INFO]: /EnderStorage help
[09:52:35] [Server thread/INFO]: /achievement <give|take> <name|*> [player]
[09:52:35] [Server thread/INFO]: command.ftb.admin_home.usage
[09:52:35] [Server thread/INFO]: Commands provided by Applied Energistics 2 - use /ae2 list for a list, and /ae2 help _____ for help with a command.
[09:52:35] [Server thread/INFO]: /aroma1997 OR /aroma1997 reloadclient OR /aroma1997 setupDeathCounter OR /aroma1997 setupDeathCounter OR /aroma1997 setupDeathCounter
[09:52:35] [Server thread/INFO]: /back
[09:52:35] [Server thread/INFO]: command.ftb.backup.usage

[/details]

I’ve created a bug report for Aroma1997.

Hopefully this provides people with a solution and prevents our volunteer sponge devs from a wild goose chase.

~Twisted

1 Like