Jump to content
UdderlyEvelyn

[41.71/41.73/41.76][MP Dedicated] Client booted to menu due to NullPointerException when getting position of a zombie.

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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...