NPE and swing log appender