So, Ive tried to make a version of Dude Where's My Block/What Is Minecraft as a SkyBlock. I got the pack running with about 80 mods. When I get in, I can run for a while, then get a random crash. Here is my crash report
1. When I was tried to get a recipe for NEI (Closed the report too fast, i'm not sure its the same thing)
2. Moving an item in my inventory (The Forest Wand from Botana)
3. In the middle of crafting I believe
My theory was that I was in a form of crafting when it changed, breaking my game. In the crash report it shows the recipes changed and then I crashed. Anyone know how to fix this/if this is why it is happening? Thanks to anyone who is looking at this forum!
Rollback Post to RevisionRollBack
"There are 10 types of people in this world. Those that understand binary and those that don't."
"If at first you don't succeed, skydiving is not for you."
"When you see pigs fly it means Windows has become open source"
"Before you criticize a man, walk a mile in his shoes. That way you'll be a mile away and he'll be shoeless."
"The trick to creativity is knowing how to hide your sources..." Albert Einstein
at cofh.thermalexpansion.plugins.nei.handlers.RecipeHandlerCraftingSecure.loadCraftingRecipes(RecipeHandlerCraftingSecure.java:58)
public void loadCraftingRecipes(ItemStack paramItemStack) { for (IRecipe localIRecipe1 : CraftingManager.getInstance().getRecipeList()) { if (localIRecipe1.getClass() == NEIRecipeWrapper.class) <<< this is line 58 {
As you can see at line 58 it's not possible to get null pointer exception
That for loop will never get to line 58 if localIRecipe1 is null on the first place
if CraftingManager.getInstance().getRecipeList() then it would say line 57 not 58
So another mod may have actually trigger that. I'll check the other errors. For now that's what I can tell.
It's not possible to have that error.
Try finding this config and disable it!
CrayCrafting
resetTimer = ", this.timer, "For extra evil, this timer rotates the crafting every X minutes. 0 for disable."
on Your crash report
[08:01:08] [CrayCrafting-Timer/WARN]: Recipe timer! Resetting all the recipes!
Imagine if this is actually threaded and it does something like this
for (IRecipe localIRecipe1 : CraftingManager.getInstance().getRecipeList()) { if (localIRecipe1.getClass() == NEIRecipeWrapper.class) <<< this is line 58
I believe it would have a race condition where data of the loop is cleared.
OK so um... I don't use Cray Crafting much. I have no idea what you mean by its impossible, because that's my exact error. Can you phrase how I can fix it and what is causing it?
Rollback Post to RevisionRollBack
"There are 10 types of people in this world. Those that understand binary and those that don't."
"If at first you don't succeed, skydiving is not for you."
"When you see pigs fly it means Windows has become open source"
"Before you criticize a man, walk a mile in his shoes. That way you'll be a mile away and he'll be shoeless."
"The trick to creativity is knowing how to hide your sources..." Albert Einstein
"08:01:08] [CrayCrafting-Timer/WARN]: Recipe timer! Resetting all the recipes!"
When this error line goes on loop
for (IRecipe localIRecipe1 : CraftingManager.getInstance().getRecipeList()) { if (localIRecipe1.getClass() == NEIRecipeWrapper.class) <<< this is line 58
As the line of the error suggest the mod is affected with CrayCrafting mod since it clears/reset the list from CraftingManager.getInstance().getRecipeList() which will cause null error.
The reason I say the error is impossible, at first glance of the code there's no way it will execute the loop if there are null values on the first place. But since CrayCrafting have a threaded timer that resets the RecipeList it triggers a race condition. meaning while the other mod is doing a loop based on the recipelist, CrayCrafting mod is reseting the list (probably clearing it) thus the impossible become possible.
As I check CrayCrafting it got a config file (or maybe it can be set on gui) with this "resetTimer" which you should set it to zero base on the description of the config below
resetTimer = ", this.timer, "For extra evil, this timer rotates the crafting every X minutes. 0 for disable."
As I'm not familiar with craycrafting or where it stores its config (probably on minecraft server config folder if it follows standard) you have to find resetTimer and set it to zero so it won't trigger a race condition that would result to other Mod's using recipes having null errors because the recipes been clear.
So, Ive tried to make a version of Dude Where's My Block/What Is Minecraft as a SkyBlock. I got the pack running with about 80 mods. When I get in, I can run for a while, then get a random crash. Here is my crash report
Pastebin
This has happened 3 times
1. When I was tried to get a recipe for NEI (Closed the report too fast, i'm not sure its the same thing)
2. Moving an item in my inventory (The Forest Wand from Botana)
3. In the middle of crafting I believe
My theory was that I was in a form of crafting when it changed, breaking my game. In the crash report it shows the recipes changed and then I crashed. Anyone know how to fix this/if this is why it is happening? Thanks to anyone who is looking at this forum!
"The trick to creativity is knowing how to hide your sources..." Albert Einstein
You've got a weird error
java.lang.NullPointerException: Rendering screen
at cofh.thermalexpansion.plugins.nei.handlers.RecipeHandlerCraftingSecure.loadCraftingRecipes(RecipeHandlerCraftingSecure.java:58)
public void loadCraftingRecipes(ItemStack paramItemStack)
{
for (IRecipe localIRecipe1 : CraftingManager.getInstance().getRecipeList()) {
if (localIRecipe1.getClass() == NEIRecipeWrapper.class) <<< this is line 58
{
As you can see at line 58 it's not possible to get null pointer exception
That for loop will never get to line 58 if localIRecipe1 is null on the first place
if CraftingManager.getInstance().getRecipeList() then it would say line 57 not 58
So another mod may have actually trigger that. I'll check the other errors. For now that's what I can tell.
It's not possible to have that error.
Try finding this config and disable it!
CrayCrafting
resetTimer = ", this.timer, "For extra evil, this timer rotates the crafting every X minutes. 0 for disable."
on Your crash report
[08:01:08] [CrayCrafting-Timer/WARN]: Recipe timer! Resetting all the recipes!
Imagine if this is actually threaded and it does something like this
CraftingManager.getInstance().getRecipeList().clear();
while this code runs
for (IRecipe localIRecipe1 : CraftingManager.getInstance().getRecipeList()) {
if (localIRecipe1.getClass() == NEIRecipeWrapper.class) <<< this is line 58
I believe it would have a race condition where data of the loop is cleared.
OK so um... I don't use Cray Crafting much. I have no idea what you mean by its impossible, because that's my exact error. Can you phrase how I can fix it and what is causing it?
"The trick to creativity is knowing how to hide your sources..." Albert Einstein
In reply to big_bad_e:
for (IRecipe localIRecipe1 : CraftingManager.getInstance().getRecipeList()) {
if (localIRecipe1.getClass() == NEIRecipeWrapper.class) <<< this is line 58
As the line of the error suggest the mod is affected with CrayCrafting mod since it clears/reset the list from CraftingManager.getInstance().getRecipeList() which will cause null error.
The reason I say the error is impossible, at first glance of the code there's no way it will execute the loop if there are null values on the first place. But since CrayCrafting have a threaded timer that resets the RecipeList it triggers a race condition. meaning while the other mod is doing a loop based on the recipelist, CrayCrafting mod is reseting the list (probably clearing it) thus the impossible become possible.
As I check CrayCrafting it got a config file (or maybe it can be set on gui) with this "resetTimer" which you should set it to zero base on the description of the config below
resetTimer = ", this.timer, "For extra evil, this timer rotates the crafting every X minutes. 0 for disable."
As I'm not familiar with craycrafting or where it stores its config (probably on minecraft server config folder if it follows standard) you have to find resetTimer and set it to zero so it won't trigger a race condition that would result to other Mod's using recipes having null errors because the recipes been clear.
I know where the config is, and the point of the pack is changing them, but I think I know what the problem mod is, so ill just delete it.
"The trick to creativity is knowing how to hide your sources..." Albert Einstein