Sony Devices Binding

openhab2
Tags: #<Tag:0x00007f1826097708>

(Bernhard) #361

@tmrobert8 your binding works perfectly on my Sony KD-55XE8096 AndroidTV. I have the same messages as @AV_HomeAuto. I have attached all logs thats regarding the binding and hope that helps! But again thank you very much for this great binding.

2017-11-06 21:25:21.917 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=1': Illegal Argument
java.io.IOException: Illegal Argument
at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:189)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:92)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:352)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:125)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:196)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$2(ScalarWebHandler.java:160)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[175:org.openhab.binding.sony:2.2.0.201708221415]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-06 21:25:22.054 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=2': Illegal Argument
java.io.IOException: Illegal Argument
at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:189)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:92)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:352)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:125)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:196)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$2(ScalarWebHandler.java:160)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[175:org.openhab.binding.sony:2.2.0.201708221415]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-06 21:25:22.179 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=3': Illegal Argument
java.io.IOException: Illegal Argument
at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:189)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:92)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:352)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:125)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:196)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$2(ScalarWebHandler.java:160)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[175:org.openhab.binding.sony:2.2.0.201708221415]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-06 21:25:22.296 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=4': Illegal Argument
java.io.IOException: Illegal Argument
at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:189)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:92)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:352)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:125)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:196)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$2(ScalarWebHandler.java:160)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[175:org.openhab.binding.sony:2.2.0.201708221415]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-06 21:25:22.549 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'usb' and source 'usb:recStorage': Storage doesn't exist.
java.io.IOException: Storage doesn't exist.
at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:189)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:92)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:352)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:125)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:196)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$2(ScalarWebHandler.java:160)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[175:org.openhab.binding.sony:2.2.0.201708221415]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-06 21:26:28.748 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=1': Illegal Argument
java.io.IOException: Illegal Argument
at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:189)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:92)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:352)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:125)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:196)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$2(ScalarWebHandler.java:160)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[175:org.openhab.binding.sony:2.2.0.201708221415]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-06 21:26:28.873 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=2': Illegal Argument
java.io.IOException: Illegal Argument
at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:189)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:92)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:352)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:125)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:196)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$2(ScalarWebHandler.java:160)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[175:org.openhab.binding.sony:2.2.0.201708221415]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-06 21:26:28.992 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=3': Illegal Argument
java.io.IOException: Illegal Argument
at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:189)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:92)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:352)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:125)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:196)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$2(ScalarWebHandler.java:160)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[175:org.openhab.binding.sony:2.2.0.201708221415]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-06 21:26:29.118 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=4': Illegal Argument
java.io.IOException: Illegal Argument
at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:189)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:92)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:352)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:125)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:196)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$2(ScalarWebHandler.java:160)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[175:org.openhab.binding.sony:2.2.0.201708221415]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-06 21:26:29.407 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'usb' and source 'usb:recStorage': Storage doesn't exist.
java.io.IOException: Storage doesn't exist.
at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:189)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:92)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:352)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:125)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:196)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$2(ScalarWebHandler.java:160)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[175:org.openhab.binding.sony:2.2.0.201708221415]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-06 21:53:06.036 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=1': Illegal Argument
java.io.IOException: Illegal Argument
at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:189)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:92)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:352)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:125)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:196)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$2(ScalarWebHandler.java:160)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[175:org.openhab.binding.sony:2.2.0.201708221415]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-06 21:53:06.194 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=2': Illegal Argument
java.io.IOException: Illegal Argument
at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:189)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:92)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:352)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:125)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:196)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$2(ScalarWebHandler.java:160)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[175:org.openhab.binding.sony:2.2.0.201708221415]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-06 21:53:06.322 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=3': Illegal Argument
java.io.IOException: Illegal Argument
at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:189)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:92)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:352)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:125)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:196)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$2(ScalarWebHandler.java:160)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[175:org.openhab.binding.sony:2.2.0.201708221415]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-06 21:53:06.437 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=4': Illegal Argument
java.io.IOException: Illegal Argument
at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:189)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:92)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:352)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:125)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:196)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$2(ScalarWebHandler.java:160)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[175:org.openhab.binding.sony:2.2.0.201708221415]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-06 21:53:06.769 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'usb' and source 'usb:recStorage': Storage doesn't exist.
java.io.IOException: Storage doesn't exist.
at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:189)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:92)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:352)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:125)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:196)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$2(ScalarWebHandler.java:160)[175:org.openhab.binding.sony:2.2.0.201708221415]
at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[175:org.openhab.binding.sony:2.2.0.201708221415]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]

