Seeing these errors a lot. What do they mean? And is there a place where I could look up what those error codes mean myself?[f=0000000] Warning: AI for team 0 (ID: 0) failed handling event with topic 6, error: -5
[f=0000001] Warning: AI for team 0 (ID: 0) failed handling event with topic 3, error: -5
failed handling event
Moderators: hoijui, Moderators
failed handling event
- Attachments
-
- infolog.txt
- (157.38 KiB) Downloaded 133 times
Re: failed handling event
the meaning of the topic numbers can be found here:
https://github.com/spring/spring/blob/d ... ISEvents.h
the meaning of the error is a harder thing. the error coudl happen in the native part of the ai interface (if AI is Java:, the java part, the OO wrapper) or the AI itsself.
most likely, you are throwing exceptions or other throwables in your event handling code. simply try to catch them.
https://github.com/spring/spring/blob/d ... ISEvents.h
the meaning of the error is a harder thing. the error coudl happen in the native part of the ai interface (if AI is Java:, the java part, the OO wrapper) or the AI itsself.
most likely, you are throwing exceptions or other throwables in your event handling code. simply try to catch them.
Re: failed handling event
Thanks, that helped me narrow it down. Apparently every frame I was trying to access a List<Unit> that hadn't been initialized yet. I guess I was expecting a null reference exception.