Flutterlocation: Fatal Exception java.lang.ArrayIndexOutOfBoundsException

Created on 25 Feb 2020  路  3Comments  路  Source: Lyokone/flutterlocation

Tested on:

  • Android, API Level 24, real device

Devices:

  • Galaxy A3 (2017)
  • Galaxy J5 Prime
  • Galaxy A7(2017)
  • Galaxy J7 Prime
  • Galaxy J7(2016)

Additional logs

Fatal Exception: java.lang.ArrayIndexOutOfBoundsException: length=7; index=9
       at com.lyokone.location.LocationPlugin$3.onNmeaMessage(LocationPlugin.java:303)
       at android.location.LocationManager$GnssStatusListenerTransport$GnssHandler.handleMessage(LocationManager.java:1419)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:154)
       at android.app.ActivityThread.main(ActivityThread.java:6776)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1518)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)

Most helpful comment

Was fixed in 2.5 release :)

All 3 comments

Which version of the plugin are you using ?

^2.3.5

Was fixed in 2.5 release :)

Was this page helpful?
0 / 5 - 0 ratings