SLF4J / SLF4J-534 [Open] Improve error handling for situations where paths is null in findPossibleStaticLoggerBinderPathSet()
============================== Here's what changed in this issue in the last few minutes. There is 1 comment. View or comment on issue using this link https://jira.qos.ch/browse/SLF4J-534 ============================== 1 comment ------------------------------ Oliver Lietz on 12/Jan/22 11:25 PM Happens also without Pax Logging: {noformat} Failed to instantiate SLF4J LoggerFactory Reported exception: java.lang.NullPointerException: Cannot invoke "java.util.Enumeration.hasMoreElements()" because "paths" is null at ModuleConnectLoader-org.slf4j/[email protected]/org.slf4j.LoggerFactory.findPossibleStaticLoggerBinderPathSet(LoggerFactory.java:310) at ModuleConnectLoader-org.slf4j/[email protected]/org.slf4j.LoggerFactory.bind(LoggerFactory.java:146) at ModuleConnectLoader-org.slf4j/[email protected]/org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124) at ModuleConnectLoader-org.slf4j/[email protected]/org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:417) at ModuleConnectLoader-org.slf4j/[email protected]/org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362) at ModuleConnectLoader-org.slf4j/[email protected]/org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388) at ModuleConnectLoader-handlebars/[email protected]/com.github.jknack.handlebars.Handlebars.<clinit>(Handlebars.java:313) at ModuleConnectLoader-de.bildschirmarbeiter.aem.toolbox.application/[email protected]/de.bildschirmarbeiter.aem.toolbox.application.Activator.handlebars(Activator.java:37) at ModuleConnectLoader-de.bildschirmarbeiter.aem.toolbox.application/[email protected]/de.bildschirmarbeiter.aem.toolbox.application.Activator.start(Activator.java:22) at [email protected]/org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:849) at [email protected]/org.apache.felix.framework.Felix.activateBundle(Felix.java:2429) at [email protected]/org.apache.felix.framework.Felix.startBundle(Felix.java:2335) at [email protected]/org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566) at [email protected]/org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) at java.base/java.lang.Thread.run(Thread.java:833) {noformat} ============================== This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59) _______________________________________________ slf4j-dev mailing list [email protected] http://mailman.qos.ch/mailman/listinfo/slf4j-dev
