question

Sravan Semsani avatar image
Sravan Semsani asked Phong Vu answered

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

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)

rest api
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Phong Vu avatar image
Phong Vu answered

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.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys