[AESH-270]
æsh should not crash because of a nullpointer
fix checkstyle