BackgroundGeolocation not working while app is closed

05-22 19:12:41.066 9725-9725/com.itrackgps.gotracker E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.itrackgps.gotracker, PID: 9725
java.lang.RuntimeException: Unable to start service com.marianhello.bgloc.LocationService@221463a0 with Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.itrackgps.gotracker/.MainActivity bnds=[34,494][505,965] }: java.lang.NullPointerException: Attempt to invoke virtual method ‘java.lang.Boolean com.marianhello.bgloc.Config.getStopOnTerminate()’ on a null object reference
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2941)
at android.app.ActivityThread.access$2100(ActivityThread.java:155)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1415)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5343)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method ‘java.lang.Boolean com.marianhello.bgloc.Config.getStopOnTerminate()’ on a null object reference
at com.marianhello.bgloc.LocationService.onTaskRemoved(LocationService.java:199)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2926)
at android.app.ActivityThread.access$2100(ActivityThread.java:155)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1415)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5343)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)

did you find any solution ?