adrianha/react-native-freshchat-sdk

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.freshchat.consumer.sdk.beans.Channel.getName()' on a null object reference

john1jan opened this issue · 0 comments

I/AppStateListener: onActivityStarted for activity : com.freshchat.consumer.sdk.activity.ChannelListActivity isForegound : true

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.freshchat.consumer.sdk.beans.Channel.getName()' on a null object reference
    at com.freshchat.consumer.sdk.a.c.getView(Unknown Source:34)
    at android.widget.AbsListView.obtainView(AbsListView.java:2375)
    at android.widget.ListView.makeAndAddView(ListView.java:2052)
    at android.widget.ListView.fillDown(ListView.java:786)
    at android.widget.ListView.fillFromTop(ListView.java:847)
    at android.widget.ListView.layoutChildren(ListView.java:1798)
    at android.widget.AbsListView.onLayout(AbsListView.java:2171)
    at android.view.View.layout(View.java:20871)
    at android.view.ViewGroup.layout(ViewGroup.java:6268)
    at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1083)
    at android.view.View.layout(View.java:20871)
    at android.view.ViewGroup.layout(ViewGroup.java:6268)
    at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
    at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
    at android.view.View.layout(View.java:20871)
    at android.view.ViewGroup.layout(ViewGroup.java:6268)
    at androidx.appcompat.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:530)
    at android.view.View.layout(View.java:20871)
    at android.view.ViewGroup.layout(ViewGroup.java:6268)
    at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
    at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
    at android.view.View.layout(View.java:20871)
    at android.view.ViewGroup.layout(ViewGroup.java:6268)
    at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
    at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
    at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
    at android.view.View.layout(View.java:20871)
    at android.view.ViewGroup.layout(ViewGroup.java:6268)
    at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
    at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
    at com.android.internal.policy.DecorView.onLayout(DecorView.java:758)
    at android.view.View.layout(View.java:20871)
    at android.view.ViewGroup.layout(ViewGroup.java:6268)
    at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2972)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2487)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1580)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7634)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:958)
    at android.view.Choreographer.doCallbacks(Choreographer.java:770)
    at android.view.Choreographer.doFrame(Choreographer.java:702)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:944)
    at android.os.Handler.handleCallback(Handler.java:873)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:201)
    at android.app.ActivityThread.main(ActivityThread.java:6831)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:927)