An update to newest version 5.10 changed the error thrown:
The second error is because you're using H2 database. You have to manually migrate it to a newer version. It has been discussed many times. Search the forum.
As for the original error, you should enable full stack traces to see the full error.
Good afternoon. Happy user of Traccar server here. Since yesterday, Traccar service (which we have running for a few years already) refuses to start and throws a 502 Bad gateway error. We find ArrayIndexOurofBoundsException when it tries to start.