MineColonies

MineColonies

57M Downloads

AI Error Deliveryman - NullPointer

Strohtaler opened this issue ยท 0 comments

commented

Minecolonies version

MInecolonies: actual commit: e18a631

Structurize: actual commit: 1032fe0
(a.k.a. 0.10.323-ALPHA)

Actual behaviour

Delivery man shows message about AI problem; NullPointerException in latest.log.

Excerpt:

[14Jun2020 18:23:56.002] [Server thread/WARN] [minecolonies/]: Statemachine for transition com.minecolonies.api.entity.ai.statemachine.AITarget@349e742b threw an exception:
java.lang.NullPointerException: null
	at com.minecolonies.coremod.colony.jobs.JobDeliveryman.addRequest(JobDeliveryman.java:189) ~[?:unspecified]
	at com.minecolonies.coremod.colony.requestsystem.resolvers.DeliveryRequestResolver.attemptResolveRequest(DeliveryRequestResolver.java:114) ~[?:unspecified]
	at com.minecolonies.coremod.colony.requestsystem.management.handlers.RequestHandler.assignRequestDefault(RequestHandler.java:172) ~[?:unspecified]
	at com.minecolonies.coremod.colony.requestsystem.management.handlers.RequestHandler.assignRequest(RequestHandler.java:109) ~[?:unspecified]
	at com.minecolonies.coremod.colony.requestsystem.management.handlers.RequestHandler.assignRequest(RequestHandler.java:91) ~[?:unspecified]
	at com.minecolonies.coremod.colony.requestsystem.management.handlers.RequestHandler$$Lambda$6285/816915700.accept(Unknown Source) ~[?:?]
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_51]

additional Exception: IllegalArgumentException: The given request: StandardToken{id=407ee086-65ad-43d9-ac46-b1e79f0726ed} is not resolved

Logs: Latest.log