Jump to content

Xavian

Recommended Posts

Hi Folks,

 

I looked through the bug tracker and haven't seen this one mentioned, so I hope it's not a dupe of something already reported.

 

I've recently returned to Zomboid after a little hiatus and been playing with the latest build of 41.39 and was excited to hear that clothing can actually be repaired!

 

However, when I attempt to repair clothing I see the progress dialog bar but nothing gets repaired and the resources are consumed. I also see little red error boxes in the lower right of UI after I inspect clothing and right-click Hole to get the Patch Hole context dialog. I followed the console.txt log and see the following errors regarding getScratchDefenseFromItem(Clothing.java:936) and getBiteDefenseFromItem(Clothing.java:922) methods:

 

LOG  : General, 1593988288187> -----------------------------------------
STACK TRACE
-----------------------------------------
Callframe at: getScratchDefenseFromItem
function: doPatch -- file: ISGarmentUI.lua line # 124
function: doContextMenu -- file: ISGarmentUI.lua line # 167
function: onBodyPartListRightMouseUp -- file: ISGarmentUI.lua line # 92

ERROR: General, 1593988288194> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at NativeMethodAccessorImpl.invoke0 (Native Method).
ERROR: General, 1593988288195> 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:1002)
	at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
	at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1975)
	at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1777)
	at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76)
	at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1480)
	at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1434)
	at zombie.ui.UIManager.update(UIManager.java:872)
	at zombie.GameWindow.logic(GameWindow.java:237)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
	at zombie.GameWindow.frameStep(GameWindow.java:722)
	at zombie.GameWindow.run_ez(GameWindow.java:640)
	at zombie.GameWindow.mainThread(GameWindow.java:467)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
	at zombie.inventory.types.Clothing.getScratchDefenseFromItem(Clothing.java:936)
	... 22 more
LOG  : General, 1593988288196> -----------------------------------------
STACK TRACE
-----------------------------------------
Callframe at: getBiteDefenseFromItem
function: doPatch -- file: ISGarmentUI.lua line # 124
function: doContextMenu -- file: ISGarmentUI.lua line # 167
function: onBodyPartListRightMouseUp -- file: ISGarmentUI.lua line # 92

ERROR: General, 1593988288196> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at NativeMethodAccessorImpl.invoke0 (Native Method).
ERROR: General, 1593988288196> 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:1002)
	at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
	at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1975)
	at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1777)
	at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76)
	at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1480)
	at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1434)
	at zombie.ui.UIManager.update(UIManager.java:872)
	at zombie.GameWindow.logic(GameWindow.java:237)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
	at zombie.GameWindow.frameStep(GameWindow.java:722)
	at zombie.GameWindow.run_ez(GameWindow.java:640)
	at zombie.GameWindow.mainThread(GameWindow.java:467)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
	at zombie.inventory.types.Clothing.getBiteDefenseFromItem(Clothing.java:922)
	... 22 more
ERROR: General, 1593988288197> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __concat not defined for operands:  + and null at KahluaUtil.fail line:82.
ERROR: General, 1593988288198> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: __concat not defined for operands:  + and null
	at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
	at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:800)
	at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
	at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1975)
	at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1777)
	at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76)
	at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1480)
	at zombie.ui.UIElement.onRightMouseUp(UIElement.java:1434)
	at zombie.ui.UIManager.update(UIManager.java:872)
	at zombie.GameWindow.logic(GameWindow.java:237)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
	at zombie.GameWindow.frameStep(GameWindow.java:722)
	at zombie.GameWindow.run_ez(GameWindow.java:640)
	at zombie.GameWindow.mainThread(GameWindow.java:467)
	at java.lang.Thread.run(Thread.java:748)
LOG  : General, 1593988288198> -----------------------------------------
STACK TRACE
-----------------------------------------
function: doPatch -- file: ISGarmentUI.lua line # 124
function: doContextMenu -- file: ISGarmentUI.lua line # 167
function: onBodyPartListRightMouseUp -- file: ISGarmentUI.lua line # 92

So, there are already issues of some sort even with the context menu. When I attempt to repair the clothing, via Patch Hole -> Ripped Sheets I see the repair progress bar do its thing and consume the resources and new red error box pops up. The repair doesn't seem to do anything no matter how many times I try it. If it's its merely a skill failure, there has to be a better way to approach it, but from the console.txt it sounds like its just a bug. When I perform that action, I see the following in console log regarding addPatch(Clothing.java:1038) method:

 

