OpenTracksApp/OSMDashboard

NullPointerException in MapsActivity.onWindowFocusChanged (LatLongUtils.zoomForBounds)

pstorch opened this issue · 0 comments

Reported by Google Play Console:

java.lang.NullPointerException: 
  at org.mapsforge.core.util.LatLongUtils.zoomForBounds (LatLongUtils.java:410)
  at de.storchp.opentracks.osmplugin.MapsActivity.onWindowFocusChanged (MapsActivity.java:716)
  at androidx.appcompat.view.WindowCallbackWrapper.onWindowFocusChanged (WindowCallbackWrapper.java:124)
  at androidx.appcompat.view.WindowCallbackWrapper.onWindowFocusChanged (WindowCallbackWrapper.java:124)
  at com.android.internal.policy.DecorView.onWindowFocusChanged (DecorView.java:1581)
  at android.view.View.dispatchWindowFocusChanged (View.java:12106)
  at android.view.ViewGroup.dispatchWindowFocusChanged (ViewGroup.java:1416)
  at android.view.ViewRootImpl$ViewRootHandler.handleMessage (ViewRootImpl.java:4283)
  at android.os.Handler.dispatchMessage (Handler.java:108)
  at android.os.Looper.loop (Looper.java:206)
  at android.app.ActivityThread.main (ActivityThread.java:6749)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:845)