Question

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

  • 19 August 2020
  • 1 reply
  • 354 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)


1 reply

Userlevel 1

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