I am trying to run your link on my VMs and I have the following error:
2017-09-12 14:55:44.606 [Thread-49] ERROR org.dsa.iot.coap.CoapNodeController - Error while handling COAP response at /dsa java.lang.ClassCastException: org.dsa.iot.dslink.node.Node cannot be cast to org.dsa.iot.coap.CoapFakeNode at org.dsa.iot.coap.CoapFakeNode.getCachedChild(CoapFakeNode.java:82) at org.dsa.iot.coap.CoapNodeController.updateListData(CoapNodeController.java:197) at org.dsa.iot.coap.CoapNodeController$NodeCoapHandler.onLoad(CoapNodeController.java:541) at org.eclipse.californium.core.CoapClient$ObserveMessageObserverImpl.deliver(CoapClient.java:1083) at org.eclipse.californium.core.CoapClient$MessageObserverImpl$1.run(CoapClient.java:1014) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
I am using two VMs (brokers) - one is used as a server and the other as a client. Server is started successfully (status is Started, server is listening the specified port, test CoAP client works), but when i try to create the client, i have the error above
Hi, guys.
I am trying to run your link on my VMs and I have the following error:
2017-09-12 14:55:44.606 [Thread-49] ERROR org.dsa.iot.coap.CoapNodeController - Error while handling COAP response at /dsa java.lang.ClassCastException: org.dsa.iot.dslink.node.Node cannot be cast to org.dsa.iot.coap.CoapFakeNode at org.dsa.iot.coap.CoapFakeNode.getCachedChild(CoapFakeNode.java:82) at org.dsa.iot.coap.CoapNodeController.updateListData(CoapNodeController.java:197) at org.dsa.iot.coap.CoapNodeController$NodeCoapHandler.onLoad(CoapNodeController.java:541) at org.eclipse.californium.core.CoapClient$ObserveMessageObserverImpl.deliver(CoapClient.java:1083) at org.eclipse.californium.core.CoapClient$MessageObserverImpl$1.run(CoapClient.java:1014) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
I am using two VMs (brokers) - one is used as a server and the other as a client. Server is started successfully (status is Started, server is listening the specified port, test CoAP client works), but when i try to create the client, i have the error above