[ https://issues.apache.org/jira/browse/LOG4J2-3247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17464560#comment-17464560 ]
Gary D. Gregory commented on LOG4J2-3247: ----------------------------------------- Hi [~coredumped] Let's keep things cleanly separated in a new ticket since we've fixed this one issue at least. Please post ALL the information we need in the new ticket like configuration files, command-line invocation examples, and so on, you can also "link" the new ticket with the old one which might be handy. TY for your patience. Gary > PropertiesConfiguration.parseAppenderFilters NPE when parsing properties file > filters > ------------------------------------------------------------------------------------- > > Key: LOG4J2-3247 > URL: https://issues.apache.org/jira/browse/LOG4J2-3247 > Project: Log4j 2 > Issue Type: Bug > Components: Configurators > Affects Versions: 2.16.0 > Reporter: Fábio Constantino > Priority: Blocker > Fix For: 2.17.1 > > > When parsing appender filters configured in the properties file for example: > {code:java} > log4j.appender.LOG_REQUEST_START_DB=my.appender.class > log4j.appender.LOG_REQUEST_START_DB.filter.ID=my.filter.class{code} > a NullPointerException is thrown on line 564 of > org.apache.log4j.config.PropertiesConfiguration. The _next_ variable is > always _null_ at that point, from what appears to be a bug in the _if_ > condition above (looks like it should be _head == null_ instead of {_}head != > null{_}). > > Note: this is using the log4j1.compatibility=true property -- This message was sent by Atlassian Jira (v8.20.1#820001)