# Issue with Souliss binding after update

**URL:** <https://community.openhab.org/t/issue-with-souliss-binding-after-update/20246>\
**Category:** Runtime\
**Created:** [January 14, 2017, 3:31pm UTC](https://community.openhab.org/t/issue-with-souliss-binding-after-update/20246 "2017-01-14T15:31:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Foxejoe](https://community.openhab.org/user_avatar/community.openhab.org/foxejoe/32/22513_2.png) [@Foxejoe](https://community.openhab.org/u/Foxejoe)\
**Post date:** [January 14, 2017, 3:31pm UTC](https://community.openhab.org/t/issue-with-souliss-binding-after-update/20246/1 "2017-01-14T15:31:33Z")

</div>

After yeasterday update on OH2 Souliss binding is not working anymore.  
I got this error  
2017-01-14 16:23:59.336 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread Souliss Refresh Service  
java.lang.NullPointerException  
at org.openhab.binding.souliss.internal.SoulissBinding.execute(SoulissBinding.java:350)[201:org.openhab.binding.souliss:1.9.0.201701130210]  
at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute(AbstractActiveBinding.java:157)[184:org.openhab.core.compat1x:2.0.0.201701121723]  
at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:173)[184:org.openhab.core.compat1x:2.0.0.201701121723]  
2017-01-14 16:23:59.387 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread Souliss Refresh Service  
java.lang.NullPointerException  
at org.openhab.binding.souliss.internal.SoulissBinding.execute(SoulissBinding.java:350)[201:org.openhab.binding.souliss:1.9.0.201701130210]  
at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute(AbstractActiveBinding.java:157)[184:org.openhab.core.compat1x:2.0.0.201701121723]  
at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:173)[184:org.openhab.core.compat1x:2.0.0.201701121723]

Can you help me?

---

<div class="post-metadata">

