[logback-dev] [JIRA] Updates for LOGBACK-1623: NPE in ThrowableProxy in 1.2.11 if extractSupressedThrowables returns null

QOS.CH (JIRA) noreply-jira at qos.ch
Thu Mar 31 09:42:00 CEST 2022


logback / LOGBACK-1623 [Open]
NPE in ThrowableProxy in 1.2.11 if extractSupressedThrowables returns null

==============================

Here's what changed in this issue in the last few minutes.
This issue has been created
This issue is now assigned to you.

View or comment on issue using this link
https://jira.qos.ch/browse/LOGBACK-1623

==============================
 Issue created
------------------------------

Øyvind Horneland created this issue on 31/Mar/22 9:27 AM
Summary:              NPE in ThrowableProxy in 1.2.11 if extractSupressedThrowables returns null
Issue Type:           Bug
Affects Versions:     1.2.11
Assignee:             Logback dev list
Components:           logback-classic
Created:              31/Mar/22 9:27 AM
Priority:             Major
Reporter:             Øyvind Horneland
Description:
  Encountered a NullPointerException in [https://github.com/qos-ch/logback/blob/v_1.2.11/logback-classic/src/main/java/ch/qos/logback/classic/spi/ThrowableProxy.java#L99] when [https://github.com/qos-ch/logback/blob/v_1.2.11/logback-classic/src/main/java/ch/qos/logback/classic/spi/ThrowableProxy.java#L124] returns null. 
  
  This was introduced in 1.2.11 with commit [https://github.com/qos-ch/logback/commit/398aa4bd8f2bc0bb7f1465e8f7aca418c4464c15] and 1.2.10 does not have this problem.
  
  Note: The comment regarding Java 7 in [https://github.com/qos-ch/logback/blob/v_1.2.11/logback-classic/src/main/java/ch/qos/logback/classic/spi/ThrowableProxy.java#L96] is a bit misleading, since it will execute on Java >= 7.


==============================
 This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)



More information about the logback-dev mailing list