MQTT Persistence. Error sending persistency message

Hi!
I use OpenHAB 1.8.2 installed on UBUNTU.
Yesterday I tryed to configure MQTT persistence and I could not make it work.

My .cfg is:
#MQTT Persistence#
mqtt-persistence:broker=openhab mqtt-persistence:topic=openhabs/1$ mqtt-persistence:message=3$

#MQTT Transport#
mqtt:openhab.url=tcp://127.0.0.1:1883 mqtt:openhab.clientId=openhab mqtt:openhab.qos=1 mqtt:openhab.retain=true

But in openhab.log I get next mesages:
[INFO ] [.io.transport.mqtt.MqttService] - MQTT Service initialization completed.
[INFO ] [o.i.t.m.i.MqttBrokerConnection] - Starting MQTT broker connection ‘openhab’

[INFO ] [c.internal.ModelRepositoryImpl] - Loading model ‘mqtt.persist’

[WARN ] [o.p.m.i.MqttPersistenceService] - mqtt-persistence:broker
[WARN ] [o.p.m.i.MqttPersistenceService] - mqtt-persistence:topic
[WARN ] [o.p.m.i.MqttPersistenceService] - mqtt-persistence:message

[ERROR] [o.p.m.i.MqttPersistenceService] - Error sending persistency message for item ‘KitchenDimmerLights’ : java.lang.NullPointerException
[ERROR] [o.p.m.i.MqttPersistenceService] - Error sending persistency message for item ‘BedroomDimmerLights’ : java.lang.NullPointerException

And the broker does not recive any data.

I also tryed to add in .cfg:
mqtt-eventbus:broker=openhab mqtt-eventbus:commandPublishTopic=openHAB/out/${item}/ mqtt-eventbus:stateSubscribeTopic=openHAB/in/${item}/state

Then the broker has started to receive data, but only the data that were generated directly in openhab. If I turn off the switch manualy from the wall the broker does not recive this information, but if I turn off switch in openHAB the broker recieve it.

What I do wrong?