NullPointerException (... <DataManager:124..

Abou4 years ago

Hello
After installation of traccar v4.6 on local server ubuntu x86-64
I tried to start the traccar service but i had this error bellow

root@ubuntuLaboInter:~# systemctl restart traccar.service
root@ubuntuLaboInter:~# systemctl status traccar.service
● traccar.service - traccar
   Loaded: loaded (/etc/systemd/system/traccar.service; enabled; vendor preset:
   Active: failed (Result: exit-code) since mar. 2019-10-22 10:26:19 GMT; 5s ago
  Process: 7096 ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf
 Main PID: 7096 (code=exited, status=1/FAILURE)

oct. 22 10:26:19 ubuntuLaboInter traccar[7096]:         at com.zaxxer.hikari.Hik
oct. 22 10:26:19 ubuntuLaboInter traccar[7096]:         at com.zaxxer.hikari.Hik
oct. 22 10:26:19 ubuntuLaboInter traccar[7096]:         at org.traccar.database.
oct. 22 10:26:19 ubuntuLaboInter traccar[7096]:         at org.traccar.database.
oct. 22 10:26:19 ubuntuLaboInter traccar[7096]:         at org.traccar.Context.i
oct. 22 10:26:19 ubuntuLaboInter traccar[7096]:         at org.traccar.Main.run(
oct. 22 10:26:19 ubuntuLaboInter traccar[7096]:         ... 1 more
oct. 22 10:26:19 ubuntuLaboInter systemd[1]: traccar.service: Main process exite
oct. 22 10:26:19 ubuntuLaboInter systemd[1]: traccar.service: Unit entered faile
oct. 22 10:26:19 ubuntuLaboInter systemd[1]: traccar.service: Failed with result
lines 1-16/16 (END)
root@ubuntuLaboInter:~#

My log file

root@ubuntuLaboInter:~# cat /opt/traccar/logs/tracker-server.log       
        
2019-10-22 10:10:46 ERROR: Main method error - NullPointerException (... < DataManager:124 < *:89 < Context:292 < Main:110 < ...)
2019-10-22 10:23:07 ERROR: Main method error - NullPointerException (... < DataManager:124 < *:89 < Context:292 < Main:110 < ...)
2019-10-22 10:26:19 ERROR: Main method error - NullPointerException (... < DataManager:124 < *:89 < Context:292 < Main:110 < ...)
2019-10-22 10:26:34 ERROR: Main method error - NullPointerException (... < DataManager:124 < *:89 < Context:292 < Main:110 < ...)
root@ubuntuLaboInter:~#

help

Anton Tananaev4 years ago

Probably means incorrect config.

Slawek4 years ago

did you try my script ?