Crash in the Smooch Android SDK | The place for Zendesk users to come together and share
Skip to main content
March 19, 2025
Question

Crash in the Smooch Android SDK

  • March 19, 2025
  • 5 replies
  • 28 views

We've been getting this crash in the Smooch Android SDK for some time now:

 

         Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String io.smooch.core.service.SmoochService.l()' on a null object reference
     at io.smooch.core.f.c(SourceFile:1)
     at io.smooch.core.Smooch.getAuthorisationToken(:2)
     at io.smooch.ui.fragment.ConversationFragment.onCreateView(:54)
     at androidx.fragment.app.Fragment.performCreateView(Fragment.java:3119)
     at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:577)
     at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:286)
     at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:114)
     at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1685)

 

There's no known way to reproduce it directly. Any ideas how to mitigate this?

 

Thanks!

 

 

5 replies

Employee
April 23, 2025
Hi Kizito,
 
Can you share the version where you're seeing this?
Gabi12
May 6, 2025

Hi Christopher,

It happens with both versions 9.6.0 and 9.7.0

Employee
May 20, 2025
Hi Gabi,
 
I'm just checking in to let you know that our SDK devs are looking into this.  Can you share some info on how frequently you're seeing this crash?
Gabi12
May 21, 2025

Hi Christopher,

Thanks for the help.

I work with Kizito. It happens with both versions 9.6.0 and 9.7.0, as I commented.

Henrique14
August 26, 2025

Hi guys,

 

Any updates? I'm also facing the same crash.