IHC Binding (OH1 Binding)

Hi Community

I have an issue with my IHC binding in OH2.

the only thing i see in the log is this:

2017-01-13 22:39:04.961 [ERROR] [org.apache.felix.configadmin ] - [org.osgi.service.event.EventHandler, org.osgi.service.cm.ManagedService, id=312, bundle=193/mvn:org.openhab.binding/org.openhab.binding.ihc/1.9.0-SNAPSHOT]: Unexpected problem updating configuration org.openhab.ihc
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:542)[:1.8.0_111]
at java.lang.Integer.parseInt(Integer.java:615)[:1.8.0_111]
at org.openhab.binding.ihc.internal.IhcBinding.updated(IhcBinding.java:344)[193:org.openhab.binding.ihc:1.9.0.201701120210]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1461)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1417)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109)[3:org.apache.felix.configadmin:1.8.12]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_111]

Can someone tell if i have done anything wrong?

Running latest snapshot.

I used vi to edit the service/config file

I have the similar error with mpd binding. Do you have any solution?

I trimmed the .cfg for extra Lines and spaces… it worked for me