You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Logback 1.5.14+, we started getting NullPointerException in PatternLayoutBase. I don't have a reproducer right now, and we might be holding it wrong, but it looks like it is accessing a nullable field, so I thought I would report it.
java.lang.NullPointerException:
at ch.qos.logback.core.pattern.PatternLayoutBase.caterForLegacyConverterMaps(PatternLayoutBase.java:109)
at ch.qos.logback.core.pattern.PatternLayoutBase.getEffectiveConverterMap(PatternLayoutBase.java:84)
at ch.qos.logback.core.pattern.PatternLayoutBase.start(PatternLayoutBase.java:143)
This is related to d4804f9. PatternLayoutBase#caterForLegacyConverterMaps calls this.context.getObject.
With Logback 1.5.14+, we started getting NullPointerException in
PatternLayoutBase
. I don't have a reproducer right now, and we might be holding it wrong, but it looks like it is accessing a nullable field, so I thought I would report it.This is related to d4804f9.
PatternLayoutBase#caterForLegacyConverterMaps
callsthis.context.getObject
.logback/logback-core/src/main/java/ch/qos/logback/core/pattern/PatternLayoutBase.java
Lines 107 to 109 in 164754b
However,
this.context
is nullable. See also the null check after that#caterForLegacyConverterMaps
method calllogback/logback-core/src/main/java/ch/qos/logback/core/pattern/PatternLayoutBase.java
Lines 84 to 88 in 164754b
The text was updated successfully, but these errors were encountered: