I'm getting this frequently in my server logs.
2026-08-25 13:38:24 WARN: Position handler failed - Cannot invoke "Object.hashCode()" because "pe" is null - NullPointerException (... < CacheManager:103 < GeofenceUtil:31 < GeofenceHandler:37 < BasePositionHandler:34 < ...)
I tried to enable alarm notifications of the device being unplugged and then added some custom attributes - The errors only started yesterday at the time I was playing so I know its me. I have no Computed Attributes set, no Attributes set in the device. I'm pretty sure I removed everything I tried setting (which I guess I haven't?) but still getting the error. It is updating the location ok still, just this error appearing after each update.
Any tips.
Official unmodified Traccar? What version?
6.14.5 - Windows version. Unmodified. Pretty new install (~3 weeks) with only a move from initial DB to MSSQL
Looks like the error means that you have dangling permission that referenced non-existent geofence. How did you move the database? Are you sure foreign key constraints were preserved. Verify if you have those.
I used Squirrel to do it table by table. I did recently modify a Geofence, deleted and recreated with the same name... Where do I check the Key constraints?
When I look at the geofence table it shows 6 records where in traccar I only have 5.
Foreign key constraints should be in the database schema.
I'm getting this frequently in my server logs.
I tried to enable alarm notifications of the device being unplugged and then added some custom attributes - The errors only started yesterday at the time I was playing so I know its me. I have no Computed Attributes set, no Attributes set in the device. I'm pretty sure I removed everything I tried setting (which I guess I haven't?) but still getting the error. It is updating the location ok still, just this error appearing after each update.
Any tips.