Vicente Díaz

Results 19 comments of Vicente Díaz

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String[] java.lang.String.split(java.lang.String)' on a null object reference at com.transistorsoft.locationmanager.logger.b.a(r8-map-id-fed9c793a1b3acbad67608d85536913f32d28bd6b5c81e75c327bd553cfdfa9b:119) at com.transistorsoft.locationmanager.logger.b.b(r8-map-id-fed9c793a1b3acbad67608d85536913f32d28bd6b5c81e75c327bd553cfdfa9b:291) at com.transistorsoft.locationmanager.logger.TSLog$c.run(r8-map-id-fed9c793a1b3acbad67608d85536913f32d28bd6b5c81e75c327bd553cfdfa9b:35) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651) at java.lang.Thread.run(Thread.java:1119)

here is whole file. ```dart import 'dart:async'; import 'dart:convert'; import 'package:flutter_background_geolocation/flutter_background_geolocation.dart'; import 'package:flutter_dotenv/flutter_dotenv.dart'; import 'package:sentry_flutter/sentry_flutter.dart'; import 'package:urvan_driver/Utils/AppGlobal.dart'; import 'package:urvan_driver/Utils/Constants.dart'; class BackgroundLocationProService { BackgroundLocationProService._(); static final BackgroundLocationProService instance = BackgroundLocationProService._(); bool...

``` /// Send debug logs via email /// This will open the device's email app with logs attached Future emailLogs(String emailAddress) async { if (!isEnabled) { AppGlobal.printLog( '[BG Geolocation] ❌...

Im using a webview so functions are invoked using javascript. ``` // Email logs controller.addJavaScriptHandler( handlerName: 'backgroundLocationPro.emailLogs', callback: (args) async { AppGlobal.printLog('backgroundLocationPro.emailLogs Event'); final String emailAddress = args.isNotEmpty ? args[0]...

When using sendLogsToSentry, it sends a file with following error: `Attempt to invoke virtual method 'java.lang.String[] java.lang.String.split(java.lang.String)' on a null object reference`

[background-geolocation.log](https://github.com/user-attachments/files/23863312/background-geolocation.log)

I noticed this error: ``` 12-01 16:11:50.003 WARN [unknown null] ⚠️ Attempted to post headless event location but there are no listeners. 12-01 16:11:50.003 ERROR [unknown null] HeadlessTask failed to...

Yes its a release builds, with my current setup its hard to test a debug build. Is there an issue with that or can I just simply ignore it?

``` 12-02 11:24:27.153 DEBUG [LifecycleManager onResume] ☯️ onResume 12-02 11:24:27.148 DEBUG [LifecycleManager onStart] ☯️ onStart 12-02 11:24:19.066 DEBUG [t a] ✅ Locked 0 records 12-02 11:24:19.066 INFO [BackgroundTaskManager$Task stop] ⏳...