Project Zomboid

Project Zomboid

Consolidated Culinary Community Project B41.53
dtoxic 11 Oct, 2020 @ 3:01pm
[BUG] Right Clik Red box
Using this mod (and cheat mod as to shorten the times of the test) a red box pops up whenever you right click on berries here is the partial log if you need more info just say

Callframe at: IsRecipeValid
function: populateRecipesList -- file: ISCraftingUI.lua line # 999
function: refresh -- file: ISCraftingUI.lua line # 65
function: createChildren -- file: ISCraftingUI.lua line # 970
function: instantiate -- file: ISUIElement.lua line # 635
function: addToUIManager -- file: ISUIElement.lua line # 991
function: createInventoryInterface -- file: ISPlayerDataObject.lua line # 147
function: createPlayerData -- file: ISPlayerData.lua line # 188

ERROR: General, 1602453549764> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at GeneratedMethodAccessor255.invoke.
ERROR: General, 1602453549764> DebugLogStream.printException> Stack trace:
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor255.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:198)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:188)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1008)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1981)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1813)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
at zombie.Lua.Event.trigger(Event.java:37)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:122)
at zombie.gameStates.GameLoadingState.exit(GameLoadingState.java:365)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:105)
at zombie.GameWindow.logic(GameWindow.java:273)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:711)
at zombie.GameWindow.run_ez(GameWindow.java:629)
at zombie.GameWindow.mainThread(GameWindow.java:456)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:418)
at java.util.ArrayList.get(ArrayList.java:431)
at zombie.inventory.RecipeManager$RMRecipeSource.getAvailableItems(RecipeManager.java:729)
at zombie.inventory.RecipeManager$RMRecipe.getAvailableItems(RecipeManager.java:624)
at zombie.inventory.RecipeManager.getAvailableItems(RecipeManager.java:1023)
at zombie.inventory.RecipeManager.getAvailableItemsNeeded(RecipeManager.java:1000)
at zombie.inventory.RecipeManager.HasAllRequiredItems(RecipeManager.java:441)
at zombie.inventory.RecipeManager.IsRecipeValid(RecipeManager.java:360)
... 23 more
LOG : General, 1602453549894> STATE: enter zombie.gameStates.IngameState
LOG : General, 1602453550180> Init ISContextManager
LOG : General, 1602453550289> FirstNAME:PhillipMoore
LOG : General, 1602453550297> [CHEAT MENU] User PhillipMoore is authorized! This message will appear the next time the client connects.
LOG : General, 1602453552886> -----------------------------------------
STACK TRACE
-----------------------------------------
Callframe at: getUniqueRecipeItems
function: createMenu -- file: ISInventoryPaneContextMenu.lua line # 269
function: onRightMouseUp -- file: ISInventoryPane.lua line # 1094

ERROR: General, 1602453552886> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at NativeMethodAccessorImpl.invoke0 (Native Method).
ERROR: General, 1602453552887> DebugLogStream.printException> Stack trace:
java.lang.reflect.InvocationTargetException
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:498)
at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:198)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:188)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1008)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1981)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1783)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76)
at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1481)
at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1435)
at zombie.ui.UIManager.update(UIManager.java:874)
at zombie.GameWindow.logic(GameWindow.java:237)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:711)
at zombie.GameWindow.run_ez(GameWindow.java:629)
at zombie.GameWindow.mainThread(GameWindow.java:456)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:418)
at java.util.ArrayList.get(ArrayList.java:431)
at zombie.inventory.RecipeManager$RMRecipeSource.getAvailableItems(RecipeManager.java:729)
at zombie.inventory.RecipeManager$RMRecipe.getAvailableItems(RecipeManager.java:624)
at zombie.inventory.RecipeManager.getAvailableItems(RecipeManager.java:1023)
at zombie.inventory.RecipeManager.getAvailableItemsNeeded(RecipeManager.java:1000)
at zombie.inventory.RecipeManager.HasAllRequiredItems(RecipeManager.java:441)
at zombie.inventory.RecipeManager.IsRecipeValid(RecipeManager.java:360)
at zombie.inventory.RecipeManager.getUniqueRecipeItems(RecipeManager.java:340)
... 22 more
< >
Showing 1-2 of 2 comments
dtoxic 12 Oct, 2020 @ 7:37am 
the error seems to be somewhere in CCCP_recipes.txt still trying to pinpoint what exactly
dtoxic 12 Oct, 2020 @ 8:06am 
so any recipe that has Berries in it throws the error if you have 1 berrie (or to put it differently the error shows if you don't have enough for a recipe) once you have enough the recipe is displayed and no error is shown, commented out everything from line:931 that has to do with berries and no error is shown when right clicking, in turn of course you loose the recipe,cant figure it out why it;s trowing the error when you have 1 berrie in inv. thou
Last edited by dtoxic; 12 Oct, 2020 @ 8:07am
< >
Showing 1-2 of 2 comments
Per page: 1530 50