Binding cant be configured in debug mode

binding
items
Tags: #<Tag:0x00007fe054f461b8> #<Tag:0x00007fe054f45f88>

(Axel) #1

Hey Folks… I am close to a heavy nervous breakdown. I tried for days now to configure a knx binding to a simple switch.

Switch Licht_OG_Kinderzimmer1   "Licht Kinderzimmer1"   (OG_Kinderzimmer1)  {knx="0/2/2"}

The connection to my KNX gateway is stable and I can receive KNX messages from the bus.
The Dir Watch throws an error and i can extract this out of the log

**2018-01-12 22:44:46.992 [DEBUG] [.e.s.m.i.i.GenericItemProvider:155 ] - Read items from model ‘demo.items’ _
**2018-01-12 22:44:46.995 [DEBUG] [.e.s.m.i.i.GenericItemProvider:440 ] - Couldn’t find ItemFactory for item ‘Licht_OG_Kinderzimmer1’ of type ‘Switch’
**2018-01-12 22:44:46.996 [DEBUG] [.e.s.m.i.i.GenericItemProvider:177 ] - Processing binding configs for items from model ‘demo.items’
**2018-01-12 22:44:46.997 [DEBUG] [.e.s.m.i.i.GenericItemProvider:440 ] - Couldn’t find ItemFactory for item ‘Licht_OG_Kinderzimmer1’ of type ‘Switch’
**2018-01-12 22:44:46.998 [DEBUG] [.e.s.m.i.i.GenericItemProvider:440 ] - Couldn’t find ItemFactory for item ‘Licht_OG_Kinderzimmer1’ of type ‘Switch’
**
!ENTRY org.eclipse.smarthome.model.item 4 0 2018-01-12 22:44:47.011_
**!MESSAGE [org.eclipse.smarthome.model.item.provider(22)] The addItemFactory method has thrown an exception
**!STACK 0
**java.lang.AbstractMethodError: org.openhab.core.binding.internal.BindingConfigReaderDelegate.processBindingConfiguration(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/eclipse/smarthome/config/core/Configuration;)V
**at org.eclipse.smarthome.model.item.internal.GenericItemProvider.internalDispatchBindings(GenericItemProvider.java:341)
**at org.eclipse.smarthome.model.item.internal.GenericItemProvider.dispatchBindingsPerItemType(GenericItemProvider.java:269
**at
**org.eclipse.smarthome.model.item.internal.GenericItemProvider.addItemFactory(GenericItemProvider.java:116)
**at
**sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

What is wrong here?
Thank you very much in advance.
Regards
Axel


(Udo Hartmann) #2

Please use code fences when providing code, as the discourse (forum software) changes " to and . Therefor it’s ambiguous if you configured the item the wrong way.


(Axel) #3

I finally figured out that some of the core packages were missing in the debug configuration.