fixed nullpointer
Merge branch 'feature/wfsInLayerTree-326' into development