[java.lang.NullPointerException] error when accessing via standalone client