ch.qos.logback.core.spi.ScanException

Failed to initialize Parser

Solutions on the web2

  • via QOS.ch JIRA by L.Viegas, 1 year ago
    Failed to initialize Parser
  • via QOS.ch JIRA by L.Viegas, 1 year ago
    Failed to initialize Parser
  • Stack trace

    • ch.qos.logback.core.spi.ScanException: Failed to initialize Parser at ch.qos.logback.core.pattern.parser.Parser.<init>(Parser.java:74) at ch.qos.logback.core.pattern.parser.Parser.<init>(Parser.java:66) at ch.qos.logback.core.pattern.PatternLayoutBase.start(PatternLayoutBase.java:81) at ch.qos.logback.classic.encoder.PatternLayoutEncoder.start(PatternLayoutEncoder.java:28) at ch.qos.logback.core.joran.action.NestedComplexPropertyIA.end(NestedComplexPropertyIA.java:167) at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:317) at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:196) at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:182) at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:149) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:135) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:49) at ch.qos.logback.classic.turbo.ReconfigureOnChangeFilter$ReconfiguringThread.performXMLConfiguration(ReconfigureOnChangeFilter.java:216) at ch.qos.logback.classic.turbo.ReconfigureOnChangeFilter$ReconfiguringThread.run(ReconfigureOnChangeFilter.java:194) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException: Illegal char ') at column 91. Only \\, \_, \%, \{, \}, \t, \n, \r combinations are allowed as escape characters. at ch.qos.logback.core.pattern.util.RegularEscapeUtil.escape(RegularEscapeUtil.java:46) at ch.qos.logback.core.pattern.parser.TokenStream.escape(TokenStream.java:217) at ch.qos.logback.core.pattern.parser.TokenStream.handleRightParenthesisState(TokenStream.java:133) at ch.qos.logback.core.pattern.parser.TokenStream.tokenize(TokenStream.java:97) at ch.qos.logback.core.pattern.parser.Parser.<init>(Parser.java:72) ... 19 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.