Fresh install with only JEI and EnderIO.
Some recipes from Sag Mill vanished when trying to browse them.
Multiple "[main/ERROR]: Error caught from Recipe Category: crazypants.enderio.machines.integration.jei.sagmill.SagMillRecipeCategory
java.lang.NullPointerException: null" errors in log.
Normal function.
Video: https://youtu.be/h9Lz8mBg05U
@mezz can you please have a look at the stack trace? To me it looks like ingredientHelper.expandSubtypes(ingredients) returns a list with a null element---which shouldn't be possible.
That method will return a null element for any input that is null.
That functionality is used for showing rotating items in recipes where one is blank.
Based on the stack trace, this is a JEI issue. I'll look into resolving it now.
Fixed in JEI 4.9.1.191
Thanks mezz, I lost my way within the indirections inside that method ;). Must have missed the part where it lets that null through.
So this was probably the Grinding Ball list, that one has one empty element.
Yeah exactly.
I really want @Nullable annotations that work for generics (like List<@Nullable T>), most implementations are old and don't work with it, including the one Mojang is using.
That's why I have subclassed NonNullList into a type that is much saner to use. We now use that one almost everywhere.
Most helpful comment
Fixed in JEI 4.9.1.191