Locus Classic crash on Android 8

Started by Ant, October 12, 2024, 15:21:30

0 Members and 1 Guest are viewing this topic.

Ant

First, thanks for the awesome app!

This morning I wasn't able to start Locus for my ride.

I am seeing the following stack trace:

10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime: FATAL EXCEPTION: main
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime: Process: menion.android.locus.pro, PID: 5864
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime: java.lang.NoSuchMethodError: No virtual method reversed()Ljava/util/List; in class Ljava/util/ArrayList; or its super classes (declaration of 'java.util.ArrayList' appears in /system/framework/core-oj.jar)
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime:    at o.zzhdzza.write(:154)
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime:    at o.zzhdzza.MediaBrowserCompatCustomActionResultReceiver(:116)
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime:    at o.zzhdzza.read(:42)
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime:    at o.zzeazza.attachBaseContext(:70)
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime:    at android.app.Application.attach(Application.java:189)
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime:    at android.app.Instrumentation.newApplication(Instrumentation.java:1103)
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime:    at android.app.Instrumentation.newApplication(Instrumentation.java:1087)
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime:    at android.app.LoadedApk.makeApplication(LoadedApk.java:993)
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime:    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5756)
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime:    at android.app.ActivityThread.-wrap1(Unknown Source:0)
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1690)
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:106)
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:164)
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:6548)
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
10-12 14:59:57.396 10133  5864  5864 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:857)


According to https://developer.android.com/reference/java/util/List#reversed() that function was added in android 15.

I see on google play that locus classic was updated two days ago.
Any chance to get that fixed?
  •  

Menion

Hello,
sorry for this. Interesting is, that this method is in the app already for a few years. After a recent update, seems that the Kotlin compiler took the method from Android SDK and not the extension method I used before ... and here we are. No compile problem, but crashes at the start on devices with Android 14-.

Anyway more about it here: https://help.locusmap.eu/topic/36051-locus-does-not-start-up-android . I'm already desperately waiting on Google, till someone wakes up there and confirms the publishing of a fixed version  :'( .
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

Ant

Ah great to see it is already fixed.

And thanks for the explanation!
  •  

KIM-PA

Maybe my problem also.
Locus is not able to run.
Reinstalation was probably stupid mistake....
I hope it will be successfully fixed shortly  ;)
  •  

cprima

Long time fan of Locus Map,
my old Samsung S5 is permanently mounted to my bicycle.

Nasty surprise this morning:  App crashes after less than a second. Could not find a way to produce error logs. Seems that all permission settings are reset!?

Android is version 11 (Lineage is install)

Google Play store shows there is a new version from Oct 10. Last time I used the app was on Oct 9, incidentally.

  •  

juhu74

Hi all,
First of all I also want to thank for many years of hassle-free use of Locus Map.

Unfortunately after the update to 3.70.12 it crashes on my Samsung S10 Android 12 right after start. And the same happens on a Huawei P30 Pro with Android 9.

I hope it gets fixed soon.

I'm sorry for not posting any crash reports, as I simply have to figure out how to get them first. Never needed to...
  •  

arr2

I'm also seeing Locus crash on startup.
Samsung S10 Android 11. Locus 3.70.12
Now my tablet wants to update. Any advise on how to stop the update?
  •  

Menion

An update on Google Play has been confirmed and is available as a regular update, so update it  :).

And sorry ... as someone wrote to me on support: "Shit happens". Similar problems already happened over the last years, but I was usually able to fix it at night and an hour or two later was fixed version was available for download over Google Play, so not a big global problem. Now it took more than 24 hours till the fixed version was available and this was a problem!
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download

cprima

Quote from: Menion on October 13, 2024, 07:17:23"Shit happens"

Agreed.

Many thanks for the fix (on a weekend)!
Just bought a couple of LoCoins, after taxes it should pay for a beer or coffee.

Locus Map is the reason that I still keep a "googled phone" around.


@Ant:
How did you make the stack trace, with my limited understanding of Android development I could not figure it out, ad hoc yesterday.
  •