Jump to content

[All Build 41 (41.77.9 Still Present)][MP Dedicated] Client booted to menu due to NullPointerException when getting position of a zombie.


UdderlyEvelyn

Recommended Posts

ERROR: General     , 1663945464480> 6,878,750,020> ExceptionLogger.logException> Exception thrown java.lang.NullPointerException: Cannot invoke "zombie.iso.IsoGridSquare.getX()" because "this.square" is null at IsoObject.getX line:3023.
ERROR: General     , 1663945464480> 6,878,750,020> DebugLogStream.printException> Stack trace:
java.lang.NullPointerException: Cannot invoke "zombie.iso.IsoGridSquare.getX()" because "this.square" is null
	at zombie.iso.IsoObject.getX(IsoObject.java:3023)
	at zombie.characters.IsoZombie.lambda$registerVariableCallbacks$12(IsoZombie.java:565)
	at zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlotCallback.getValue(AnimationVariableSlotCallback.java:34)
	at zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlotCallbackBool.getValueString(AnimationVariableSlotCallbackBool.java:49)
	at zombie.core.skinnedmodel.advancedanimation.AnimationVariableSource.getVariableString(AnimationVariableSource.java:292)
	at zombie.characters.IsoGameCharacter.getVariableString(IsoGameCharacter.java:13614)
	at zombie.characters.action.conditions.CharacterVariableCondition.resolveValue(CharacterVariableCondition.java:247)
	at zombie.characters.action.conditions.CharacterVariableCondition.passes(CharacterVariableCondition.java:279)
	at zombie.characters.action.ActionTransition.passes(ActionTransition.java:138)
	at zombie.characters.action.ActionContext.evaluateCurrentStateTransitions(ActionContext.java:157)
	at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
	at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
	at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
	at zombie.util.Lambda.capture(Lambda.java:130)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
	at zombie.characters.action.ActionContext.updateInternal(ActionContext.java:78)
	at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
	at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
	at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
	at zombie.util.Lambda.capture(Lambda.java:130)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
	at zombie.characters.action.ActionContext.update(ActionContext.java:66)
	at zombie.characters.IsoGameCharacter.postUpdateInternal(IsoGameCharacter.java:12046)
	at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
	at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
	at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
	at zombie.util.Lambda.capture(Lambda.java:130)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
	at zombie.characters.IsoGameCharacter.postupdate(IsoGameCharacter.java:12025)
	at zombie.characters.IsoZombie.postUpdateInternal(IsoZombie.java:2103)
	at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
	at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
	at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
	at zombie.util.Lambda.capture(Lambda.java:130)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
	at zombie.characters.IsoZombie.postupdate(IsoZombie.java:2095)
	at zombie.MovingObjectUpdateSchedulerUpdateBucket.postupdate(MovingObjectUpdateSchedulerUpdateBucket.java:97)
	at zombie.MovingObjectUpdateScheduler.postupdate(MovingObjectUpdateScheduler.java:185)
	at zombie.CollisionManager.resolveContactsInternal(CollisionManager.java:411)
	at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
	at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
	at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
	at zombie.util.Lambda.capture(Lambda.java:130)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
	at zombie.CollisionManager.ResolveContacts(CollisionManager.java:236)
	at zombie.iso.IsoWorld.updateInternal(IsoWorld.java:3482)
	at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
	at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
	at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
	at zombie.util.Lambda.capture(Lambda.java:130)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
	at zombie.iso.IsoWorld.update(IsoWorld.java:3407)
	at zombie.gameStates.IngameState.updateInternal(IngameState.java:1657)
	at zombie.gameStates.IngameState.update(IngameState.java:1373)
	at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
	at zombie.GameWindow.logic(GameWindow.java:297)
	at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
	at zombie.GameWindow.frameStep(GameWindow.java:764)
	at zombie.GameWindow.run_ez(GameWindow.java:680)
	at zombie.GameWindow.mainThread(GameWindow.java:494)
	at java.base/java.lang.Thread.run(Unknown Source)

This doesn't happen with any consistency, only at random, but it seems once in a while there's somehow no square for the IsoZombie. I've experienced this on all versions from 41.71 and up - not sure if it ever happened prior but I don't recall it.

Edited by UdderlyEvelyn
Link to comment
Share on other sites

This happened before aswell. I don't exactly remember which version, but at least since the start of b41.

Hard to give any specifics on this because it does happen somewhat randomly but loading in larger groups of zombies while driving seems to make especially the passenger susceptible. Crashes on foot or driving your own car are much less frequent in my experience.

Link to comment
Share on other sites

  • 3 weeks later...

This still occurs as of 41.77.4, and yes mods are enabled. The error occurs in vanilla code on the java side, though, so I'm not sure how it could be mod-related - what kind of mod could make the square a zombie is at null?

 

There's reports of this error online as far back as December 2021.. In order to avoid clients being booted to the menu it would be helpful if a check for whether a square is null were in place.

 

Edit: Is this item in the changelog referencing this bug?

- Fixed NullPointerException in bThump animation variable when the object isn't loaded.
Edited by UdderlyEvelyn
Link to comment
Share on other sites

  • UdderlyEvelyn changed the title to [All Build 41 (41.77.4 Still Present)][MP Dedicated] Client booted to menu due to NullPointerException when getting position of a zombie.
  • 2 weeks later...
  • UdderlyEvelyn changed the title to [All Build 41 (41.77.9 Still Present)][MP Dedicated] Client booted to menu due to NullPointerException when getting position of a zombie.

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...