(Simon) #362

Thank you for your support!

  1. That solved the issue. nice one!

  2. when i pull the last jfrog request from https://openhab.jfrog.io/openhab/libs-pullrequest-local/org/openhab/binding/org.openhab.binding.sony/2.2.0-SNAPSHOT/org.openhab.binding.sony-2.2.0-SNAPSHOT.jar
    it doesnt get recognized as binding in paper ui.

Thanks
Simon


(Tim Roberts) #363

@bsteinert @Simsal
Pretty sure both of these issues (the null) are solved in the latest files. However, the latest OH2.2 has removed something that the binding depends on and I’ll need to make some adjustments to have it work again. I’ll let you know when I update them…


(Tim Roberts) #364

Just updated to work with OH2.2 - pull down the latest from https://github.com/openhab/openhab2-addons/pull/1249


(OzZy) #365

Can I use this binding in 2.1 stable release as well?


(Miika Jukka) #366

Yes you can.


(Leo Siepel) #367

I bought a KD-49XE8005 (AndroidTV) last week and started with this binding today. Couldn’t find any info on Thing declaration in things file, anyone knows how? For the time being added it within paperUI. I know the binding isn’t finsihed, so i have a suggestion to add two channels. Because all the available TV-channels are listed as switches with the channel name, i would like a channel with string type (read only) that holds the current active channel name, the same for active source name. Maybe it’s even better to make it a number item (read/write) containing the channel or source number. A MAP file can then be used to map the numbers to channel names by the user self.
My log showed some exceptions, just put them here mybe they are usefull.

2017-11-12 21:22:51.558 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sony:scalar:4de4c52d-83a8-4246-be97-ada58d03fd4b' to inbox.
2017-11-12 21:23:10.224 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2017-11-12 21:23:56.547 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2017-11-12 21:23:59.893 [INFO ] [web.protocols.ScalarWebLoginProtocol] - Writing remote commands to /etc/openhab2/transform/scalar-4de4c52d-83a8-4246-be97-ada58d03fd4b.map
2017-11-12 21:23:59.903 [INFO ] [web.protocols.ScalarWebLoginProtocol] - Remote commands are undefined: /etc/openhab2/transform/scalar-4de4c52d-83a8-4246-be97-ada58d03fd4b.map
java.nio.file.AccessDeniedException: /etc/openhab2/transform/scalar-4de4c52d-83a8-4246-be97-ada58d03fd4b.map
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)[:1.8.0_151]
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)[:1.8.0_151]
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)[:1.8.0_151]
	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)[:1.8.0_151]
	at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)[:1.8.0_151]
	at java.nio.file.Files.newOutputStream(Files.java:216)[:1.8.0_151]
	at java.nio.file.Files.write(Files.java:3351)[:1.8.0_151]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebLoginProtocol.writeCommands(ScalarWebLoginProtocol.java:422)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebLoginProtocol.postLogin(ScalarWebLoginProtocol.java:257)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebLoginProtocol.login(ScalarWebLoginProtocol.java:185)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:182)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$1(ScalarWebHandler.java:160)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_151]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_151]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]
