Jump to content

[1.9] Game crashes often and non-reproducibly without reference to mod files.


Recommended Posts

Posted

I wrote a small mod that added only 2 items and one entity but although it seemed to work fine, we are repeatedly crashing on a survival server I set up which is running this mod. The stack trace makes absolutely no reference to any forge/fml/mod files, and the methods deobfuscate into an NPE while rendering the player's hand; I have had nothing to do with this code.

 

java.lang.NullPointerException: Unexpected error
at net.minecraft.client.renderer.ItemRenderer.func_78440_a(ItemRenderer.java:319) [renderItemInFirstPerson]
at net.minecraft.client.renderer.EntityRenderer.func_78476_b(EntityRenderer.java:762)
at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1402)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1229)
at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1038)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1072)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:366)
at net.minecraft.client.main.Main.main(SourceFile:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

 

Looking at the report, none of the loaded entities at the time were my added entity. I also went around the world a bit in my dev environment to try to reproduce the crash but to no avail: I still have no idea what caused it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.