Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.