2017-11-12 21:24:07.592 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=1': Illegal Argument
java.io.IOException: Illegal Argument
	at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:188)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:100)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:360)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:133)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:191)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$1(ScalarWebHandler.java:160)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_151]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_151]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]
2017-11-12 21:24:07.767 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=2': Illegal Argument
java.io.IOException: Illegal Argument
	at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:188)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:100)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:360)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:133)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:191)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$1(ScalarWebHandler.java:160)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_151]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_151]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]
2017-11-12 21:24:07.975 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=3': Illegal Argument
java.io.IOException: Illegal Argument
	at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:188)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:100)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:360)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:133)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:191)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$1(ScalarWebHandler.java:160)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_151]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_151]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]
2017-11-12 21:24:08.159 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=4': Illegal Argument
java.io.IOException: Illegal Argument
	at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:188)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:100)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:360)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:133)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:191)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$1(ScalarWebHandler.java:160)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_151]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_151]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]
2017-11-12 21:24:08.560 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'usb' and source 'usb:recStorage': Storage doesn't exist.
java.io.IOException: Storage doesn't exist.
	at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:188)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:100)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:360)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:133)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:191)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$1(ScalarWebHandler.java:160)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_151]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_151]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]
2017-11-12 21:24:10.924 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Starting state polling every 5 seconds
2017-11-12 21:24:13.374 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2017-11-12 21:24:14.897 [INFO ] [web.protocols.ScalarWebLoginProtocol] - Writing remote commands to /etc/openhab2/transform/scalar-4de4c52d-83a8-4246-be97-ada58d03fd4b.map
2017-11-12 21:24:14.900 [INFO ] [web.protocols.ScalarWebLoginProtocol] - Remote commands are undefined: /etc/openhab2/transform/scalar-4de4c52d-83a8-4246-be97-ada58d03fd4b.map
java.nio.file.AccessDeniedException: /etc/openhab2/transform/scalar-4de4c52d-83a8-4246-be97-ada58d03fd4b.map
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)[:1.8.0_151]
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)[:1.8.0_151]
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)[:1.8.0_151]
	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)[:1.8.0_151]
	at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)[:1.8.0_151]
	at java.nio.file.Files.newOutputStream(Files.java:216)[:1.8.0_151]
	at java.nio.file.Files.write(Files.java:3351)[:1.8.0_151]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebLoginProtocol.writeCommands(ScalarWebLoginProtocol.java:422)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebLoginProtocol.postLogin(ScalarWebLoginProtocol.java:257)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebLoginProtocol.login(ScalarWebLoginProtocol.java:185)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:182)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$1(ScalarWebHandler.java:160)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_151]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_151]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]
2017-11-12 21:24:20.814 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=1': Illegal Argument
java.io.IOException: Illegal Argument
	at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:188)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:100)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:360)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:133)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:191)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$1(ScalarWebHandler.java:160)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_151]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_151]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]
2017-11-12 21:24:20.973 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=2': Illegal Argument
java.io.IOException: Illegal Argument
	at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:188)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:100)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:360)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:133)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:191)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$1(ScalarWebHandler.java:160)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_151]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_151]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]
2017-11-12 21:24:21.135 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=3': Illegal Argument
java.io.IOException: Illegal Argument
	at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:188)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:100)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:360)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:133)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:191)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$1(ScalarWebHandler.java:160)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_151]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_151]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]
2017-11-12 21:24:21.304 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=4': Illegal Argument
java.io.IOException: Illegal Argument
	at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:188)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:100)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:360)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:133)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:191)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$1(ScalarWebHandler.java:160)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_151]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_151]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]
2017-11-12 21:24:21.662 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'usb' and source 'usb:recStorage': Storage doesn't exist.
java.io.IOException: Storage doesn't exist.
	at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:188)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:100)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:360)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:133)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:191)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$1(ScalarWebHandler.java:160)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[211:org.openhab.binding.sony:2.2.0.201711082312]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_151]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_151]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_151]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]
2017-11-12 21:24:26.195 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Status: UNINITIALIZED
2017-11-12 21:24:31.199 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Status: UNINITIALIZED
2017-11-12 21:24:32.238 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Starting state polling every 5 seconds

(Aaron Khare) #368

Thanks a lot for the binding, the Scalar Web connection has been working great on my KDL-43W800D for the past 2 weeks. I mostly use it for apps like Plex, YouTube, Google Play Music and Netflix, with only a few hiccups requiring a restart.

Running:

* Windows 10 32-bit
* OH 2.1
* Latest Sony Binding 2.2 Snapshot
* Android TV v6.0.1
* Security Patch Level 1 Aug 2017
* Build SVPDTV15_PA-user 6.0.1 MMB29V.S43 3.925 release keys

Like @bsteinert, @Justas and @lsiepel above, I too am getting error logs for the Scalar Web Handler. I’ve included a few lines before it, just in case.

2017-11-14 01:57:41.433 [WARN ] [org.eclipse.jetty.server.HttpChannel] - Could not send response error 500: javax.servlet.ServletException: javax.servlet.ServletException: A MultiException has 1 exceptions.  They are:
1. java.lang.IllegalStateException: ServiceLocatorImpl(__HK2_Generated_2,3,8172552) has been shut down

2017-11-14 01:57:42.621 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = a7e5f1f7-3caa-4837-bc57-7b611d055e61, base URL = http://localhost:8080)
2017-11-14 01:57:43.871 [WARN ] [ore.internal.events.OSGiEventManager] - Dispatching event to subscriber 'org.eclipse.smarthome.core.thing.link.ThingLinkManager@18a84fe' takes more than 5000ms.
2017-11-14 01:57:47.136 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2017-11-14 01:57:47.246 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro job-daily-sun at midnight for thing astro:sun:local
2017-11-14 01:57:47.380 [INFO ] [thome.binding.astro.internal.job.Job] - Scheduled Astro event-jobs for thing astro:sun:local
2017-11-14 01:57:47.645 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro job-daily-moon at midnight for thing astro:moon:local
2017-11-14 01:57:47.723 [INFO ] [thome.binding.astro.internal.job.Job] - Scheduled Astro event-jobs for thing astro:moon:local
2017-11-14 01:57:48.292 [INFO ] [web.protocols.ScalarWebLoginProtocol] - Command map already defined - ignoring: C:\openHAB\conf\transform\scalar-a042b0d7-e5d2-4bed-a8a4-b60117cf80ee.map
2017-11-14 01:57:48.901 [WARN ] [ore.internal.events.OSGiEventManager] - Dispatching event to subscriber 'org.eclipse.smarthome.core.thing.link.ThingLinkManager@18a84fe' takes more than 5000ms.
2017-11-14 01:57:50.728 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=1': Illegal Argument
java.io.IOException: Illegal Argument
	at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:188)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:100)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:360)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:133)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:191)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$1(ScalarWebHandler.java:160)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-14 01:57:50.783 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=2': Illegal Argument
java.io.IOException: Illegal Argument
	at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:188)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:100)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:360)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:133)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:191)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$1(ScalarWebHandler.java:160)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-14 01:57:50.834 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=3': Illegal Argument
java.io.IOException: Illegal Argument
	at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:188)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:100)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:360)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:133)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:191)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$1(ScalarWebHandler.java:160)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-14 01:57:50.887 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurred retrieving the content list for scheme 'fav' and source 'fav:tv?id=4': Illegal Argument
java.io.IOException: Illegal Argument
	at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:188)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:100)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:360)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:133)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:191)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$1(ScalarWebHandler.java:160)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-14 01:57:51.247 [ERROR] [protocols.ScalarWebAvContentProtocol] - Exception occurring getting the playing content info: Illegal State
