[KARAF-2663]client fails with NullPointerException