java.lang.NullPointerException: Item.itemRegistry.getNameForObject returned null for: class refinedstorage.item.ItemBlockBase

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Harith163
, 1 year ago
Item.itemRegistry.getNameForObject returned null for: class refinedstorage.item.ItemBlockBase
via GitHub by Thiana
, 1 year ago
Found an itemStack with a null item. This is an error from another mod.
java.lang.NullPointerException: Item.itemRegistry.getNameForObject returned null for: class refinedstorage.item.ItemBlockBase
at mezz.jei.util.StackHelper.getUniqueIdentifierForStack(StackHelper.java:352)
at mezz.jei.util.StackHelper.getUniqueIdentifierForStack(StackHelper.java:333)
at mezz.jei.util.RecipeMap.addRecipeCategory(RecipeMap.java:54)
at mezz.jei.RecipeRegistry.(RecipeRegistry.java:82)
at mezz.jei.util.ModRegistry.createRecipeRegistry(ModRegistry.java:123)
at mezz.jei.ProxyCommonClient.startJEI(ProxyCommonClient.java:169)
at mezz.jei.ProxyCommonClient.onEntityJoinedWorld(ProxyCommonClient.java:137)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_491_ProxyCommonClient_onEntityJoinedWorld_EntityJoinWorldEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49)
at net.minecraft.client.multiplayer.WorldClient.func_72838_d(WorldClient.java:241)
at net.minecraft.client.Minecraft.func_71353_a(Minecraft.java:2441)
at net.minecraft.client.network.NetHandlerPlayClient.func_147282_a(NetHandlerPlayClient.java:273)
at net.minecraft.network.play.server.SPacketJoinGame.func_148833_a(SourceFile:76)
at net.minecraft.network.play.server.SPacketJoinGame.func_148833_a(SourceFile:13)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at net.minecraft.util.Util.func_181617_a(SourceFile:45)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1044)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:369)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.