Project Zomboid

Project Zomboid

Tear All Clothes
 This topic has been pinned, so it's probably important
TheOriginalStove  [developer] 15 Jul @ 10:33am
Bug Reports
Use this discussion post to report any issues or bugs with this mod.
< >
Showing 1-15 of 26 comments
Hi, I believe there is some conflict (doesn't really affect anything) with

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3422112160
and/or
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2903771337

Issue:
When right-clicking the hotbar an error pops-up.
Last edited by Claritas; 17 Jul @ 5:25am
TheOriginalStove  [developer] 17 Jul @ 9:39am 
I’ll take a look and see with those two mods.
TheOriginalStove  [developer] 17 Jul @ 3:03pm 
Originally posted by Claritas:
Hi, I believe there is some conflict (doesn't really affect anything) with

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3422112160
and/or
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2903771337

Issue:
When right-clicking the hotbar an error pops-up.


I added those two mods, and I don't get any errors. Maybe it's a different mod in your mod list? Are you able to check the logs and see what the error is or can you provide a full mod list?
Originally posted by TheOriginalStove:
I added those two mods, and I don't get any errors. Maybe it's a different mod in your mod list? Are you able to check the logs and see what the error is or can you provide a full mod list?

Thank you for checking. I apologize as I'm not familiar with logs/reviewing code and only assumed conflict as it popped up in the error log in-game.

Here are the mod list and error log I got (pastebin)

Mod List[pastebin.com] - Note that I've removed Tear All Clothes for the mean time
Error Log[pastebin.com]

If it also helps, this issue is also present when right clicking from the mod below:

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3470659758

I'm also using this (in combination with Reorder Hotbar):

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3461263912
Last edited by Claritas; 18 Jul @ 4:13am
TheOriginalStove  [developer] 18 Jul @ 9:44am 
Hmm still trying to figure it out. Thanks for the pastebins! I added the mods you're using and wasn't able to get an error consistently, but still would work. I'm wondering if one of the mods in the list are changing some item properties and that's what's causing the error. Might take me a little while to track down.
Cosmo 18 Jul @ 3:42pm 
Hey @TheOriginalStove thx for updating mod but got an error:
`attempted index: 1.0 of non-table: null
function: createRipClothingMenu -- file: RipClothing_ContextMenu.lua line # 69 | MOD: TearAllClothing
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@e4e4f0e5
function: createMenu -- file: ISInventoryPaneContextMenu.lua line # 1033 | Vanilla
function: GetInventoryCreateMenuContext -- file: BaseFunctions.lua line # 16 | MOD: [B42] Mutie's Context Menu icons Storage
function: createMenu -- file: PutInContainer.lua line # 4 | MOD: [B42] Mutie's Context Menu icons Expanded
function: GetInventoryCreateMenuContext -- file: BaseFunctions.lua line # 16 | MOD: [B42] Mutie's Context Menu icons Storage
function: GetInventoryCreateMenuContextIconized -- file: BaseFunctions.lua line # 53 | MOD: [B42] Mutie's Context Menu icons Storage
function: GetInventoryCreateMenuContext -- file: BaseFunctions.lua line # 16 | MOD: [B42] Mutie's Context Menu icons Storage
function: GetInventoryCreateMenuContextIconized -- file: BaseFunctions.lua line # 53 | MOD: [B42] Mutie's Context Menu icons Storage
function: GetInventoryCreateMenuContext -- file: BaseFunctions.lua line # 16 | MOD: [B42] Mutie's Context Menu icons Storage
function: GetInventoryCreateMenuContextIconized -- file: BaseFunctions.lua line # 53 | MOD: [B42] Mutie's Context Menu icons Storage
function: onRightMouseUp -- file: ISInventoryPane.lua line # 1546 | MOD: CleanUI
java.lang.RuntimeException: attempted index: 1.0 of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:479)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1790)
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:72)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:410)
at zombie.Lua.LuaEventManager.triggerEventGarbage(LuaEventManager.java:423)
at zombie.Lua.LuaManager$GlobalObject.triggerEvent(LuaManager.java:4188)
at jdk.internal.reflect.GeneratedMethodAccessor909.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:211)
at se.krka.kahlua.integration.expose.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:60)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:988)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcallBoolean(KahluaThread.java:1902)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1927)
at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1885)
at zombie.ui.UIElement.onConsumeMouseButtonUp(UIElement.java:1699)
at zombie.ui.UIManager.updateMouseButtons(UIManager.java:857)
at zombie.ui.UIManager.update(UIManager.java:716)
at zombie.GameWindow.logic(GameWindow.java:326)
at zombie.GameWindow.frameStep(GameWindow.java:916)
at zombie.GameWindow.mainThreadStep(GameWindow.java:642)
at zombie.MainThread.mainLoop(MainThread.java:76)
at java.base/java.lang.Thread.run(Unknown Source)
`
Last edited by Cosmo; 18 Jul @ 3:51pm
Cosmo 18 Jul @ 3:45pm 
`Callframe at: StartAction
function: begin -- file: ISBaseTimedAction.lua line # 85 | Vanilla
function: addToQueue -- file: ISTimedActionQueue.lua line # 16 | Vanilla
function: add -- file: ISTimedActionQueue.lua line # 196 | Vanilla
function: transferIfNeeded -- file: ISInventoryPaneContextMenu.lua line # 1809 | Vanilla
function: ripSelectedClothing -- file: RipClothing_ContextMenu.lua line # 44 | MOD: TearAllClothing
function: onMouseUp -- file: ISContextMenu.lua line # 92 | Vanilla
java.lang.NullPointerException: Cannot assign field "callFrame" because "<parameter1>" is null
at se.krka.kahlua.integration.expose.ReturnValues.put(ReturnValues.java:65)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:202)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:988)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcallBoolean(KahluaThread.java:1902)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1634)
at zombie.ui.UIElement.onConsumeMouseButtonUp(UIElement.java:1696)
at zombie.ui.UIManager.updateMouseButtons(UIManager.java:857)
at zombie.ui.UIManager.update(UIManager.java:716)
at zombie.GameWindow.logic(GameWindow.java:326)
at zombie.GameWindow.frameStep(GameWindow.java:916)
at zombie.GameWindow.mainThreadStep(GameWindow.java:642)
at zombie.MainThread.mainLoop(MainThread.java:76)
at java.base/java.lang.Thread.run(Unknown Source)
`
Last edited by Cosmo; 18 Jul @ 3:51pm
Cosmo 18 Jul @ 3:52pm 
`Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@a1c01c2c
function: perform -- file: ISTearingClothing.lua line # 130 | MOD: TearAllClothing
java.lang.RuntimeException: No implementation found
at se.krka.kahlua.integration.expose.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:112)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:988)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1760)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:85)
at zombie.characters.CharacterTimedActions.LuaTimedActionNew.perform(LuaTimedActionNew.java:143)
at zombie.characters.IsoGameCharacter.updateInternal(IsoGameCharacter.java:10617)
at zombie.characters.IsoGameCharacter.update(IsoGameCharacter.java:10255)
at zombie.characters.IsoPlayer.updateInternal1(IsoPlayer.java:2287)
at zombie.characters.IsoPlayer.update(IsoPlayer.java:2266)
at zombie.MovingObjectUpdateSchedulerUpdateBucket.update(MovingObjectUpdateSchedulerUpdateBucket.java:71)
at zombie.MovingObjectUpdateScheduler.update(MovingObjectUpdateScheduler.java:158)
at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:3054)
at zombie.iso.IsoCell.updateInternal(IsoCell.java:5959)
at zombie.iso.IsoCell.update(IsoCell.java:5892)
at zombie.iso.IsoWorld.updateWorld(IsoWorld.java:4197)
at zombie.iso.IsoWorld.updateInternal(IsoWorld.java:4317)
at zombie.iso.IsoWorld.update(IsoWorld.java:4231)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1699)
at zombie.gameStates.IngameState.update(IngameState.java:1464)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:87)
at zombie.GameWindow.logic(GameWindow.java:382)
at zombie.GameWindow.frameStep(GameWindow.java:916)
at zombie.GameWindow.mainThreadStep(GameWindow.java:642)
at zombie.MainThread.mainLoop(MainThread.java:76)
at java.base/java.lang.Thread.run(Unknown Source)
`
Cosmo 18 Jul @ 3:53pm 
`Callframe at: getFirstEvalRecurse
function: playerHasToolRequired -- file: RipClothing_ContextMenu.lua line # 33 | MOD: TearAllClothing
function: ripSelectedClothing -- file: RipClothing_ContextMenu.lua line # 42 | MOD: TearAllClothing
function: onMouseUp -- file: ISContextMenu.lua line # 92 | Vanilla
java.lang.NullPointerException: Cannot assign field "callFrame" because "<parameter1>" is null
at se.krka.kahlua.integration.expose.ReturnValues.put(ReturnValues.java:65)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:202)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:988)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcallBoolean(KahluaThread.java:1902)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1634)
at zombie.ui.UIElement.onConsumeMouseButtonUp(UIElement.java:1696)
at zombie.ui.UIManager.updateMouseButtons(UIManager.java:857)
at zombie.ui.UIManager.update(UIManager.java:716)
at zombie.GameWindow.logic(GameWindow.java:326)
at zombie.GameWindow.frameStep(GameWindow.java:916)
at zombie.GameWindow.mainThreadStep(GameWindow.java:642)
at zombie.MainThread.mainLoop(MainThread.java:76)
at java.base/java.lang.Thread.run(Unknown Source)
`
Cosmo 18 Jul @ 3:53pm 
`Callframe at: error
function: perform -- file: ISTearingClothing.lua line # 81 | MOD: TearAllClothing
se.krka.kahlua.vm.KahluaException: Recipe.OnCreate.RipClothing
at se.krka.kahlua.stdlib.BaseLib.error(BaseLib.java:291)
at se.krka.kahlua.stdlib.BaseLib.call(BaseLib.java:119)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:988)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1760)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:85)
at zombie.characters.CharacterTimedActions.LuaTimedActionNew.perform(LuaTimedActionNew.java:143)
at zombie.characters.IsoGameCharacter.updateInternal(IsoGameCharacter.java:10617)
at zombie.characters.IsoGameCharacter.update(IsoGameCharacter.java:10255)
at zombie.characters.IsoPlayer.updateInternal1(IsoPlayer.java:2287)
at zombie.characters.IsoPlayer.update(IsoPlayer.java:2266)
at zombie.MovingObjectUpdateSchedulerUpdateBucket.update(MovingObjectUpdateSchedulerUpdateBucket.java:71)
at zombie.MovingObjectUpdateScheduler.update(MovingObjectUpdateScheduler.java:158)
at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:3054)
at zombie.iso.IsoCell.updateInternal(IsoCell.java:5959)
at zombie.iso.IsoCell.update(IsoCell.java:5892)
at zombie.iso.IsoWorld.updateWorld(IsoWorld.java:4197)
at zombie.iso.IsoWorld.updateInternal(IsoWorld.java:4317)
at zombie.iso.IsoWorld.update(IsoWorld.java:4231)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1699)
at zombie.gameStates.IngameState.update(IngameState.java:1464)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:87)
at zombie.GameWindow.logic(GameWindow.java:382)
at zombie.GameWindow.frameStep(GameWindow.java:916)
at zombie.GameWindow.mainThreadStep(GameWindow.java:642)
at zombie.MainThread.mainLoop(MainThread.java:76)
at java.base/java.lang.Thread.run(Unknown Source)
`
Cosmo 18 Jul @ 3:54pm 
@TheOriginalStove Sorry there a lot of errors and they are different.
Originally posted by TheOriginalStove:
Hmm still trying to figure it out. Thanks for the pastebins! I added the mods you're using and wasn't able to get an error consistently, but still would work. I'm wondering if one of the mods in the list are changing some item properties and that's what's causing the error. Might take me a little while to track down.

Thank you and no worries. The errors don't actually affect anything and your mod works 100% of the time during my use. Let me know if you need anything for troubleshooting.
TheOriginalStove  [developer] 19 Jul @ 1:56am 
Originally posted by Claritas:
Originally posted by TheOriginalStove:
Hmm still trying to figure it out. Thanks for the pastebins! I added the mods you're using and wasn't able to get an error consistently, but still would work. I'm wondering if one of the mods in the list are changing some item properties and that's what's causing the error. Might take me a little while to track down.

Thank you and no worries. The errors don't actually affect anything and your mod works 100% of the time during my use. Let me know if you need anything for troubleshooting.


So I noticed that I can get an error for my mod with the mods you have when I right click and get a World Context menu, I'm not exactly sure why since I'm only adding to the inventory pane context menu.

I'll keep poking around and try to fix any errors.
Last edited by TheOriginalStove; 19 Jul @ 1:57am
TheOriginalStove  [developer] 19 Jul @ 1:58am 
Originally posted by Cosmo:
@TheOriginalStove Sorry there a lot of errors and they are different.

Thanks for including them all! helps me track down the bugs.
Last edited by TheOriginalStove; 19 Jul @ 1:58am
TheOriginalStove  [developer] 19 Jul @ 4:27am 
I think I fixed a few of those errors coming up. When using the context menu icons mod and/or the better ui mod if clothing items were expanded (like in a stack) then the way I was accessing the item was broken. Should be fixed, but let me know if you're still getting errors.
< >
Showing 1-15 of 26 comments
Per page: 1530 50