I am trying to parameters to a few of my channels. I get the parameters to show up but i get null pointer exceptions in my code as seen below. What am i doing wrong? If i remove the decleration of the the extra parameter the binding runs fine with no errors.
Here is the link to my full code. https://github.com/volfan6415/konnected-openhab
<!-- Zone Channel Type -->
<channel-type id="zone">
<item-type>String</item-type>
<label>Pin</label>
<description>The Zone Channel for adding Sensors</description>
<config-description-ref uri="channel-type:konnected:zone" />
</channel-type>
</thing:thing-descriptions>
<config-description uri="channel-type:konnected:zone">
<parameter name="config_isActuator" type="boolean">
<label>IsActuator</label>
<description>Is the thing connected an actuator</description>
<default>false</default>
</parameter>
</config-description>
2018-06-26 15:25:59.169 [ERROR] [.c.thing.link.ThingLinkManager:302 ] - Exception occurred while informing handler: nulljava.lang.NullPointerException: null
at org.openhab.binding.konnected.internal.KonnectedHandler.channelLinked(KonnectedHandler.java:124)
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:300)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2018-06-26 15:25:59.170 [ERROR] [.c.thing.link.ThingLinkManager:302 ] - Exception occurred while informing handler: nulljava.lang.NullPointerException: null
at org.openhab.binding.konnected.internal.KonnectedHandler.channelLinked(KonnectedHandler.java:124)
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:300)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2018-06-26 15:25:59.174 [ERROR] [.c.thing.link.ThingLinkManager:302 ] - Exception occurred while informing handler: nulljava.lang.NullPointerException: null
at org.openhab.binding.konnected.internal.KonnectedHandler.channelLinked(KonnectedHandler.java:124)
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:300)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2018-06-26 15:25:59.175 [ERROR] [.c.thing.link.ThingLinkManager:302 ] - Exception occurred while informing handler: nulljava.lang.NullPointerException: null
at org.openhab.binding.konnected.internal.KonnectedHandler.channelLinked(KonnectedHandler.java:124)
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:300)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2018-06-26 15:25:59.177 [ERROR] [.c.thing.link.ThingLinkManager:302 ] - Exception occurred while informing handler: nulljava.lang.NullPointerException: null
at org.openhab.binding.konnected.internal.KonnectedHandler.channelLinked(KonnectedHandler.java:124)
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:300)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2018-06-26 15:25:59.178 [ERROR] [.c.thing.link.ThingLinkManager:302 ] - Exception occurred while informing handler: nulljava.lang.NullPointerException: null
at org.openhab.binding.konnected.internal.KonnectedHandler.channelLinked(KonnectedHandler.java:124)
at org.eclipse.smarthome.core.thing.link.ThingLinkManager.lambda$0(ThingLinkManager.java:300)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)