#Sorry, an unexpected error occured

1 messages · Page 1 of 1 (latest)

feral locust
acoustic nova
#

When you say you did a fresh install did you follow the steps below exactly?

First, uninstall the game, then go to "Steam\steamapps\common\ProjectZomboid" and make sure there are no leftover files or folders there.

After that, go to “%UserProfile%\Zomboid” and delete everything there except the “Saves” folder.

Then just install the game again and see if that helps.

feral locust
# acoustic nova When you say you did a fresh install did you follow the steps below exactly? Fi...

It worked, man. Now there’s a new problem. It’s a vanilla one from an unstable build. I was playing multiplayer, and at first everything seemed fine—until I tried to loot items from a corpse or move something from my bag. The action bar started looping infinitely. I also tried dropping something from my main inventory onto the floor, but nothing worked.

Lua(Vanilla).update(ISInventoryTransferAction.lua:167)
java.lang.IllegalArgumentException: java.lang.NullPointerException: Cannot invoke "java.lang.Number.byteValue()" because the return value of "sun.invoke.util.ValueConversions.primitiveConversion(sun.invoke.util.Wrapper, Object, boolean)" is null
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
    at java.base/java.lang.reflect.Method.invoke(Unknown Source)
    at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:58)

here's the log for it from error magnifier

acoustic nova
#

This is happening with no mods enabled?

feral locust
# acoustic nova This is happening with no mods enabled?

Even with only light mods, the weird thing is that I was the only one experiencing it. I uninstalled and reinstalled the game, unsubscribed and resubscribed to the mods, and even deleted the “%UserProfile%\Zomboid” folder just to make sure no mods were corrupting my game.

acoustic nova
#

What about with zero mods on a new save?

feral locust
#

I haven’t tried it yet, I can’t find any servers without mods.

#

Oh, I forgot to mention that I tried the mods in single-player, and everything seems fine. It seems I’m only having issues in multiplayer.

#

I tried another server, and I'm having the same issue.

Lua(Vanilla).update(ISInventoryTransferAction.lua:167)
java.lang.IllegalArgumentException: java.lang.NullPointerException: Cannot invoke "java.lang.Number.byteValue()" because the return value of "sun.invoke.util.ValueConversions.primitiveConversion(sun.invoke.util.Wrapper, Object, boolean)" is null
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
    at java.base/java.lang.reflect.Method.invoke(Unknown Source)
    at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:58)
    at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:194)
    at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:184)
    at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:177)
    at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:794)
    at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:161)
    at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1749)
    at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1593)
    at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:35)
    at zombie.characters.CharacterTimedActions.LuaTimedActionNew.update(LuaTimedActionNew.java:87)
    at zombie.characters.IsoGameCharacter.updateInternal(IsoGameCharacter.java:9191)
    at zombie.characters.IsoGameCharacter.update(IsoGameCharacter.java:8822)
    at zombie.characters.IsoPlayer.updateInternal1(IsoPlayer.java:2064)
    at zombie.characters.IsoPlayer.update(IsoPlayer.java:2040)
    at zombie.MovingObjectUpdateSchedulerUpdateBucket.update(MovingObjectUpdateSchedulerUpdateBucket.java:63)
    at zombie.MovingObjectUpdateScheduler.update(MovingObjectUpdateScheduler.java:158)
    at zombie.iso.IsoCell.ProcessObjects(IsoCell.java:2610)
    at zombie.iso.IsoCell.updateInternal(IsoCell.java:4841)
#
Lua(Vanilla).update(ISInventoryTransferAction.lua:160)

=== Error #5 (x4) ===
Lua(Vanilla).update(ISInventoryTransferAction.lua:162)
java.lang.IllegalArgumentException: java.lang.NullPointerException: Cannot invoke "java.lang.Number.byteValue()" because the return value of "sun.invoke.util.ValueConversions.primitiveConversion(sun.invoke.util.Wrapper, Object, boolean)" is null
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
    at java.base/java.lang.reflect.Method.invoke(Unknown Source)
    at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:58)
    at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:194)
    at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:184)
    at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:177)
    at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:794)
    at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:161)
    at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1749)
    at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1593)
    at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:35)
    at zombie.characters.CharacterTimedActions.LuaTimedActionNew.update(LuaTimedActionNew.java:87)
    at zombie.characters.IsoGameCharacter.updateInternal(IsoGameCharacter.java:9191)
    at zombie.characters.IsoGameCharacter.update(IsoGameCharacter.java:8822)
    at zombie.characters.IsoPlayer.updateInternal1(IsoPlayer.java:2064)
    at zombie.characters.IsoPlayer.update(IsoPlayer.java:2040)
acoustic nova
#

That would suggest that one of the mods has bugged network code if it works in single player.

feral locust
#

I was the only one who had this problem, and no matter which server I played on, the problem was still the same.

acoustic nova
#

What if you create a new character on that same server?

feral locust
#

same thing sir

#

I can show it to you tomorrow if you wanted to

#

or I can provide some recorded clips of it

#

there'll be some problems

#

but no

#

it did not

#

it works fine in his rig

acoustic nova
#

Ok so can we try the full reinstall but with an extra step? This time can you send me screenshots of the folders as you do it so I can verify nothing has been missed.

First, uninstall the game, then go to "Steam\steamapps\common\ProjectZomboid" and make sure there are no leftover files or folders there.

Then unsubcribe from all your mods in the workshop.

Then go to "Steam\steamapps\workshop\content\108600" and delete everything in that folder.

After that, go to “%UserProfile%\Zomboid” and delete everything there except the “Saves” folder.

Reinstall the game and launch it at least once.

Resubscribe to your mods and try again.