[logback-dev] [JIRA] Updates for LOGBACK-1651: better error handling in case of missing <if> element in <if><then> pair
QOS.CH (JIRA)
noreply-jira at qos.ch
Mon Aug 8 23:13:00 CEST 2022
logback / LOGBACK-1651 [Open]
better error handling in case of missing <if> element in <if><then> pair
==============================
Here's what changed in this issue in the last few minutes.
This issue has been created
View or comment on issue using this link
https://jira.qos.ch/browse/LOGBACK-1651
==============================
Issue created
------------------------------
Ceki Gülcü created this issue on 08/Aug/22 10:58 PM
Summary: better error handling in case of missing <if> element in <if><then> pair
Issue Type: Bug
Affects Versions: 1.3.0-alpha16
Assignee: Ceki Gülcü
Created: 08/Aug/22 10:58 PM
Fix Versions: 1.3.0-beta0
Priority: Major
Reporter: Ceki Gülcü
Description:
The config file
{code:xml}
<configuration>
<then/>
</configuration>{code}
results in
{code:java}
Java Exception: java.util.EmptyStackException
at java.base/java.util.Stack.peek(Stack.java:101)
at ch.qos.logback.core.model.processor.ModelInterpretationContext.peekModel(ModelInterpretationContext.java:73)
at ch.qos.logback.core.model.processor.conditional.ThenModelHandler.handle(ThenModelHandler.java:45)
{code}
==============================
This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)
More information about the logback-dev
mailing list