Supla desktop API client

piomar2
Posts: 111
Joined: Fri Apr 26, 2019 5:32 pm
Location: Bukowice

Mon Aug 19, 2019 8:43 am

U mnie (windows 8.1) ver 1.0.0 i 1.0.1 nie działa.

Code: Select all

10:37:18.802 [griffon-pool-1-thread-1] INFO  o.s.gui.io.InputOutputServiceImpl - Supla home dir is `C:\Users\mp\.supla`
10:37:26.150 [JavaFX Application Thread] INFO  o.s.gui.preferences.TokenServiceImpl - Saving new token, SHA 1159016617
10:37:28.011 [griffon-pool-1-thread-3] ERROR org.supla.gui.SplashScreenController - Generic exception occurred!
java.lang.NullPointerException: null
	at pl.grzeslowski.jsupla.api.internal.OnOffStateImpl.finBooleanState(OnOffStateImpl.java:49)
	at pl.grzeslowski.jsupla.api.internal.OnOffStateImpl.<init>(OnOffStateImpl.java:39)
	at pl.grzeslowski.jsupla.api.internal.OnOffStateImpl.hi(OnOffStateImpl.java:23)
	at pl.grzeslowski.jsupla.api.internal.ControllingChannelImpl.<init>(ControllingChannelImpl.java:20)
	at pl.grzeslowski.jsupla.api.internal.ChannelDispatcher.onControllingTheGatewayLock(ChannelDispatcher.java:18)
	at pl.grzeslowski.jsupla.api.internal.ChannelDispatcher.onControllingTheGatewayLock(ChannelDispatcher.java:7)
	at pl.grzeslowski.jsupla.api.internal.ChannelFunctionDispatcher.dispatch(ChannelFunctionDispatcher.java:27)
	at pl.grzeslowski.jsupla.api.internal.ChannelApiImpl.mapToChannel(ChannelApiImpl.java:91)
	at pl.grzeslowski.jsupla.api.internal.ChannelApiImpl.findChannel(ChannelApiImpl.java:60)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at pl.grzeslowski.jsupla.api.internal.DeviceApiImpl.mapToDeviceWithChannels(DeviceApiImpl.java:52)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at pl.grzeslowski.jsupla.api.internal.DeviceApiImpl.findDevices(DeviceApiImpl.java:42)
	at org.supla.gui.api.SuplaDeviceApi.findAllDevice(SuplaDeviceApi.kt:24)
	at org.supla.gui.SplashScreenController.downloadDevices(SplashScreenController.kt:163)
	at org.supla.gui.SplashScreenController.checkServerInfo(SplashScreenController.kt:156)
	at org.supla.gui.SplashScreenController.initNoExceptionControl(SplashScreenController.kt:137)
	at org.supla.gui.SplashScreenController.access$initNoExceptionControl(SplashScreenController.kt:43)
	at org.supla.gui.SplashScreenController$initOutsideUi$1$1.invoke(SplashScreenController.kt:56)
	at org.supla.gui.SplashScreenController$initOutsideUi$1$1.invoke(SplashScreenController.kt:43)
	at org.supla.gui.SplashScreenController.runWithExceptionCheck(SplashScreenController.kt:87)
	at org.supla.gui.SplashScreenController.access$runWithExceptionCheck(SplashScreenController.kt:43)
	at org.supla.gui.SplashScreenController$initOutsideUi$1.run(SplashScreenController.kt:56)
	at org.codehaus.griffon.runtime.core.threading.AbstractUIThreadManager.lambda$runOutsideUIAsync$1(AbstractUIThreadManager.java:115)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)
piomar2
piomar2
Posts: 111
Joined: Fri Apr 26, 2019 5:32 pm
Location: Bukowice

Mon Aug 19, 2019 8:45 am

serwer oficjalny...
piomar2
byniom
Posts: 341
Joined: Sat Jan 07, 2017 1:17 pm

Mon Aug 19, 2019 9:17 am

magx2 wrote:
Mon Aug 19, 2019 6:47 am
Windows 7? Laczysz się z cloudem czy własnym serwerem?


Jka możesz to podeślij jeszcze raz logib
Win 7 i ogólny serwer. Poniżej log.

Code: Select all

