Android Question App crash - Object should first be initialized (Intent)


Active Member
Licensed User
Hi all
i have developed an app with a sticky service that is restarted at regular intervals. Everything seems to work but sometimes the app crashes randomly whithout reasons.

I took a look to the Logcat and it says:
java.lang.RuntimeException: Unable to start service with null: java.lang.RuntimeException: java.lang.RuntimeException: Object should first be initialized (Intent).
Someone had the same issue ( but i am not a skilled developer so i don't know how to solve this problem.

Anyone can help me with an explanation about what it is going wrong?

In the first lines of code of the service i put something like this:
If StartingIntent.Action = "android.bluetooth.device.action.FOUND" Then
end if
Is the problem related to this?

Thank You!