Commit 8fd37663b982ea70af4cb880e219dbfda37e3ad8

Authored by Andrew Shvayka
2 parents d80f666b d7c755a5

Merge branch 'master' of github.com:thingsboard/thingsboard

... ... @@ -390,7 +390,9 @@ final class MqttClientImpl implements MqttClient {
390 390 }
391 391
392 392 public void onSuccessfulReconnect() {
393   - callback.onSuccessfulReconnect();
  393 + if (callback != null) {
  394 + callback.onSuccessfulReconnect();
  395 + }
394 396 }
395 397
396 398
... ...