Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.
This repository was archived by the owner on May 13, 2025. It is now read-only.

Not able to run the app #50

@dino-sunny

Description

@dino-sunny
 Caused by: com.twilio.chat.ListenerException: Exception thrown by a listener. Your application might have a problem in listener implementation. Listeners must never throw uncaught exceptions. See 'Caused by:' below for more details.
    at java.lang.reflect.Constructor.newInstance0(Native Method)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
    at com.twilio.chat.internal.RethrowingForwarder$RethrowingProxy.invoke(RethrowingForwarder.java:123)
    at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
    at $Proxy1.onClientSynchronization(Unknown Source)
    at com.twilio.chat.ChatClient$ChatClientListenerForwarder.setListener(ChatClient.java:837)
    at com.twilio.chat.ChatClient.setListener(ChatClient.java:534)
    at com.twilio.chatquickstart.QuickstartChatManager$6.onSuccess(QuickstartChatManager.java:317)
    at com.twilio.chatquickstart.QuickstartChatManager$6.onSuccess(QuickstartChatManager.java:314)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.twilio.chat.internal.RethrowingForwarder$RethrowingProxy.invoke(RethrowingForwarder.java:121)Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'com.twilio.chat.Channels com.twilio.chat.ChatClient.getChannels()' on a null object reference
    at com.twilio.chatquickstart.QuickstartChatManager.loadChannels(QuickstartChatManager.java:137)
    at com.twilio.chatquickstart.QuickstartChatManager.access$700(QuickstartChatManager.java:41)
    at com.twilio.chatquickstart.QuickstartChatManager$5.onClientSynchronization(QuickstartChatManager.java:251)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions