You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.
I'm getting a null pointer when using record.setWithAck()
Using the following code snippets:
this.client = new DeepstreamClient(dsUrl);
Record record = client.record.getRecord(dataPacket.getSchemaKey() + "/" +metaData.getInstanceUrn());
record.setWithAck(gson.toJsonTree(toStore));
The record is being set; however I get the following exception:
Exception in thread "pool-13-thread-1" java.lang.NullPointerException
at io.deepstream.UtilSingleNotifier.recieve(UtilSingleNotifier.java:133)
at io.deepstream.RecordHandler.handle(RecordHandler.java:497)
at io.deepstream.Connection$4.run(Connection.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
This exception isn't thrown if I switch it to record.set(gson.toJsonTree(toStore)); instead.
The text was updated successfully, but these errors were encountered:
I'm getting a null pointer when using record.setWithAck()
Using the following code snippets:
The record is being set; however I get the following exception:
This exception isn't thrown if I switch it to
record.set(gson.toJsonTree(toStore));
instead.The text was updated successfully, but these errors were encountered: