Issue Type: Bug Bug
Affects Versions: 1.0.9
Assignee: Logback dev list
Attachments: logback.xml
Components: logback-core
Created: 04/Mar/13 5:48 PM
Description: 08:42:08,791 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Appender [FILE] failed to append. java.lang.NullPointerException
at java.lang.NullPointerException
at at ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy.isTriggeringEvent(SizeBasedTriggeringPolicy.java:59)
at at ch.qos.logback.core.rolling.RollingFileAppender.subAppend(RollingFileAppender.java:143)
at at ch.qos.logback.core.OutputStreamAppender.append(OutputStreamAppender.java:103)
at at ch.qos.logback.core.UnsynchronizedAppenderBase.doAppend(UnsynchronizedAppenderBase.java:88)
at at ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:48)
at at ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:280)
at at ch.qos.logback.classic.Logger.callAppenders(Logger.java:267)
at at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:449)
at at ch.qos.logback.classic.Logger.filterAndLog_2(Logger.java:440)
at at ch.qos.logback.classic.Logger.info(Logger.java:615)

check under debugger maxFileSize is null.

  if(invocationGate.skipFurtherWork())
      return false;

    long now = System.currentTimeMillis();
    invocationGate.updateMaskIfNecessary(now);

    return (activeFile.length() >= maxFileSize.getSize());
  }
Environment: Windows 7
Project: logback
Priority: Major Major
Reporter: Chiiwen Liou
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira