paulmandal / atak-forwarder

Forwards packets to/from ATAK over an off-grid communication layer
MIT License
404 stars 43 forks source link

atak-forwarder crash log from playstore metrics (NPE) #171

Closed bisgroves closed 1 year ago

bisgroves commented 1 year ago

java.lang.RuntimeException

Exception java.lang.RuntimeException: at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0 (LoadedApk.java:1493) at android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA.run (-.java) at android.os.Handler.handleCallback (Handler.java:873) at android.os.Handler.dispatchMessage (Handler.java:99) at android.os.Looper.loop (Looper.java:214) at android.app.ActivityThread.main (ActivityThread.java:7073) at java.lang.reflect.Method.invoke (Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:964) Caused by java.lang.IndexOutOfBoundsException: Index:0, Size:0 at com.google.protobuf.ProtobufArrayList.ensureIndexInRange (ProtobufArrayList.java:168) at com.google.protobuf.ProtobufArrayList.get (ProtobufArrayList.java:125) at com.geeksville.mesh.AppOnlyProtos$ChannelSet.getSettings (AppOnlyProtos.java:123) at com.paulmandal.atak.forwarder.comm.meshtastic.f.c (f.java:158) at com.paulmandal.atak.forwarder.comm.meshtastic.f.a (f.java:108) at com.paulmandal.atak.forwarder.comm.meshtastic.DeviceConnectionHandler.a (DeviceConnectionHandler.java:118) at com.paulmandal.atak.forwarder.comm.meshtastic.DeviceConnectionHandler.onReceive (DeviceConnectionHandler.java:82) at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0 (LoadedApk.java:1483)

bisgroves commented 1 year ago

No steps for reproduction, no further details - sorry Paul.

paulmandal commented 1 year ago

Thanks for the report, this should be fixed now.