Modbus 2.x TCP Errors on Startup

Hi,
i just upgraded my modbus setup to the new 2.x Binding.
Actually it works like a charm, but i got several errors when OH is starting up.

My thing configuration:

Bridge modbus:tcp:seTCP [ host="192.168.178.95", port=502, id=1 ] {
    Bridge poller holding [ start=100, length=110, refresh=60000, type="holding" ] {
        Thing data holding100 [ readStart="100", readValueType="uint16" ]
        Thing data holding101 [ readStart="101", readValueType="uint16" ]
        Thing data holding107 [ readStart="107", readValueType="uint16" ]
        Thing data holding206 [ readStart="206", readValueType="uint16" ]
    }
}

And the items:

Number PVProdLiveRaw   { channel="modbus:data:seTCP:holding:holding100:number" }
Number PVProdLiveScale { channel="modbus:data:seTCP:holding:holding101:number" }
Number PVConLiveRaw    { channel="modbus:data:seTCP:holding:holding206:number" }
Number PVStatusRaw     { channel="modbus:data:seTCP:holding:holding107:number" }

The Errors i get on startup:

2018-12-30 10:33:22.663 [INFO ] [rt.modbus.internal.ModbusManagerImpl] - Modbus manager activated
2018-12-30 10:33:23.976 [ERROR] [org.openhab.binding.modbus          ] - bundle org.openhab.binding.modbus:2.5.0.201812241153 (241)[org.openhab.binding.modbus.discovery.internal.ModbusDiscoveryService(34)] : Could not load implementation object class org.openhab.binding.modbus.discovery.internal.ModbusDiscoveryService
java.lang.ClassNotFoundException: org.openhab.binding.modbus.discovery.internal.ModbusDiscoveryService cannot be found by org.openhab.binding.modbus_2.5.0.201812241153
2018-12-30 10:33:25.718 [ERROR] [org.openhab.binding.modbus          ] - FrameworkEvent ERROR - org.openhab.binding.modbus
org.osgi.framework.ServiceException: Exception in org.apache.felix.scr.impl.manager.SingleComponentManager.getService()
2018-12-30 10:33:29.271 [ERROR] [org.openhab.binding.modbus          ] - bundle org.openhab.binding.modbus:2.5.0.201812241153 (241)[org.openhab.binding.modbus.discovery.internal.ModbusDiscoveryService(34)] : Could not load implementation object class org.openhab.binding.modbus.discovery.internal.ModbusDiscoveryService
java.lang.ClassNotFoundException: org.openhab.binding.modbus.discovery.internal.ModbusDiscoveryService cannot be found by org.openhab.binding.modbus_2.5.0.201812241153
2018-12-30 10:33:29.308 [ERROR] [org.openhab.binding.modbus          ] - FrameworkEvent ERROR - org.openhab.binding.modbus
org.osgi.framework.ServiceException: Exception in org.apache.felix.scr.impl.manager.SingleComponentManager.getService()

And thats it… After these Errors everything is ok.
But how can i get rid of these Errors?

I’m using OH 2.5 #1475 on RPi 3.

Best Regards

How did you install Modbus binding? It comes with a separate serial-IO module, that might be required at startup even if you’re using TCP only.

Just via PaperUI…
i can’t find the “serial-IO” module there?

ModbusDiscoveryService refers to open pull request #4220? Where did you get the install package? I suggest you install the release versions of the modbus bindng.

I upgraded to OH 2.5 #1475 and installed the modbus binding via PaperUI

Just by the way, since I queried it - that should take care of installing all the parts. Sometimes people do a manual file copy and it messes up.

Since everything is OK, I wouldn’t worry too much about it. OH is loading everything asynchronously and that could be the reason.
It costs nothing to file an issue on gitHub, Make sure you include the logs