ConversationFragment.announceNewMessageReceivedForAccessibility NullPointerException | The place for Zendesk users to come together and share
Skip to main content
Gabi12
October 31, 2025
Question

ConversationFragment.announceNewMessageReceivedForAccessibility NullPointerException

  • October 31, 2025
  • 3 replies
  • 20 views

We are experiencing a NullPointerException in our app linked to the Smooch Android SDK.

 

These are the details:

SDK info:

  • SDK Name: Smooch SDK
  • SDK Version: 9.9.1

Logs:

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Enum.ordinal()' on a null object reference
      at io.smooch.ui.fragment.ConversationFragment.announceNewMessageReceivedForAccessibility(:223)
      at io.smooch.ui.fragment.ConversationFragment$i.run(:4)
      at android.os.Handler.handleCallback(Handler.java:959)
      at android.os.Handler.dispatchMessage(Handler.java:100)
      at android.os.Looper.loopOnce(Looper.java:257)
      at android.os.Looper.loop(Looper.java:342)
      at android.app.ActivityThread.main(ActivityThread.java:9634)
      at java.lang.reflect.Method.invoke(Method.java)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:619)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)

3 replies

Employee
November 18, 2025
Hi Gabi,
 
Can you please update to version 9.10.0 to confirm whether this is resolved by the fixes in that release?
 
Thanks,
Gabi12
Gabi12Author
November 19, 2025

Thanks for the update, Christopher!

 

Is ConversationFragment.announceNewMessageReceivedForAccessibility NullPointerException one of these?

  • Fixed an issue where opening the conversation screen caused the SDK to crash due to attempting to retrieve an authorization token before the SDK’s internal service had started.
  • Fixed a crash occurring on API 22 when tapping the attachment button.
  • Fixed an issue where tapping on a message file initiated multiple downloads.
Gabi12
Gabi12Author
November 26, 2025

Hi, Christopher!

 

I wrote a message here asking if the upgrade solved the issue after the one from you on Nov 18, 2025 but I cannot see it.

 

The crash still happening on version 9.10.0 and sadly affected our users on LIVE:

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Enum.ordinal()' on a null object reference
       at io.smooch.ui.fragment.ConversationFragment.announceNewMessageReceivedForAccessibility(r8-map-id-241ea3dc45dabd3a2e789e7f61d340812440aa0f19731c85de490085dcf9611b:44)

 

Please, it would be amazing if you could let us know when it's resolved to avoid upgrading the SDK before time.

 

Thanks in advance!