Page 3 of 7

Re: Supla GUI

Posted: Mon Aug 19, 2019 8:43 am
by piomar2
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)

Re: Supla GUI

Posted: Mon Aug 19, 2019 8:45 am
by piomar2
serwer oficjalny...

Re: Supla GUI

Posted: Mon Aug 19, 2019 9:17 am
by byniom
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)
	

Re: Supla desktop API client

Posted: Mon Aug 19, 2019 11:42 am
by magx2
Jak będę w domu to fixnę te problemy

Re: Supla desktop API client

Posted: Mon Aug 19, 2019 5:34 pm
by magx2
@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.

Re: Supla desktop API client

Posted: Mon Aug 19, 2019 5:45 pm
by piomar2
Mam nadzieję, że odpowiem jutro bo jestem w szpitalu.

Re: Supla desktop API client

Posted: Mon Aug 19, 2019 6:59 pm
by makrz
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)

Re: Supla desktop API client

Posted: Mon Aug 19, 2019 7:08 pm
by Robert Błaszczak
U mnie też nie działa (Win 10 64-bit).

Re: Supla desktop API client

Posted: Mon Aug 19, 2019 8:30 pm
by magx2
Potrzebuję od kogoś z was tokena read only (patrz post wyżej)

Re: Supla desktop API client

Posted: Mon Aug 19, 2019 8:42 pm
by Robert Błaszczak
Poszedł na priv.