Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid/Broken Recipe Ingredient #111

Open
bdkuhman opened this issue Oct 19, 2018 · 0 comments
Open

Invalid/Broken Recipe Ingredient #111

bdkuhman opened this issue Oct 19, 2018 · 0 comments
Assignees
Labels
Crash Issue with the mod that causes a crash in the game Validating The issue is being validated in code to determine if this is actually an issue within the mod

Comments

@bdkuhman
Copy link

bdkuhman commented Oct 19, 2018

Someone sent me a crash report for my mod, and I noticed that it was crashing while indexing the recipe for headcrumbs:player.

Relevant error from JEI:

[18:16:56] [main/WARN]: Found a broken ingredient 1xtile.headcrumbs.player@0 headcrumbs:player
java.lang.NullPointerException: itemStack.getDisplayName() must not be null.
	at mezz.jei.util.ErrorUtil.checkNotNull(ErrorUtil.java:218) ~[ErrorUtil.class:?]
	at mezz.jei.plugins.vanilla.ingredients.ItemStackHelper.getDisplayName(ItemStackHelper.java:36) ~[ItemStackHelper.class:?]
	at mezz.jei.plugins.vanilla.ingredients.ItemStackHelper.getDisplayName(ItemStackHelper.java:16) ~[ItemStackHelper.class:?]
	at mezz.jei.ingredients.IngredientInformation.getDisplayName(IngredientInformation.java:27) ~[IngredientInformation.class:?]
	at mezz.jei.ingredients.IngredientListElement.<init>(IngredientListElement.java:82) ~[IngredientListElement.class:?]
	at mezz.jei.ingredients.IngredientListElement.create(IngredientListElement.java:57) [IngredientListElement.class:?]
	at mezz.jei.ingredients.IngredientListElementFactory.addToBaseList(IngredientListElementFactory.java:62) [IngredientListElementFactory.class:?]
	at mezz.jei.ingredients.IngredientListElementFactory.createBaseList(IngredientListElementFactory.java:23) [IngredientListElementFactory.class:?]
	at mezz.jei.startup.JeiStarter.start(JeiStarter.java:72) [JeiStarter.class:?]
	at mezz.jei.startup.ProxyCommonClient.loadComplete(ProxyCommonClient.java:120) [ProxyCommonClient.class:?]
	at mezz.jei.JustEnoughItems.loadComplete(JustEnoughItems.java:54) [JustEnoughItems.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_161]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_161]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_161]
	at 

net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:629) [FMLModContainer.class:?]
	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_161]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_161]
	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) [guava-21.0.jar:?]
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) [guava-21.0.jar:?]
	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) [guava-21.0.jar:?]
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) [guava-21.0.jar:?]
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) [guava-21.0.jar:?]
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) [guava-21.0.jar:?]
	at com.google.common.eventbus.EventBus.post(EventBus.java:217) [guava-21.0.jar:?]
	at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:218) [LoadController.class:?]
	at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196) [LoadController.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_161]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_161]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_161]
	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) [guava-21.0.jar:?]
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) [guava-21.0.jar:?]
	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) [guava-21.0.jar:?]
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) [guava-21.0.jar:?]
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) [guava-21.0.jar:?]
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) [guava-21.0.jar:?]
	at com.google.common.eventbus.EventBus.post(EventBus.java:217) [guava-21.0.jar:?]
	at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135) [LoadController.class:?]
	at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:752) [Loader.class:?]
	at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:329) [FMLClientHandler.class:?]
	at net.minecraft.client.Minecraft.init(Minecraft.java:581) [Minecraft.class:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?]
	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_161]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_161]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_161]
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_161]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_161]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_161]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStart.main(GradleStart.java:25) [start/:?]
[18:16:56] [main/INFO]: Building ingredient list took 543.1 ms```

Link to report on my issue Tracker:
https://bitbucket.org/bdkuhman/deconstructiontable/issues/68/crash-on-startup

2018-10-18-6.log

@TheTurkeyDev TheTurkeyDev added Crash Issue with the mod that causes a crash in the game Validating The issue is being validated in code to determine if this is actually an issue within the mod labels Oct 22, 2018
@TheTurkeyDev TheTurkeyDev self-assigned this Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash Issue with the mod that causes a crash in the game Validating The issue is being validated in code to determine if this is actually an issue within the mod
Projects
None yet
Development

No branches or pull requests

2 participants