java.io.IOException: Illegal State
	at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:188)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:100)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.AbstractScalarWebProtocol.execute(AbstractScalarWebProtocol.java:86)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebAvContentProtocol.getChannelDescriptors(ScalarWebAvContentProtocol.java:787)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.protocols.ScalarWebProtocolFactory.getChannelDescriptors(ScalarWebProtocolFactory.java:133)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.initializeTask(ScalarWebHandler.java:191)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.access$1(ScalarWebHandler.java:160)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler$2.run(ScalarWebHandler.java:152)[218:org.openhab.binding.sony:2.2.0.201711082312]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_152]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_152]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_152]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_152]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_152]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_152]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
2017-11-14 01:57:51.481 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Starting state polling every 5 seconds

If you need any other info, do let me know, cheers!


(Edvard Filistovic) #369

Hello,

I have openhab2 with Eclipse IoT market and connect sony plugin.
Now I can see my Sony Ircc (STR-DN1050 A27AE5) device, but I need to add things manually.
getting error Access code request error: 406 () . where I can get access code?


(Edvard Filistovic) #370

I have the same issue. Access code request error: 406 ()
My device is STR-DN1050 A27AE5

where I can get my access code?


(AH) #371

Thanks so much for this Tim, it’s amazingly helpful.

Just playing with an old Bravia KDL-32CX523. I’ve managed to get most commands I need working (volume, input, mute channel) but strangely none of the power commands seem to be working (from the transform map file)
Power OFF=ircc:AAAAAQAAAAEAAAAvAw%3D%3D
Power ON=ircc:AAAAAQAAAAEAAAAuAw%3D%3D
Power=ircc:AAAAAQAAAAEAAAAVAw%3D%3D

EDIT: Using 2.2.0 of the jar

I’m sending the commands using buttons in Openhab panel, is there another way I should be doing this. (The switch doesn’t work in the paper control panel either)

I’ve been using Openhab for about 3 hours (so I could us this) so could be missing a thousand things.

Any thoughts please, and thanks again.


(AH) #372

Can I also just check that I should only be expecting IRCC commands with this TV- wasn’t quite sire I’ve got the right ‘version’ you mention here, it’s not blank but the Channels are limited. Not surprising considering its age.

https://imgur.com/a/cGxXf


(stu) #373

@aaronkhare - Does your TV have native Android Plex app? My TV needs t use the opera TV store version of plex. It shows up as a switch item in discovery but when i use it, the log shows that it is blacklisting the bundle and I lose all controls of the TV through openhab.

Its possible that although Plex is discovered, you can not fire it through scalar.

Stuart


(stu) #374

OK and I just added the Netflix channel as a switch and this also thew up the same exception

00:33:54.474 [WARN ] [core.internal.events.OSGiEventManager] - Dispatching event to subscriber ‘org.eclipse.smarthome.core.thing.internal.CommunicationManager@7 33141c2’ takes more than 5000ms.
00:33:54.475 [WARN ] [org.apache.karaf.services.eventadmin ] - EventAdmin: Black listing ServiceReference [{org.osgi.service.event.EventHandler, org.eclipse.smar thome.core.events.EventPublisher}={event.topics=smarthome, component.name=org.ec lipse.smarthome.core.internal.events.OSGiEventManager, component.id=38, service. id=139, service.bundleid=109, service.scope=bundle} | Bundle(org.eclipse.smartho me.core_0.9.0.201711202142 [109])] due to timeout!

Am I using this in the wrong manner? Paper UI finds netflix ‘App Netflix Status’ so I copy this and make a switch item in the hope that when I switch it on the TV will start Netflix?

STuart


(Aaron Khare) #375

@surfstu I’m not having any app specific issue, the ERRORs I shared seem more to do with the binding during startup, than any specific app.

I’m unsure about the issue you’re facing, but it could be due to the Opera store app version, can’t say.


(Ian) #376