**Author:** ![Foxejoe](https://community.openhab.org/user_avatar/community.openhab.org/foxejoe/32/22513_2.png) [@Foxejoe](https://community.openhab.org/u/Foxejoe)\
**Post date:** [January 14, 2017, 9:59pm UTC](https://community.openhab.org/t/issue-with-souliss-binding-after-update/20246/2 "2017-01-14T21:59:44Z")

</div>

Still not solved .. Can someone help me?

---

<div class="post-metadata">

**Author:** ![HolgerL](https://community.openhab.org/letter_avatar_proxy/v4/letter/h/779978/32.png) [@HolgerL](https://community.openhab.org/u/HolgerL)\
**Post date:** [February 5, 2017, 2:03pm UTC](https://community.openhab.org/t/issue-with-souliss-binding-after-update/20246/3 "2017-02-05T14:03:30Z")

</div>

Hi,

is there anybody out there working on the Souliss binding to move it to a OH2 version?

I just created a complete new installation with the OH2.1 snapshot  
There are a few issues I which did not dissapear:

Some not to Souliss related functions (Yamaha receiver binding or using a setpoint slider) result in a NullPointer Exception:

```auto
2017-02-05 14:59:08.944 [WARN] [org.apache.karaf.services.eventadmin] - EventAdmin: Exception during event dispatch [org.osgi.service.event.Event [topic=openhab/command/LightDuration] {bridgemarker=true, item=LightDuration, command=2} | {org.osgi.service.event.EventHandler, org.osgi.service.cm.ManagedService}={event.topics=openhab/*, service.pid=org.openhab.souliss, component.name=org.openhab.binding.souliss, component.id=160, service.id=294, service.bundleid=185, service.scope=bundle} | Bundle(org.openhab.binding.souliss_1.10.0.201702040211 [185])]
java.lang.NullPointerException
	at org.openhab.binding.souliss.internal.SoulissBinding.receiveCommand(SoulissBinding.java:135)[185:org.openhab.binding.souliss:1.10.0.201702040211]
	at org.openhab.core.events.AbstractEventSubscriber.handleEvent(AbstractEventSubscriber.java:42)[186:org.openhab.core.compat1x:2.1.0.201702051222]
	at org.apache.felix.eventadmin.impl.handler.EventHandlerProxy.sendEvent(EventHandlerProxy.java:415)[6:org.apache.karaf.services.eventadmin:4.0.8]
	at org.apache.felix.eventadmin.impl.tasks.HandlerTask.run(HandlerTask.java:90)[6:org.apache.karaf.services.eventadmin:4.0.8]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[:1.8.0_111]
	at java.util.concurrent.FutureTask.run(Unknown Source)[:1.8.0_111]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[:1.8.0_111]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[:1.8.0_111]
	at java.lang.Thread.run(Unknown Source)[:1.8.0_111]

```

So there seems to be some “crosstalk” to the souliss binding, whatever happens there.

Also Typical T51 for analog read seems not to work at all.

So it would be really nice, if there is sombody who could take a look to these issues.

---

<div class="post-metadata">

**Author:** ![HolgerL](https://community.openhab.org/letter_avatar_proxy/v4/letter/h/779978/32.png) [@HolgerL](https://community.openhab.org/u/HolgerL)\
**Post date:** [February 10, 2017, 12:57pm UTC](https://community.openhab.org/t/issue-with-souliss-binding-after-update/20246/4 "2017-02-10T12:57:38Z")

</div>

Is there anybody who can work on the Souliss binding?  
Or am I riding here a dead horse? ☹

---

<div class="post-metadata">

**Author:** ![johnym30](https://community.openhab.org/letter_avatar_proxy/v4/letter/j/7ea924/32.png) [@johnym30](https://community.openhab.org/u/johnym30)\
**Post date:** [December 1, 2017, 1:50pm UTC](https://community.openhab.org/t/issue-with-souliss-binding-after-update/20246/5 "2017-12-01T13:50:30Z")

</div>

I noticed the same problem with the mqtt and souliss.  
This is what warning i get when i try to turn on a light over my mqtt configuration

```auto
15:49:03.729 [WARN] [org.apache.karaf.services.eventadmin] - EventAdmin: Exception during event dispatch [org.osgi.service.event.Event [topic=openhab/command/Light_Dinning_Room] {bridgemarker=true, item=Light_Dinning_Room, command=OFF} | {org.osgi.service.event.EventHandler, org.osgi.service.cm.ManagedService}={event.topics=openhab/*, service.pid=org.openhab.souliss, component.name=org.openhab.binding.souliss, component.id=241, service.id=373, service.bundleid=251, service.scope=bundle} | Bundle(org.openhab.binding.souliss_1.10.0 [251])]
java.lang.NullPointerException
	at org.openhab.binding.souliss.internal.SoulissBinding.receiveCommand(SoulissBinding.java:135)[251:org.openhab.binding.souliss:1.10.0]
	at org.openhab.core.events.AbstractEventSubscriber.handleEvent(AbstractEventSubscriber.java:45)[176:org.openhab.core.compat1x:2.1.0]
	at org.apache.felix.eventadmin.impl.handler.EventHandlerProxy.sendEvent(EventHandlerProxy.java:415)[6:org.apache.karaf.services.eventadmin:4.0.8]
	at org.apache.felix.eventadmin.impl.tasks.HandlerTask.run(HandlerTask.java:90)[6:org.apache.karaf.services.eventadmin:4.0.8]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_65]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_65]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_65]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_65]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_65]

```

Do we have anything new abou this?

---

<div class="post-metadata">

**Author:** ![Kai](https://community.openhab.org/user_avatar/community.openhab.org/kai/32/116281_2.png) [@Kai](https://community.openhab.org/u/Kai)\
**Post date:** [December 1, 2017, 11:11pm UTC](https://community.openhab.org/t/issue-with-souliss-binding-after-update/20246/6 "2017-12-01T23:11:55Z")

</div>

Clearly a bug in that binding. The first obvious step would be to create a bug report.  
And yes, 6 days ago, one has been created: [[souliss] NullPointerException in receiveCommand · Issue #5369 · openhab/openhab1-addons · GitHub](https://github.com/openhab/openhab1-addons/issues/5369)  
And a few minutes later, there was a fix for it: [[souliss] Fixes NPE in souliss binding by rymdbullen · Pull Request #5370 · openhab/openhab1-addons · GitHub](https://github.com/openhab/openhab1-addons/pull/5370)

Should be available in the next distro build 🙂

---

<div class="post-metadata">

**Author:** ![Foxejoe](https://community.openhab.org/user_avatar/community.openhab.org/foxejoe/32/22513_2.png) [@Foxejoe](https://community.openhab.org/u/Foxejoe)\
**Post date:** [December 13, 2017, 7:38pm UTC](https://community.openhab.org/t/issue-with-souliss-binding-after-update/20246/7 "2017-12-13T19:38:17Z")

</div>

Beta 2.0 Souliss binding is available on souliss-it forum.  
Still a raw beta but works better than the 1.0 one and has the autodiscover function which improve quite a bit the setting of a large net of souliss devices.  
Regards  
Lorenzo
