MrTJP / MrTJPCore

Common libraries accross all mods
http://projectredwiki.com/
GNU Lesser General Public License v3.0
13 stars 19 forks source link

Error executing task #31

Open Greatone123 opened 6 years ago

Greatone123 commented 6 years ago

I'm not sure if I should post this here, or over at the code chicken GitHub so I'm posting at both since it mentions both mods. I'm getting this constantly in my log.

MrTJPCore-1.12.2-2.1.3.35-universal CodeChickenLib-1.12.2-3.2.0.345-universal

> [09:09:43] [Server thread/FATAL] [net.minecraft.server.MinecraftServer]: Error executing task
> java.util.concurrent.ExecutionException: java.util.NoSuchElementException: key not found: 1
>   at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_131]
>   at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_131]
>   at net.minecraft.util.Util.func_181617_a(SourceFile:47) [h.class:?]
>   at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
>   at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396) [nz.class:?]
>   at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
>   at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
>   at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
> Caused by: java.util.NoSuchElementException: key not found: 1
>   at scala.collection.MapLike$class.default(MapLike.scala:228) ~[MapLike$class.class:?]
>   at scala.collection.AbstractMap.default(Map.scala:59) ~[AbstractMap.class:?]
>   at scala.collection.mutable.HashMap.apply(HashMap.scala:65) ~[HashMap.class:?]
>   at mrtjp.core.data.KeyTracking$.updatePlayerKey(KeyTracking.scala:28) ~[KeyTracking$.class:?]
>   at mrtjp.core.handler.MrTJPCoreSPH$.handlePacket(packethandlers.scala:64) ~[MrTJPCoreSPH$.class:?]
>   at codechicken.lib.packet.PacketCustom$ServerInboundHandler.handle(PacketCustom.java:135) ~[PacketCustom$ServerInboundHandler.class:?]
>   at codechicken.lib.packet.PacketCustom$ServerInboundHandler.lambda$handle$0(PacketCustom.java:133) ~[PacketCustom$ServerInboundHandler.class:?]
>   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_131]
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_131]
>   at net.minecraft.util.Util.func_181617_a(SourceFile:46) ~[h.class:?]
>   ... 5 more
covers1624 commented 6 years ago

I have no idea how TJ's key tracking works but it has been rock solid for ages. Ill leave this for TJ to look at.

Greatone123 commented 6 years ago

Alright, sorry for posting twice, I didn't actually know you both worked on both mods.

Greatone123 commented 6 years ago

So far I've been able to figure out it doesn't happen when I'm in the server. Only when the other player (I've only got me and her currently) is in the server.

Is there something I can look at in her configs or something to help narrow down the issue?

ghost commented 5 years ago

Did you ever figure this out, because I have the same issue?

Greatone123 commented 5 years ago

I reset the defaults on my keybindings and it stopped. I never took the time to narrow it down, was just happy it stopped.

ZeldaLinkAaron commented 5 years ago

I recently had this same problem and I think it was a corrupt download because I re-downloaded both mods and ProjectRed and that fixed it.

Greatone123 commented 5 years ago

Interesting, I haven't thought about re-downloading. I haven't had the issue anymore, but might be worth doing just because.

ghost commented 5 years ago

It ended up being a mod mismatch on my end.

EivindAntonsen commented 5 years ago

Also ran into this issue now, on first time downloading the mods. I'm using Integration, Lighting, Core, World and Mechanical.

JanTuck commented 4 years ago

Being spammed in my console too, any eta or knowhow on how to fix it?

Shanwer commented 4 years ago

I also have this problem on my server.

Shanwer commented 4 years ago

All right.It turned out to be my problem.I re-install the mods and the problem disappear.