LogAdapter refactoring, NPE when compiling without debug info