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.java:124) ~[TimingHistory.class:1.8.9-1890-4.2.0-BETA-1744] at co.aikar.util.JSONUtil.mapArrayToObject(JSONUtil.java:109) ~[JSONUtil.class:1.8.9-1890-4.2.0-BETA-1744] at co.aikar.timings.TimingHistory.lambda$null$3(TimingHistory.java:122) ~[TimingHistory.class:1.8.9-1890-4.2.0-BETA-1744] at co.aikar.util.JSONUtil.mapArray(JSONUtil.java:94) ~[JSONUtil.class:1.8.9-1890-4.2.0-BETA-1744] at co.aikar.timings.TimingHistory.lambda$new$4(TimingHistory.java:100) ~[TimingHistory.class:1.8.9-1890-4.2.0-BETA-1744] at co.aikar.util.JSONUtil.mapArrayToObject(JSONUtil.java:109) ~[JSONUtil.class:1.8.9-1890-4.2.0-BETA-1744] at co.aikar.timings.TimingHistory.(TimingHistory.java:99) ~[TimingHistory.class:1.8.9-1890-4.2.0-BETA-1744] at co.aikar.timings.FullServerTickHandler.stopTiming(FullServerTickHandler.java:101) ~[FullServerTickHandler.class:1.8.9-1890-4.2.0-BETA-1744] at net.minecraft.server.MinecraftServer.handler$onServerTickEnd$0(MinecraftServer.java:1105) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:650) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:745) [?: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-11.15.1.1902-1.8.9-universal.jar

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: