NPE in as7 adapter logout