Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE Crash in TransportBroker.java line 153 #1887

Open
spstreckfus opened this issue May 3, 2024 · 0 comments
Open

NPE Crash in TransportBroker.java line 153 #1887

spstreckfus opened this issue May 3, 2024 · 0 comments
Labels
bug A defect in the library

Comments

@spstreckfus
Copy link

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 spstreckfus added the bug A defect in the library label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect in the library
Projects
None yet
Development

No branches or pull requests

1 participant