Log4j 2
  1. Log4j 2
  2. LOG4J2-144

NullPointerException in RFC5424Layout

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta3
    • Fix Version/s: 2.0-beta4
    • Component/s: Layouts
    • Labels:
      None
    • Environment:

      Description

      You will get a NullPointerException in org.apache.logging.log4j.core.layout.RFC5424Layout at line 479 if the charsetName is not supported.

        Activity

        Hide
        Gary Gregory added a comment -

        commit -m "LOG4J2-144 NullPointerException in RFC5424Layout." C:/svn/org/apache/log4j2/trunk/src/changes/changes.xml C:/svn/org/apache/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java
        Sending C:/svn/org/apache/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java
        Sending C:/svn/org/apache/log4j2/trunk/src/changes/changes.xml
        Transmitting file data ...
        Committed revision 1431908.

        Show
        Gary Gregory added a comment - commit -m " LOG4J2-144 NullPointerException in RFC5424Layout." C:/svn/org/apache/log4j2/trunk/src/changes/changes.xml C:/svn/org/apache/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java Sending C:/svn/org/apache/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java Sending C:/svn/org/apache/log4j2/trunk/src/changes/changes.xml Transmitting file data ... Committed revision 1431908.

          People

          • Assignee:
            Gary Gregory
            Reporter:
            Gary Gregory
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development