11:14:50.707 [griffon-pool-1-thread-1] INFO  o.s.gui.io.InputOutputServiceImpl - Supla home dir is `C:\Users\zbyszek\.supla`
11:15:53.416 [JavaFX Application Thread] INFO  o.s.gui.preferences.TokenServiceImpl - Saving new token, SHA 712888895
11:15:57.467 [griffon-pool-1-thread-1] ERROR org.supla.gui.SplashScreenController - Generic exception occurred!
java.lang.NullPointerException: null
	at java.math.BigDecimal.add(BigDecimal.java:1288)
	at pl.grzeslowski.jsupla.api.internal.ThermometerChannelImpl.findTemperature(ThermometerChannelImpl.java:33)
	at pl.grzeslowski.jsupla.api.internal.ThermometerChannelImpl.<init>(ThermometerChannelImpl.java:25)
	at pl.grzeslowski.jsupla.api.internal.ChannelDispatcher.onThermometer(ChannelDispatcher.java:33)
	at pl.grzeslowski.jsupla.api.internal.ChannelDispatcher.onThermometer(ChannelDispatcher.java:7)
	at pl.grzeslowski.jsupla.api.internal.ChannelFunctionDispatcher.dispatch(ChannelFunctionDispatcher.java:33)
	at pl.grzeslowski.jsupla.api.internal.ChannelApiImpl.mapToChannel(ChannelApiImpl.java:91)
	at pl.grzeslowski.jsupla.api.internal.ChannelApiImpl.findChannel(ChannelApiImpl.java:60)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at pl.grzeslowski.jsupla.api.internal.DeviceApiImpl.mapToDeviceWithChannels(DeviceApiImpl.java:52)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at pl.grzeslowski.jsupla.api.internal.DeviceApiImpl.findDevices(DeviceApiImpl.java:42)
	at org.supla.gui.api.SuplaDeviceApi.findAllDevice(SuplaDeviceApi.kt:24)
	at org.supla.gui.SplashScreenController.downloadDevices(SplashScreenController.kt:163)
	at org.supla.gui.SplashScreenController.checkServerInfo(SplashScreenController.kt:156)
	at org.supla.gui.SplashScreenController.initNoExceptionControl(SplashScreenController.kt:137)
	at org.supla.gui.SplashScreenController.access$initNoExceptionControl(SplashScreenController.kt:43)
	at org.supla.gui.SplashScreenController$initOutsideUi$1$1.invoke(SplashScreenController.kt:56)
	at org.supla.gui.SplashScreenController$initOutsideUi$1$1.invoke(SplashScreenController.kt:43)
	at org.supla.gui.SplashScreenController.runWithExceptionCheck(SplashScreenController.kt:87)
	at org.supla.gui.SplashScreenController.access$runWithExceptionCheck(SplashScreenController.kt:43)
	at org.supla.gui.SplashScreenController$initOutsideUi$1.run(SplashScreenController.kt:56)
	at org.codehaus.griffon.runtime.core.threading.AbstractUIThreadManager.lambda$runOutsideUIAsync$1(AbstractUIThreadManager.java:115)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)
	
magx2
Posts: 314
Joined: Wed May 17, 2017 1:27 pm
Contact:

Mon Aug 19, 2019 5:34 pm

@byniom i @piomar2

Możecie wygenerować mi w chmurze token który ma wszystko na read (bez modification)? Potrzebuję tego, ponieważ wasze urządzenia są bardzo dziwne i zwracają dziwne wyniki. Dodatkowo proszę podajcie mi jakie macie urządzania (i kto jest producentem). Token oczywiście poproszę w prywatnej wiadomości.
piomar2
Posts: 111
Joined: Fri Apr 26, 2019 5:32 pm
Location: Bukowice

Mon Aug 19, 2019 5:45 pm

Mam nadzieję, że odpowiem jutro bo jestem w szpitalu.
piomar2
User avatar
makrz
Posts: 288
Joined: Tue Nov 27, 2018 1:43 pm
Location: Opole

Mon Aug 19, 2019 6:59 pm

WIn 10 64bit wersja 1.0.1 nie działa

Code: Select all

20:56:24.607 [griffon-pool-1-thread-1] INFO  o.s.gui.io.InputOutputServiceImpl - Supla home dir is `C:\Users\matys\.supla`
20:56:40.946 [JavaFX Application Thread] INFO  o.s.gui.preferences.TokenServiceImpl - Saving new token, SHA -586195955
20:56:46.065 [griffon-pool-1-thread-3] ERROR org.supla.gui.SplashScreenController - Generic exception occurred!
java.lang.NullPointerException: null
	at java.math.BigDecimal.add(BigDecimal.java:1288)
	at pl.grzeslowski.jsupla.api.internal.ThermometerChannelImpl.findTemperature(ThermometerChannelImpl.java:33)
	at pl.grzeslowski.jsupla.api.internal.ThermometerChannelImpl.<init>(ThermometerChannelImpl.java:25)
	at pl.grzeslowski.jsupla.api.internal.TemperatureAndHumidityChannelImpl.<init>(TemperatureAndHumidityChannelImpl.java:18)
	at pl.grzeslowski.jsupla.api.internal.ChannelDispatcher.onHumidityAndTemperature(ChannelDispatcher.java:43)
	at pl.grzeslowski.jsupla.api.internal.ChannelDispatcher.onHumidityAndTemperature(ChannelDispatcher.java:7)
	at pl.grzeslowski.jsupla.api.internal.ChannelFunctionDispatcher.dispatch(ChannelFunctionDispatcher.java:37)
	at pl.grzeslowski.jsupla.api.internal.ChannelApiImpl.mapToChannel(ChannelApiImpl.java:91)
	at pl.grzeslowski.jsupla.api.internal.ChannelApiImpl.findChannel(ChannelApiImpl.java:60)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at pl.grzeslowski.jsupla.api.internal.DeviceApiImpl.mapToDeviceWithChannels(DeviceApiImpl.java:52)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at pl.grzeslowski.jsupla.api.internal.DeviceApiImpl.findDevices(DeviceApiImpl.java:42)
	at org.supla.gui.api.SuplaDeviceApi.findAllDevice(SuplaDeviceApi.kt:24)
	at org.supla.gui.SplashScreenController.downloadDevices(SplashScreenController.kt:163)
	at org.supla.gui.SplashScreenController.checkServerInfo(SplashScreenController.kt:156)
	at org.supla.gui.SplashScreenController.initNoExceptionControl(SplashScreenController.kt:137)
	at org.supla.gui.SplashScreenController.access$initNoExceptionControl(SplashScreenController.kt:43)
	at org.supla.gui.SplashScreenController$initOutsideUi$1$1.invoke(SplashScreenController.kt:56)
	at org.supla.gui.SplashScreenController$initOutsideUi$1$1.invoke(SplashScreenController.kt:43)
	at org.supla.gui.SplashScreenController.runWithExceptionCheck(SplashScreenController.kt:87)
	at org.supla.gui.SplashScreenController.access$runWithExceptionCheck(SplashScreenController.kt:43)
	at org.supla.gui.SplashScreenController$initOutsideUi$1.run(SplashScreenController.kt:56)
	at org.codehaus.griffon.runtime.core.threading.AbstractUIThreadManager.lambda$runOutsideUIAsync$1(AbstractUIThreadManager.java:115)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)
