java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 6214#238784033
    via GitHub by ptzhuf
    ,
  • GitHub comment 5669#214428405
    via GitHub by checketts
    ,
  • I recently upgrade logbook from version 1.1.3 to version 1.1.6 and a new issue raised when starting up my application. I used to include few properties files in my logbook.xml file, and one the the included files does not always exists depending upon the environment on which it is running. {code:xml} <property scope="context" resource="application.properties" /> <property scope="context" file="config/application.properties" /> <property scope="context" file="config/application-dev.properties" /> {code} The third file exists only locally in my development environment. In production it does not exists. Up to release 1.1.3, this was working perfectly, only a warning was logged at startup. But since I upgraded to version 1.1.6, this is now generating an error which prevent my application to start. {noformat} java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.action.PropertyAction - Could not find properties file [config/application-dev.properties]. at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:151) ... ERROR in ch.qos.logback.core.joran.action.PropertyAction - Could not find properties file [config/application-dev.properties]. at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:151) ... 18 more Process finished with exit code 1 {noformat} Is there a workaround for that? Would it be possible to fix that or at least to add a new attribute telling to ignore when the file is not found?
    via by Xavier Leveque,
  • I recently upgrade logbook from version 1.1.3 to version 1.1.6 and a new issue raised when starting up my application. I used to include few properties files in my logbook.xml file, and one the the included files does not always exists depending upon the environment on which it is running. {code:xml} <property scope="context" resource="application.properties" /> <property scope="context" file="config/application.properties" /> <property scope="context" file="config/application-dev.properties" /> {code} The third file exists only locally in my development environment. In production it does not exists. Up to release 1.1.3, this was working perfectly, only a warning was logged at startup. But since I upgraded to version 1.1.6, this is now generating an error which prevent my application to start. {noformat} java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.action.PropertyAction - Could not find properties file [config/application-dev.properties]. at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:151) ... ERROR in ch.qos.logback.core.joran.action.PropertyAction - Could not find properties file [config/application-dev.properties]. at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:151) ... 18 more Process finished with exit code 1 {noformat} Is there a workaround for that? Would it be possible to fix that or at least to add a new attribute telling to ignore when the file is not found?
    via by Xavier Leveque,
  • Failed to work on Spring boot 1.4
    via GitHub by choelea
    ,
    • java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.joran.action.NestedBasicPropertyIA - Unexpected aggregationType AS_BASIC_PROPERTY_COLLECTION at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:152) at org.springframework.boot.logging.logback.LogbackLoggingSystem.reinitialize(LogbackLoggingSystem.java:195)

    Users with the same issue

    osvzs
    4 times, last one,
    kjhdofjosvs
    4 times, last one,
    tvrmsmith
    8 times, last one,
    Nikolay Rybak
    2 times, last one,
    Unknown visitor1 times, last one,