NullPointerException in GeofenceManager

Leonar Ortiz6 years ago

Server log starting to show this warning.

NullPointerException (GeofenceManager:43 < GeofenceEventHandler:51 < BaseEventHandler:27 < ...)

What could be be the cause of this?

Anton Tananaev6 years ago

Most likely some issue in the database.

Leonar Ortiz6 years ago

How many Geofences Traccar Supports? This question is because the issue dissapear when I truncate the geofences table. I have around 1000 geofences in that table.

Anton Tananaev6 years ago

There is no limit.

Leonar Ortiz6 years ago

Thanks Anton for you ultra fast answer. The table tc_user_geofence has 4000 rows, device_geofence 7000 rows, and notifications are activated for geofence enter and exit through firebase. There is some issue with this values?

Leonar Ortiz6 years ago

Anton, The database is Amazon Aurora MySQL. I'm facing the same issue with a new installation with a few devices an geofences. This issue can be because Amazon Aurora ?

Hi Anton,
FYI.
We are using MySQL MariaDB. I have imported Device, Geofence from backend. Also I have imported all necessary mappings required: 1) User-device 2) user-geofence 3) device-geofence(which has 39000 data).
I am also facing the same error:

NullPointerException (GeofenceManager:43 < *:60 < *:35 < PermissionsManager:379 < BaseObjectResource:102 < ...)

What could be the possible reason?
Need your help.