[logback-dev] [JIRA] Updates for LOGBACK-1652: better handling of malformed properties file

QOS.CH (JIRA) noreply-jira at qos.ch
Mon Aug 8 23:43:00 CEST 2022

logback / LOGBACK-1652 [Open]
better handling of malformed properties file


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

 Issue created

Ceki Gülcü created this issue on 08/Aug/22 11:29 PM
Summary:              better handling of malformed properties file
Issue Type:           Bug
Assignee:             Logback dev list
Created:              08/Aug/22 11:29 PM
Priority:             Major
Reporter:             Ceki Gülcü
  In case the properties file given to <variable> element is malformed,  then an IllegalArgumentException may be thrown.
   <variable file="malformed.properties"/>
  </configuration> {code}
   == Java Exception: java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
   at java.base/java.util.Properties.loadConvert(Properties.java:672)
   at java.base/java.util.Properties.load0(Properties.java:456)
   at java.base/java.util.Properties.load(Properties.java:408)
   at ch.qos.logback.core.model.processor.PropertyModelHandler.loadAndSetProperties(PropertyModelHandler.java:87)
   at ch.qos.logback.core.model.processor.PropertyModelHandler.handle(PropertyModelHandler.java:50){code}

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

More information about the logback-dev mailing list