LOG  : General, 1593988295353> -----------------------------------------
STACK TRACE
-----------------------------------------
Callframe at: addPatch
function: perform -- file: ISRepairClothing.lua line # 30

ERROR: General, 1593988295354> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at NativeMethodAccessorImpl.invoke0 (Native Method).
ERROR: General, 1593988295354> 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:1002)
	at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
	at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1975)
	at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1777)
	at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:85)
	at zombie.characters.CharacterTimedActions.LuaTimedActionNew.perform(LuaTimedActionNew.java:102)
	at zombie.characters.IsoGameCharacter.updateInternal(IsoGameCharacter.java:8830)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
	at zombie.characters.IsoGameCharacter.update(IsoGameCharacter.java:8561)
	at zombie.characters.IsoPlayer.lambda$update$40(IsoPlayer.java:1938)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
	at zombie.characters.IsoPlayer.update(IsoPlayer.java:1930)
	at zombie.MovingObjectUpdateSchedulerUpdateBucket.update(MovingObjectUpdateSchedulerUpdateBucket.java:69)
	at zombie.MovingObjectUpdateScheduler.update(MovingObjectUpdateScheduler.java:131)
	at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:2764)
	at zombie.iso.IsoCell.updateInternal(IsoCell.java:5559)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
	at zombie.iso.IsoCell.update(IsoCell.java:5502)
	at zombie.iso.IsoWorld.updateInternal(IsoWorld.java:3125)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
	at zombie.iso.IsoWorld.update(IsoWorld.java:3053)
	at zombie.gameStates.IngameState.updateInternal(IngameState.java:1561)
	at zombie.gameStates.IngameState.update(IngameState.java:1275)
	at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
	at zombie.GameWindow.logic(GameWindow.java:282)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
	at zombie.GameWindow.frameStep(GameWindow.java:722)
	at zombie.GameWindow.run_ez(GameWindow.java:640)
	at zombie.GameWindow.mainThread(GameWindow.java:467)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
	at zombie.inventory.types.Clothing.addPatch(Clothing.java:1038)
	... 38 more

I'm playing Zomboid on a Macbook Pro, OSX 10.14.4 (18E227), but I'd be surprised if this issue is platform specific.

 

I love this game and thank you for your time! -Michael 

Clothing-Patch-Hole-Bug-2020-07-05-v41.39.png

Link to comment
Share on other sites

I checked to see if it was throwing the error with other types of clothing, because it was "favorited" when you tried repairing it, but that didn't cause any issue.

 

I'm wondering if the "deputy jacket" itself could be causing this, except I don't have one to test with.

Edited by Grelko
Link to comment
Share on other sites

I am using mods but I disabled them all and tried again to no avail. Is it sufficient to disable the mods or do I have to uninstall them completely? Lemme go back and double check that all mods were disabled. Maybe something older I failed to disable is mussing with things.... 

Link to comment
Share on other sites

OK, I went back and confirmed ALL mods were disabled, even quit of of game to desktop and restarted and confirmed they were still all disabled. If you think it will make a difference if I unsubscribe from all of them, lemme know. It would be a pain. I could also uninstall all mods I know I don't normally use for certain, but I would prefer not uninstalling all mods to find out unless I need to. I'll see about removing unused ones for a start. 

Link to comment
Share on other sites

12 hours ago, Grelko said:

I checked to see if it was throwing the error with other types of clothing, because it was "favorited" when you tried repairing it, but that didn't cause any issue.

 

I'm wondering if the "deputy jacket" itself could be causing this, except I don't have one to test with.

 

It fails with any clothing for me, not just that jacket, favorited or not.  

Link to comment
Share on other sites

OK, I unsubscribed from all mods and added them back selectively. It looks like the issue was resolved. I suspect it was the following mod causing the issue, despite I had disabled it:

 

https://steamcommunity.com/sharedfiles/filedetails/?id=2142622992

 

I also see now that enabling mods on the make menu may only affect new games. If I go into Load menu, I see there is an option to change mods the save game will use. 

 

No longer an issue, was a mod causing the problem. Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...