Camerapture

Camerapture

376k Downloads

NullPointerException Crashing Game

EpicSpooder opened this issue ยท 2 comments

commented

What's the issue?

Hello! I am playing with quite a lot of mods installed, so apologies if this crash report is unhelpful- I have spent multiple hours trying to narrow down which mod(s) may be causing incompatibilities but no luck so far.

Singleplayer and multiplayer worlds are crashing sporadically, seemingly much more frequently during the nighttime (?)
The crash logs vary slightly but all have the following lines in common at the top of the stack trace:

java.lang.NullPointerException: Cannot invoke "net.minecraft.class_2487.method_10577(String)" because the return value of "net.minecraft.class_1799.method_7948()" is null
at knot//me.chrr.camerapture.item.CameraItem.isActive(CameraItem.java:62)
at knot//me.chrr.camerapture.item.CameraItem.find(CameraItem.java:81)

A log in full:
https://mclo.gs/u0M2ux0

Let me know if there is any additional information I could gather that would be helpful for you! Thanks for your time!

What loader are you using?

Fabric

What is your Minecraft version?

1.20.1

What is Camerapture's version?

1.9.0

commented

Oh I see! Weird that it wouldn't crash more often, as this is an oversight in the code. This should be easy to fix, thank you for the report!

commented

That's great to hear! I was worried I was serving up a hardball, but I wasn't getting anywhere on my own. I hope it will indeed be easy for you to fix- and thank YOU for the awesome mod!