20:57:08.739 [griffon-pool-1-thread-4] ERROR org.supla.gui.SplashScreenController - Generic exception occurred!
java.lang.NullPointerException: null
	at java.math.BigDecimal.add(BigDecimal.java:1288)
	at pl.grzeslowski.jsupla.api.internal.ThermometerChannelImpl.findTemperature(ThermometerChannelImpl.java:33)
	at pl.grzeslowski.jsupla.api.internal.ThermometerChannelImpl.<init>(ThermometerChannelImpl.java:25)
	at pl.grzeslowski.jsupla.api.internal.TemperatureAndHumidityChannelImpl.<init>(TemperatureAndHumidityChannelImpl.java:18)
	at pl.grzeslowski.jsupla.api.internal.ChannelDispatcher.onHumidityAndTemperature(ChannelDispatcher.java:43)
	at pl.grzeslowski.jsupla.api.internal.ChannelDispatcher.onHumidityAndTemperature(ChannelDispatcher.java:7)
	at pl.grzeslowski.jsupla.api.internal.ChannelFunctionDispatcher.dispatch(ChannelFunctionDispatcher.java:37)
	at pl.grzeslowski.jsupla.api.internal.ChannelApiImpl.mapToChannel(ChannelApiImpl.java:91)
	at pl.grzeslowski.jsupla.api.internal.ChannelApiImpl.findChannel(ChannelApiImpl.java:60)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at pl.grzeslowski.jsupla.api.internal.DeviceApiImpl.mapToDeviceWithChannels(DeviceApiImpl.java:52)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at pl.grzeslowski.jsupla.api.internal.DeviceApiImpl.findDevices(DeviceApiImpl.java:42)
	at org.supla.gui.api.SuplaDeviceApi.findAllDevice(SuplaDeviceApi.kt:24)
	at org.supla.gui.SplashScreenController.downloadDevices(SplashScreenController.kt:163)
	at org.supla.gui.SplashScreenController.checkServerInfo(SplashScreenController.kt:156)
	at org.supla.gui.SplashScreenController.initNoExceptionControl(SplashScreenController.kt:137)
	at org.supla.gui.SplashScreenController.access$initNoExceptionControl(SplashScreenController.kt:43)
	at org.supla.gui.SplashScreenController$initOutsideUi$1$1.invoke(SplashScreenController.kt:56)
	at org.supla.gui.SplashScreenController$initOutsideUi$1$1.invoke(SplashScreenController.kt:43)
	at org.supla.gui.SplashScreenController.runWithExceptionCheck(SplashScreenController.kt:87)
	at org.supla.gui.SplashScreenController.access$runWithExceptionCheck(SplashScreenController.kt:43)
	at org.supla.gui.SplashScreenController$initOutsideUi$1.run(SplashScreenController.kt:56)
	at org.codehaus.griffon.runtime.core.threading.AbstractUIThreadManager.lambda$runOutsideUIAsync$1(AbstractUIThreadManager.java:115)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)
User avatar
Robert Błaszczak
Posts: 567
Joined: Sat Dec 22, 2018 8:55 pm
Location: Zielona Góra
Contact:

Mon Aug 19, 2019 7:08 pm

U mnie też nie działa (Win 10 64-bit).
Pozdrawiam
Robert Błaszczak
https://www.blaszczak.pl
User avatar
Robert Błaszczak
Posts: 567
Joined: Sat Dec 22, 2018 8:55 pm
Location: Zielona Góra
Contact:

Mon Aug 19, 2019 8:42 pm

Poszedł na priv.
Pozdrawiam
Robert Błaszczak
https://www.blaszczak.pl
Post Reply