Type mismatch: wanted Integer, got Null instead.
I've had the following error message several times now.
This applications has raised an unexpected error and must abort.
r6 Type mismatch: wanted Integer, got Null instead.
#1 Updated by rdnzl about 9 years ago
Hi, that's strange, it seems that the .Tag of the ping process is empty, this should hold the Id of the ping device.
iId = LAST.Tag
How many ping devices do you have in your database, which version of Gambas are you running. Does it reports normal values when it works in between the errors?
#3 Updated by rdnzl about 9 years ago
You can add these 2 lines just above END in Ping_Kill() in Ping.module
Main.WriteDebugLog(("ERROR: Parsing Ping Result: ") & Error.Text & " at " & Error.Where)
This will prevent Domotiga to stop when the error occurs.
But it would be nice if you leave it out for a moment and post the contents of LAST.Tag and LAST.Value.
You can get them when you run domotiga from the IDE and when the error occurs just select these 2 variables in Ping.Module with your mouse, you will see the values.