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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        8m 17s 1 Gary Gregory 11/Jan/13 06:20
        Gary Gregory made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        Gary Gregory created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development