[slf4j-dev] [JIRA] Updates for SLF4J-534: Improve error handling for situations where paths is null in findPossibleStaticLoggerBinderPathSet()
QOS.CH (JIRA)
noreply-jira at qos.ch
Wed Jan 12 23:37:00 CET 2022
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/org.slf4j at 1.7.32/org.slf4j.LoggerFactory.findPossibleStaticLoggerBinderPathSet(LoggerFactory.java:310)
at ModuleConnectLoader-org.slf4j/org.slf4j at 1.7.32/org.slf4j.LoggerFactory.bind(LoggerFactory.java:146)
at ModuleConnectLoader-org.slf4j/org.slf4j at 1.7.32/org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
at ModuleConnectLoader-org.slf4j/org.slf4j at 1.7.32/org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:417)
at ModuleConnectLoader-org.slf4j/org.slf4j at 1.7.32/org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362)
at ModuleConnectLoader-org.slf4j/org.slf4j at 1.7.32/org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388)
at ModuleConnectLoader-handlebars/handlebars at 4.3.0/com.github.jknack.handlebars.Handlebars.<clinit>(Handlebars.java:313)
at ModuleConnectLoader-de.bildschirmarbeiter.aem.toolbox.application/de.bildschirmarbeiter.aem.toolbox.application at 0.0.3.SNAPSHOT/de.bildschirmarbeiter.aem.toolbox.application.Activator.handlebars(Activator.java:37)
at ModuleConnectLoader-de.bildschirmarbeiter.aem.toolbox.application/de.bildschirmarbeiter.aem.toolbox.application at 0.0.3.SNAPSHOT/de.bildschirmarbeiter.aem.toolbox.application.Activator.start(Activator.java:22)
at org.apache.felix.framework at 7.0.3/org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:849)
at org.apache.felix.framework at 7.0.3/org.apache.felix.framework.Felix.activateBundle(Felix.java:2429)
at org.apache.felix.framework at 7.0.3/org.apache.felix.framework.Felix.startBundle(Felix.java:2335)
at org.apache.felix.framework at 7.0.3/org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)
at org.apache.felix.framework at 7.0.3/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)
More information about the slf4j-dev
mailing list