org.traccar.storage.StorageException: java.sql.SQLSyntaxErrorException

Victor Butler 2 days ago

I have been trying to find the location where the exception message content is generated but to no avail.

For example, if I get an exception like this, which traccar class is responsible to generate that message content on the frontend:

org.traccar.storage.StorageException: java.sql.SQLSyntaxErrorException: Table 'db.tc_maintenance_device' doesn't exist at org.traccar.storage.DatabaseStorage.getObjectsStream(DatabaseStorage.java:90) at org.traccar.storage.DatabaseStorage.getObjects(DatabaseStorage.java:66) at

MessageException.java and StorageException.java only seem to pass the message already generated...

Anton Tananaev 2 days ago

Is this from official Traccar? What's the full stack trace? What version? How do you get this error?

Victor Butler 2 days ago

This is official traccar, last version. I get the error by modifying the front end - connections feature. So it's not an issue with traccar.

I want to make the message more informative / more user friendly but cannot find the proper java class that generates the exceptions. Any advice will be appreciated.

Thanks!

Anton Tananaev 2 days ago

Sounds like it's not a error that could happen in the official app, right?

Victor Butler 2 days ago

No, not on the official app. But errors of this same structure do happen on the official app from time to time. So where this message content can be modified from? Any ideas?

Victor Butler 2 days ago

Anyhitng?