Project Zomboid

Project Zomboid

Tear All Clothes
 此主题已被置顶,因此可能具有重要性
TheOriginalStove  [开发者] 7 月 15 日 上午 10:33
Bug Reports
Use this discussion post to report any issues or bugs with this mod.
< >
正在显示第 1 - 15 条,共 27 条留言
Hi, I believe there is some conflict (doesn't really affect anything) with

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3422112160
and/or
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2903771337

Issue:
When right-clicking the hotbar an error pops-up.
最后由 Claritas 编辑于; 7 月 17 日 上午 5:25
TheOriginalStove  [开发者] 7 月 17 日 上午 9:39 
I’ll take a look and see with those two mods.
TheOriginalStove  [开发者] 7 月 17 日 下午 3:03 
Hi, I believe there is some conflict (doesn't really affect anything) with

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3422112160
and/or
https://psteamcommunity.yuanyoumao.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?
引用自 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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3470659758

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

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3461263912
最后由 Claritas 编辑于; 7 月 18 日 上午 4:13
TheOriginalStove  [开发者] 7 月 18 日 上午 9:44 
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 7 月 18 日 下午 3:42 
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)
`
最后由 Cosmo 编辑于; 7 月 18 日 下午 3:51
Cosmo 7 月 18 日 下午 3:45 
`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)
`
最后由 Cosmo 编辑于; 7 月 18 日 下午 3:51
Cosmo 7 月 18 日 下午 3:52 
`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 7 月 18 日 下午 3:53 
`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 7 月 18 日 下午 3:53 
`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 7 月 18 日 下午 3:54 
@TheOriginalStove Sorry there a lot of errors and they are different.
引用自 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  [开发者] 7 月 19 日 上午 1:56 
引用自 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.
最后由 TheOriginalStove 编辑于; 7 月 19 日 上午 1:57
TheOriginalStove  [开发者] 7 月 19 日 上午 1:58 
引用自 Cosmo
@TheOriginalStove Sorry there a lot of errors and they are different.

Thanks for including them all! helps me track down the bugs.
最后由 TheOriginalStove 编辑于; 7 月 19 日 上午 1:58
TheOriginalStove  [开发者] 7 月 19 日 上午 4:27 
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.
< >
正在显示第 1 - 15 条,共 27 条留言
每页显示数: 1530 50