Not sure what's causing this error

I’m not sure if this is the right place to be posting this, so apologies if it is. I’m getting the following error and I have no idea what’s causing it. All help is appreciated.

java.lang.ClassCastException: org.spongepowered.common.entity.SpongeEntityType$1 cannot be cast to org.spongepowered.common.entity.SpongeEntityType at co.aikar.timings.TimingHistory.lambda$null$1( ~[TimingHistory.class:1.8.9-1890-4.2.0-BETA-1744] at co.aikar.util.JSONUtil.mapArrayToObject( ~[JSONUtil.class:1.8.9-1890-4.2.0-BETA-1744] at co.aikar.timings.TimingHistory.lambda$null$3( ~[TimingHistory.class:1.8.9-1890-4.2.0-BETA-1744] at co.aikar.util.JSONUtil.mapArray( ~[JSONUtil.class:1.8.9-1890-4.2.0-BETA-1744] at co.aikar.timings.TimingHistory.lambda$new$4( ~[TimingHistory.class:1.8.9-1890-4.2.0-BETA-1744] at co.aikar.util.JSONUtil.mapArrayToObject( ~[JSONUtil.class:1.8.9-1890-4.2.0-BETA-1744] at co.aikar.timings.TimingHistory.( ~[TimingHistory.class:1.8.9-1890-4.2.0-BETA-1744] at co.aikar.timings.FullServerTickHandler.stopTiming( ~[FullServerTickHandler.class:1.8.9-1890-4.2.0-BETA-1744] at net.minecraft.server.MinecraftServer.handler$onServerTickEnd$0( ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.func_71217_p( ~[MinecraftServer.class:?] at [MinecraftServer.class:?] at [?:1.8.0_92]

SpongeVanilla or SpongeForge?
Which version of Sponge and Forge?

Spongeforge version: spongeforge-1.8.9-1890-4.2.0-BETA-1744.jar
Forge version: forge-1.8.9-

You need to match up your versions. If you’re running SpongeForge for 1890, then you need Forge 1890.

I’m using pixelmon 4.3.0 beta 9 which requires forge 1902. What do I do if there isn’t an existing version of spongeforge 1902? Do I just give up on running a 1.8.9 pixelmon server with this and future versions for 1.8.9?

This is a bug in Sponge. I’ll work on fixing it soon.

1 Like

Any idea when it’ll be finished? Any estimate?

Most of the Sponge team is busy with Minecon atm. There should be a fix sometime after this weekend.

1 Like

until then i have simply disabled the timings module (so i don’t have to do /sponge timings off every time i restart)

I’m also getting “something went wrong” when I try to create worlds using /world using the same versions above, is that related to this issue? (No errors in console)

P.S. No rush :stuck_out_tongue_winking_eye:

EDIT: I’m also getting the above error when my friend sends out their pokemon using pixelmon, but not when I send it out.

Your original error should be fixed in the latest SpongeForge.

Awesome! Thanks! Just download 4.2.0-BETA-1744 again and it will be fixed in there or…? (I’m not seeing a new version)

The build will be 1754 (the downloads page seems to be taking a few minutes to update).

In general, a particular build link (e.g. 1744) should always return the same jar. Any updates will be in the form of higher-numbered builds.

Alright, thought so. Thanks again Aaron! :stuck_out_tongue_winking_eye: