sdl_java_suite icon indicating copy to clipboard operation
sdl_java_suite copied to clipboard

NPE Crash in TransportBroker.java line 153

Open spstreckfus opened this issue 1 year ago • 0 comments

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)

spstreckfus avatar May 03 '24 17:05 spstreckfus