question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Describe your problem!

Two user reporting, that the app crashes after updating to 2022.03.09 when trying to open the map. Logfiles from user are requested.

Additionally I do see a significant amount of this (new!) crash on Play Console, which might be related:

java.lang.NullPointerException: 
  at cgeo.geocaching.maps.RouteTrackUtils.lambda$reloadTrack$19 (RouteTrackUtils.java:238)
  at cgeo.geocaching.maps.RouteTrackUtils.lambda$reloadTrack$19$RouteTrackUtils (Unknown Source)
  at cgeo.geocaching.maps.-$$Lambda$RouteTrackUtils$6TnbNEkUFq2c0CmC_heN1Jzl0nk.updateRoute (Unknown Source:6)
  at cgeo.geocaching.files.GPXTrackOrRouteImporter.lambda$doImport$2 (GPXTrackOrRouteImporter.java:49)
  at cgeo.geocaching.files.-$$Lambda$GPXTrackOrRouteImporter$_5oHk4GG8Dp5ykMjvvDuO0uXai8.run (Unknown Source:6)
  at io.reactivex.rxjava3.android.schedulers.HandlerScheduler$ScheduledRunnable.run (HandlerScheduler.java:123)
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:226)
  at android.os.Looper.loop (Looper.java:313)
  at android.app.ActivityThread.main (ActivityThread.java:8633)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:567)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1135)

How to reproduce?

Unclear

Actual result after these steps?

Crash

Expected result after these steps?

Normal operation

Reproducible

Unclear

c:geo Version

2022.03.09

System information

Android 11+12, Several devices

Additional Information

Support ticket 129308

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:18 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
Lineflyercommented, Mar 10, 2022

@Lineflyer The PR does most likely fix the crash, and at least can’t do any harm. Do you have time to do a new bugfix release? We should try to be as fast as possible, so that users have a working geocaching app this weekend 😃

Yep…will do it.

0reactions
MagpieFourtyTwocommented, Mar 11, 2022

@alan666notb

Just the normal Google play store update.

Ah, IC. Was already dreaming of an AutoUpdating Nightly … 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java HashMap get method null pointer exception
myMap which is a HashMap returns null when get() is invoked because a certain key is not present in the map. null is...
Read more >
Null Pointer exception on a Map get()
If zero rows would be returned, there's no entry in the map for the record, so you need to check for that first:...
Read more >
Null pointer exception - java help on CodeGym
I'm confused as to how to work around the null pointer exception with this object. map.put("Baby", .. java programming help on java course ......
Read more >
Null pointer exception in HashMap - Learn Java and WCS
Don't forget to set the hash map before using it. Below code will through NullPointerException. import java.
Read more >
null pointer exception for a map - Salesforce Developers
I am getting a null pointer exception in below code. how can i put a check on below code to check if it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found