1 year ago
#160949
mohit patidar
Pax logging issue with karaf 4.2.6
I am updating karaf 2 to karaf 4. Seeing below error with karaf 4
2/10/22
10:14:50.724 AM
2022-02-10 04:44:50,724 | ERROR | FelixStartLevel | Felix | | Bundle org.ops4j.pax.logging.pax-logging-api [90] Error stopping bundle. (java.lang.NullPointerException) java.lang.NullPointerException
at org.ops4j.pax.logging.service.internal.PaxLoggerImpl.getLogLevel(PaxLoggerImpl.java:267)[6:org.ops4j.pax.logging.pax-logging-service:1.8.2]
at org.ops4j.pax.logging.internal.TrackingLogger.getLogLevel(TrackingLogger.java:136)
at org.ops4j.pax.logging.log4jv2.Log4jv2Logger.getLevel(Log4jv2Logger.java:156)
at org.ops4j.pax.logging.log4jv2.Log4jv2Logger.isEnabled(Log4jv2Logger.java:63)
at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1959)
at org.apache.logging.log4j.spi.AbstractLogger.info(AbstractLogger.java:1297)
at org.ops4j.pax.logging.internal.Activator.stop(Activator.java:76)
at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:719)[org.apache.felix.framework-5.6.12.jar:]
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2636)[org.apache.felix.framework-5.6.12.jar:]
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1391)[org.apache.felix.framework-5.6.12.jar:]
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)[org.apache.felix.framework-5.6.12.jar:]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_172]
logging
apache-karaf
osgi-bundle
pax
0 Answers
Your Answer