sdl_java_suite
sdl_java_suite copied to clipboard
NPE Crash in TransportBroker.java line 153
Bug Summary
We're seeing the same bug from issue #1881 show up in our Crashlytics logs for 5.7.0 despite a fix for it being included. We did not encounter this bug in previous versions of SDL. As with the aforementioned issue, it appears that routerServiceMessenger is null somehow when getBinder() is called on line 153.
Reproduction Steps
No reproduction steps yet. This crash came from Crashlytics logs and was observed after we updated to SDL 5.7.0. So far we've been unable to replicate it ourselves.
Which projects have you seen this bug on?
Android
Android Version(s)
Android 14
Android Device(s)
Samsung Galaxy S22+, Google Pixel 6 Pro
sdl_java_suite Version
5.7.0
Testing Environment(s)
N/A
Relevant log output
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'android.os.IBinder android.os.Messenger.getBinder()' on a null object reference
at com.smartdevicelink.transport.TransportBroker.sendMessageToRouterService(TransportBroker.java:153)
at com.smartdevicelink.transport.TransportBroker$1$1.onMessageToSend(TransportBroker.java:116)
at com.smartdevicelink.transport.RouterServiceMessageEmitter.run(RouterServiceMessageEmitter.java:32)