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.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:140)	at net.minecraft.world.World.func_72838_d(World.java:1122)	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.Minecraft.func_71403_a(Minecraft.java:2349)	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 net.minecraft.network.PacketThreadUtil$1.run(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 net.minecraft.client.main.Main.main(SourceFile:124)	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)	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)