QOS.ch JIRA

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • logback-classic
  • LBCLASSIC-98

NPE when calling setContextMap on a fresch MDC.

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 0.9.13
  • Fix Version/s: 0.9.14
  • Component/s: None
  • Labels:
    None

Description

Reported by Francois_Terrier in http://www.qos.ch/pipermail/logback-user/2008-December/000864.html

there is a little NPE when calling setContextMap on a fresch MDC. This
could raises a NPE:

    public static void main(String[] args) {
        MDC.setContextMap(new HashMap<String, String>());
    }

Activity

  • All
  • Comments
  • History
  • Activity
Hide
Permalink
Ceki Gulcu added a comment - 18/Dec/08 2:24 PM
fixed
Show
Ceki Gulcu added a comment - 18/Dec/08 2:24 PM fixed

People

  • Assignee:
    Ceki Gulcu
    Reporter:
    Ceki Gulcu
Vote (0)
Watch (0)

Dates

  • Created:
    18/Dec/08 2:19 PM
    Updated:
    18/Dec/08 2:24 PM
    Resolved:
    18/Dec/08 2:24 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for logback. Try JIRA - bug tracking software for your team.