I’m also getting the scalar errors on startup, this appears to be breaking my openhab2 setup preventing it from even starting but who can tell with openhab… I’ve just downloaded the Nov 8th snapshot of the Sony binding from the GIT repository and tried that but no joy. Error is as follows:

2017-12-11 19:06:16.770 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.sony-2.2.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.sony [15]
  Unresolved requirement: Import-Package: org.apache.commons.codec.binary
  Unresolved requirement: Import-Package: javax.ws.rs
    -> Export-Package: javax.ws.rs; bundle-symbolic-name="javax.ws.rs-api"; bundle-version="2.0.1"; version="2.0.1"; uses:="javax.ws.rs.core"
       javax.ws.rs-api [35]
         No resolution report for the bundle.  Unresolved requirement: Import-Package: javax.ws.rs.ext
    -> Export-Package: javax.ws.rs.ext; bundle-symbolic-name="javax.ws.rs-api"; bundle-version="2.0.1"; version="2.0.1"; uses:="javax.ws.rs,javax.ws.rs.core"
  Unresolved requirement: Import-Package: com.google.common.collect
    -> Export-Package: com.google.common.collect; bundle-symbolic-name="com.google.guava"; bundle-version="18.0.0"; version="18.0.0"; uses:="com.google.common.base,javax.annotation,com.google.common.primitives,com.google.common.math"
       com.google.guava [24]
         Unresolved requirement: Import-Package: javax.annotation; resolution:="optional"
           -> Export-Package: javax.annotation; bundle-symbolic-name="javax.annotation-api"; bundle-version="1.2.0"; version="1.2.0"
              javax.annotation-api [29]
  Unresolved requirement: Import-Package: com.google.gson
    -> Export-Package: com.google.gson; bundle-symbolic-name="com.google.gson"; bundle-version="2.7.0"; version="2.7.0"; uses:="com.google.gson.reflect,com.google.gson.stream"
       com.google.gson [23]
  Unresolved requirement: Import-Package: com.google.gson.annotations
    -> Export-Package: com.google.gson.annotations; bundle-symbolic-name="com.google.gson"; bundle-version="2.7.0"; version="2.7.0"
  Unresolved requirement: Import-Package: javax.ws.rs.container
    -> Export-Package: javax.ws.rs.container; bundle-symbolic-name="javax.ws.rs-api"; bundle-version="2.0.1"; version="2.0.1"; uses:="javax.ws.rs.core"
  Unresolved requirement: Import-Package: javax.ws.rs.client
    -> Export-Package: javax.ws.rs.client; bundle-symbolic-name="javax.ws.rs-api"; bundle-version="2.0.1"; version="2.0.1"; uses:="javax.net.ssl,javax.ws.rs,javax.ws.rs.core"
  Unresolved requirement: Import-Package: javax.ws.rs.core
    -> Export-Package: javax.ws.rs.core; bundle-symbolic-name="javax.ws.rs-api"; bundle-version="2.0.1"; version="2.0.1"; uses:="javax.ws.rs,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.namespace"

        at org.eclipse.osgi.container.Module.start(Module.java:444) [?:?]
        at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) [?:?]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1253) [8:org.apache.felix.fileinstall:3.5.8]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1225) [8:org.apache.felix.fileinstall:3.5.8]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:512) [8:org.apache.felix.fileinstall:3.5.8]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361) [8:org.apache.felix.fileinstall:3.5.8]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312) [8:org.apache.felix.fileinstall:3.5.8]


(Miika Jukka) #377

Question and feature request. Possible to send notifications to tv? You know those gray boxes on the down right corner.


(Vini) #378

I’ve just bought a KDL32WD751 and can’t get the binding to find anything. Do I need to enable anything on the TV?

If adding manually, what do I need to enter as the IRCC URL and/or MAP?


(Ra) #379

Why this awesome binding is not included in OH latest release ?


(Miika Jukka) #380

It’s not ready yet.