Skip to main content
Question

Exception in thread "Subscription Manager Consumer Thread" java.lang.NoSuchMethodError:

  • August 19, 2020
  • 1 reply
  • 356 views

Exception in thread "Subscription Manager Consumer Thread" java.lang.NoSuchMethodError: com.pubnub.api.models.consumer.pubsub.PNMessageResult.getMessage()Lcom/google/gson/JsonElement;

at com.ringcentral.pubnub.Subscription$1.message(Subscription.kt:59)

at com.pubnub.api.managers.ListenerManager.announce(ListenerManager.java:43)

at com.pubnub.api.workers.SubscribeMessageWorker.processIncomingPayload(SubscribeMessageWorker.java:183)

at com.pubnub.api.workers.SubscribeMessageWorker.takeMessage(SubscribeMessageWorker.java:54)

at com.pubnub.api.workers.SubscribeMessageWorker.run(SubscribeMessageWorker.java:45)

at java.lang.Thread.run(Unknown Source)

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • August 19, 2020

What is your question? How did you implement the subscription in your code? Can't help with just the exception without any explanation or background info.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings