Null pointer?

Started by Radiant, Tue 11/02/2014 12:11:40

Previous topic - Next topic

Radiant

I'm getting this error:

An internal error has occurred. Please note down the following information.
If the problem persists, post the details on the AGS Technical Forum.
(ACI version 3.3.0.1156)

Error: Error running function 'repeatedly_execute':
Error: ScriptSprintf: argument 0 is expected to be a string, but it is null pointer

Oddly enough this doesn't show a line number, and it appears to be happening in AGS's internal code. Anyone know what's up?

Radiant

Got it, it's a String.Format command, with indeed one of the parameters being a nullpointer.

Crimson Wizard

#2
Quote from: Radiant on Tue 11/02/2014 12:34:16
Got it, it's a String.Format command, with indeed one of the parameters being a nullpointer.
Yes, the reported message was introduced in 3.3.0, in the previous versions this situation caused program to crash with exception:
http://www.adventuregamestudio.co.uk/forums/index.php?issue=279.0

In the following versions we should find a way to properly report a script line (this may require writing a uniform error handling system).

SMF spam blocked by CleanTalk