Locus is crashing everytime I try to open a cache listing

Mathias Dittrich shared this problem 3 years ago
Solved

Locus is crashing for me, everytime I try to open some caches of series.


For example this one: http://coord.info/GC67TXG

Most of these 50 mysteries are not opening, but all other caches are working fine.


That's curious


Maybe there is something in the listing...?

Best Answer
photo

@balloni55: thanks for a report, this helped a lot!


I found that this is an issue caused by improved handling of a new lines in logs. Issue is anyway in Android itself, not in Locus code. Fortunately I was able to simulate exactly same issue on older Huawei device and found also a "hack" how to display log without a crash.


So sorry for a complications. In next version issue will be fixed together with improved (faster and with lazy-loading) loading of logs for display (currently a log of logs really slowed down display of cache screen).

Comments (6)

photo
1

Update:


The problem only appears, when I am updating the cache details...

After updating the corrected coordinates, the listing is no more opening, but crashing the whole time.

photo
1

Hi Mathias

- import this cache with GC4L is possible, while first opening locus fc

- download gpx of this cache it´s possible to open it, but after cache update locus fc

photo
1

Hello guys,


is really a problem that Locus crash? There is need to make a difference between two states


a) there is really some problem and Locus ends with "Force close" - this means that you should see an dialog "Application was closed", or something similar

b) or Locus just incorrectly do some hard work and block main user interface. Then you may see something like "Application is not responding", but in this case, you just have to wait a while, till work is done and Locus starts to work again as expected.


In case, you update a logs over Geocaching4Locus, there will be around 100 logs. And convert these 100 logs into "good looking text", is quite complicated work, that Locus incorrectly do just during a start. Give it a try and let it work for a while and tell me your results. Thanks.

photo
1

Hi menion,

for me it´s "a", after opening listing 15 sec. black screen, no reaction on any other action/button and than

a5bbd516b73e35d3942f930cf03e1edf


in this case i click "Bericht" with a little hint for you at ~18:45

photo
1

Same for me.


For me it's not depending to "update logs", but "refresh listing"...

photo
1

@balloni55: thanks for a report, this helped a lot!


I found that this is an issue caused by improved handling of a new lines in logs. Issue is anyway in Android itself, not in Locus code. Fortunately I was able to simulate exactly same issue on older Huawei device and found also a "hack" how to display log without a crash.


So sorry for a complications. In next version issue will be fixed together with improved (faster and with lazy-loading) loading of logs for display (currently a log of logs really slowed down display of cache screen).