This object is in archive! 

Crash when selecting back during loading of theme shared this problem 8 years ago

Ran into this one, reproducible crash in Locus Pro 3.11.3:

Start Locus

Go to screen for selecting another theme

Select a theme of type mapsforge 0.5, eg elevate 3

Screen will state: busy loading

During that, quickly press 'back'

Locus will crash

Looking in logcat it says something like:

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object android.content.Context.getSystemService(java.lang.String)' on a null object reference

and a lot more

It seems to be best reproducible while selecting one of the new themes, based on mapsforge 0.5.

Replies (1)


Very precise report, thank you!

Thanks to log, I've fixed this problem. Anyway as I do not have a such theme installed, I hope that it is fixed correctly :). So if in next version, problem still occur, just let me know. I'll install theme and test it more precisely.

Replies have been locked on this page!