ch.qos.logback.core.util.DynamicClassLoadingException

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.

  • I'm seeing this error in the wrapper.log on upgrade to 2.2 from 2.1.2. Looks like the class was changed? We need an upgrade step. {noformat} jvm 1 | 14:38:35,348 |-ERROR in ch.qos.logback.core.joran.action.AppenderAction - Could not create an Appender of type [org.sonatype.nexus.log.internal.NexusEventSystemAppender]. ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type org.sonatype.nexus.log.internal.NexusEventSystemAppender jvm 1 | at ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type org.sonatype.nexus.log.internal.NexusEventSystemAppender jvm 1 | at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:54) jvm 1 | at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:32) jvm 1 | at at ch.qos.logback.core.joran.action.AppenderAction.begin(AppenderAction.java:54) jvm 1 | at at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:276) jvm 1 | at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:148) jvm 1 | at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:130) jvm 1 | at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50) jvm 1 | at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:147) jvm 1 | at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:133) jvm 1 | at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:96) jvm 1 | at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:73) jvm 1 | at at org.sonatype.nexus.log.internal.LogbackLogManager.reconfigure(LogbackLogManager.java:467) jvm 1 | at at org.sonatype.nexus.log.internal.LogbackLogManager.configure(LogbackLogManager.java:318) jvm 1 | at at org.sonatype.nexus.log.internal.LogbackReconfigureEventInspector.inspect(LogbackReconfigureEventInspector.java:43) jvm 1 | at at org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:128) jvm 1 | at at org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:101) jvm 1 | at at org.sonatype.plexus.appevents.AbstractSimpleEventMulticaster.notifyEventListeners(AbstractSimpleEventMulticaster.java:53) jvm 1 | at at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:397) jvm 1 | at at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:338) jvm 1 | at at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:296) jvm 1 | at at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:148) jvm 1 | at at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108) jvm 1 | at at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) jvm 1 | at at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) jvm 1 | at at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) jvm 1 | at at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) jvm 1 | at at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) jvm 1 | at at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) jvm 1 | at at com.google.inject.Scopes$1$1.get(Scopes.java:59) jvm 1 | at at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) jvm 1 | at at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:990) jvm 1 | at at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1036) jvm 1 | at at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:986) jvm 1 | at at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83) jvm 1 | at at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49) jvm 1 | at at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253) jvm 1 | at at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245) jvm 1 | at at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) jvm 1 | at at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:40) jvm 1 | at at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:764) jvm 1 | at at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406) jvm 1 | at at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:756) jvm 1 | at at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242) jvm 1 | at at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1221) jvm 1 | at at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699) jvm 1 | at at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454) jvm 1 | at at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224) jvm 1 | at at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167) jvm 1 | at at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90) jvm 1 | at at org.eclipse.jetty.server.Server.doStart(Server.java:262) jvm 1 | at at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:145) jvm 1 | Caused by: java.lang.ClassNotFoundException: org.sonatype.nexus.log.internal.NexusEventSystemAppender jvm 1 | at at java.net.URLClassLoader$1.run(URLClassLoader.java:366) jvm 1 | at at java.net.URLClassLoader$1.run(URLClassLoader.java:355) jvm 1 | at at java.security.AccessController.doPrivileged(Native Method) jvm 1 | at at java.net.URLClassLoader.findClass(URLClassLoader.java:354) jvm 1 | at at java.lang.ClassLoader.loadClass(ClassLoader.java:423) jvm 1 | at at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) jvm 1 | at at java.lang.ClassLoader.loadClass(ClassLoader.java:356) jvm 1 | at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:46) jvm 1 | at ... 53 common frames omitted {noformat}
    via by Rich Seddon,
  • I'm seeing this error in the wrapper.log on upgrade to 2.2 from 2.1.2. Looks like the class was changed? We need an upgrade step. {noformat} jvm 1 | 14:38:35,348 |-ERROR in ch.qos.logback.core.joran.action.AppenderAction - Could not create an Appender of type [org.sonatype.nexus.log.internal.NexusEventSystemAppender]. ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type org.sonatype.nexus.log.internal.NexusEventSystemAppender jvm 1 | at ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type org.sonatype.nexus.log.internal.NexusEventSystemAppender jvm 1 | at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:54) jvm 1 | at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:32) jvm 1 | at at ch.qos.logback.core.joran.action.AppenderAction.begin(AppenderAction.java:54) jvm 1 | at at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:276) jvm 1 | at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:148) jvm 1 | at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:130) jvm 1 | at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50) jvm 1 | at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:147) jvm 1 | at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:133) jvm 1 | at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:96) jvm 1 | at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:73) jvm 1 | at at org.sonatype.nexus.log.internal.LogbackLogManager.reconfigure(LogbackLogManager.java:467) jvm 1 | at at org.sonatype.nexus.log.internal.LogbackLogManager.configure(LogbackLogManager.java:318) jvm 1 | at at org.sonatype.nexus.log.internal.LogbackReconfigureEventInspector.inspect(LogbackReconfigureEventInspector.java:43) jvm 1 | at at org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:128) jvm 1 | at at org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:101) jvm 1 | at at org.sonatype.plexus.appevents.AbstractSimpleEventMulticaster.notifyEventListeners(AbstractSimpleEventMulticaster.java:53) jvm 1 | at at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:397) jvm 1 | at at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:338) jvm 1 | at at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:296) jvm 1 | at at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:148) jvm 1 | at at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108) jvm 1 | at at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) jvm 1 | at at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) jvm 1 | at at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) jvm 1 | at at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) jvm 1 | at at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) jvm 1 | at at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) jvm 1 | at at com.google.inject.Scopes$1$1.get(Scopes.java:59) jvm 1 | at at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) jvm 1 | at at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:990) jvm 1 | at at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1036) jvm 1 | at at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:986) jvm 1 | at at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83) jvm 1 | at at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49) jvm 1 | at at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253) jvm 1 | at at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245) jvm 1 | at at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) jvm 1 | at at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:40) jvm 1 | at at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:764) jvm 1 | at at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406) jvm 1 | at at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:756) jvm 1 | at at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242) jvm 1 | at at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1221) jvm 1 | at at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699) jvm 1 | at at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454) jvm 1 | at at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224) jvm 1 | at at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167) jvm 1 | at at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90) jvm 1 | at at org.eclipse.jetty.server.Server.doStart(Server.java:262) jvm 1 | at at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) jvm 1 | at at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:145) jvm 1 | Caused by: java.lang.ClassNotFoundException: org.sonatype.nexus.log.internal.NexusEventSystemAppender jvm 1 | at at java.net.URLClassLoader$1.run(URLClassLoader.java:366) jvm 1 | at at java.net.URLClassLoader$1.run(URLClassLoader.java:355) jvm 1 | at at java.security.AccessController.doPrivileged(Native Method) jvm 1 | at at java.net.URLClassLoader.findClass(URLClassLoader.java:354) jvm 1 | at at java.lang.ClassLoader.loadClass(ClassLoader.java:423) jvm 1 | at at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) jvm 1 | at at java.lang.ClassLoader.loadClass(ClassLoader.java:356) jvm 1 | at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:46) jvm 1 | at ... 53 common frames omitted {noformat}
    via by Rich Seddon,
  • This cause be an issue more directed to Jansi than Logback, but anyway: when trying to use a ConsoleAppender without color support in Eclipse console, the configuration fails with this kind of trace: {noformat} 15:03:05,316 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender] 15:03:05,319 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE] 15:03:05,355 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property 15:03:05,471 |-INFO in ch.qos.logback.core.ConsoleAppender[CONSOLE] - Enabling JANSI WindowsAnsiOutputStream for the console. 15:03:14,639 |-WARN in ch.qos.logback.core.ConsoleAppender[CONSOLE] - Failed to create WindowsAnsiOutputStream. Falling back on the default stream. ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type org.fusesource.jansi.WindowsAnsiOutputStream at ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type org.fusesource.jansi.WindowsAnsiOutputStream at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:72) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:40) at at ch.qos.logback.core.ConsoleAppender.getTargetStreamForWindows(ConsoleAppender.java:94) at at ch.qos.logback.core.ConsoleAppender.start(ConsoleAppender.java:85) at at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:96) at at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:318) at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:197) at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:183) at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:147) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:133) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:96) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:55) at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75) at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148) at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84) at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:54) at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128) at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108) at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:279) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:252) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:265) at at tools.logging.InscaleLogger.getLogger(InscaleLogger.java:34) at at modules.grid.executor.CallingThreadExecutor.<clinit>(CallingThreadExecutor.java:33) at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ... at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:67) at ... 50 common frames omitted Caused by: java.io.IOException: Could not get the screen info: L o p é r a t i o n a r é u s s i. {noformat} (The root cause message means "operation succeeded " in french). The log are then displayed with raw ANSI escape codes. I think the [check here|https://github.com/qos-ch/logback/blob/master/logback-core/src/main/java/ch/qos/logback/core/ConsoleAppender.java#L84] is not sufficient, it should check we are in real Windows terminal...
    via by Julien Nicoulaud,
  • After I replace the wildfly logmanager to logback as a module I've added a custom project appender and it fails as ClassNotFoundException logback.xml <appender name="EMAIL" class="br.com.tecsinapse.monitoring.logging.SmartSMTPAppender"> As I've seen OptionHelper instantiate* should also try to instantiate from thread class loader context exception: 03:16:44,495 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [br.com.tecsinapse.monitoring.logging.SmartSMTPAppender] 03:16:44,495 |-ERROR in ch.qos.logback.core.joran.action.AppenderAction - Could not create an Appender of type [br.com.tecsinapse.monitoring.logging.SmartSMTPAppender]. ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type br.com.tecsinapse.monitoring.logging.SmartSMTPAppender at ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type br.com.tecsinapse.monitoring.logging.SmartSMTPAppender at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:73) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:48) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:35) at at ch.qos.logback.core.joran.action.AppenderAction.begin(AppenderAction.java:54) at at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:275) at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:147) at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:129) at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:149) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:135) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:49) at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:77) at at me.janario.logback.deployment.LogbackContextSelector.lambda$getLoggerContext$0(LogbackContextSelector.java:81) at at me.janario.logback.deployment.LogbackContextSelector$$Lambda$1/1479140596.apply(Unknown Source) at at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1688) at at me.janario.logback.deployment.LogbackContextSelector.getLoggerContext(LogbackContextSelector.java:65) at at org.slf4j.impl.StaticLoggerBinder.getLoggerFactory(StaticLoggerBinder.java:111) at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:315) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277) at at org.jboss.logging.Slf4jLoggerProvider.getLogger(Slf4jLoggerProvider.java:29) at at org.jboss.logging.Logger.getLogger(Logger.java:2163) at at org.jboss.logging.Logger$1.run(Logger.java:2263) at at java.security.AccessController.doPrivileged(Native Method) at at org.jboss.logging.Logger.getMessageLogger(Logger.java:2227) at at org.jboss.logging.Logger.getMessageLogger(Logger.java:2214) at at org.hibernate.validator.internal.util.logging.LoggerFactory.make(LoggerFactory.java:29) at at org.hibernate.validator.internal.cdi.ValidationExtension.<clinit>(ValidationExtension.java:87) at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at at java.lang.Class.newInstance(Class.java:442) at at org.jboss.as.weld.deployment.WeldPortableExtensions.tryRegisterExtension(WeldPortableExtensions.java:54) at at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.loadAttachments(WeldPortableExtensionProcessor.java:121) at at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.deploy(WeldPortableExtensionProcessor.java:81) at at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) at at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) at at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) at at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: br.com.tecsinapse.monitoring.logging.SmartSMTPAppender from [Module "ch.qos.logback:main" from local module loader @131ef10 (finder: local module finder @55b0dcab (roots: /home/janario/Programs/Java/servers/wildfly/wildfly-8.2.0.Final-tec-log/modules,/home/janario/Programs/Java/servers/wildfly/wildfly-8.2.0.Final-tec-log/modules/system/layers/tecsinapse,/home/janario/Programs/Java/servers/wildfly/wildfly-8.2.0.Final-tec-log/modules/system/layers/logback,/home/janario/Programs/Java/servers/wildfly/wildfly-8.2.0.Final-tec-log/modules/system/layers/base))] at at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) at at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) at at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) at at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) at at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:60) at ... 41 common frames omitted 03:16:44,496 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@7:88 - ActionException in Action for tag [appender] ch.qos.logback.core.joran.spi.ActionException: ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type br.com.tecsinapse.monitoring.logging.SmartSMTPAppender at ch.qos.logback.core.joran.spi.ActionException: ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type br.com.tecsinapse.monitoring.logging.SmartSMTPAppender at at ch.qos.logback.core.joran.action.AppenderAction.begin(AppenderAction.java:82) at at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:275) at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:147) at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:129) at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:149) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:135) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:49) at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:77) at at me.janario.logback.deployment.LogbackContextSelector.lambda$getLoggerContext$0(LogbackContextSelector.java:81) at at me.janario.logback.deployment.LogbackContextSelector$$Lambda$1/1479140596.apply(Unknown Source) at at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1688) at at me.janario.logback.deployment.LogbackContextSelector.getLoggerContext(LogbackContextSelector.java:65) at at org.slf4j.impl.StaticLoggerBinder.getLoggerFactory(StaticLoggerBinder.java:111) at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:315) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277) at at org.jboss.logging.Slf4jLoggerProvider.getLogger(Slf4jLoggerProvider.java:29) at at org.jboss.logging.Logger.getLogger(Logger.java:2163) at at org.jboss.logging.Logger$1.run(Logger.java:2263) at at java.security.AccessController.doPrivileged(Native Method) at at org.jboss.logging.Logger.getMessageLogger(Logger.java:2227) at at org.jboss.logging.Logger.getMessageLogger(Logger.java:2214) at at org.hibernate.validator.internal.util.logging.LoggerFactory.make(LoggerFactory.java:29) at at org.hibernate.validator.internal.cdi.ValidationExtension.<clinit>(ValidationExtension.java:87) at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at at java.lang.Class.newInstance(Class.java:442) at at org.jboss.as.weld.deployment.WeldPortableExtensions.tryRegisterExtension(WeldPortableExtensions.java:54) at at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.loadAttachments(WeldPortableExtensionProcessor.java:121) at at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.deploy(WeldPortableExtensionProcessor.java:81) at at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) at at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) at at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) at at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at at java.lang.Thread.run(Thread.java:745) Caused by: ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type br.com.tecsinapse.monitoring.logging.SmartSMTPAppender at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:73) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:48) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:35) at at ch.qos.logback.core.joran.action.AppenderAction.begin(AppenderAction.java:54) at ... 38 common frames omitted Caused by: java.lang.ClassNotFoundException: br.com.tecsinapse.monitoring.logging.SmartSMTPAppender from [Module "ch.qos.logback:main" from local module loader @131ef10 (finder: local module finder @55b0dcab (roots: /home/janario/Programs/Java/servers/wildfly/wildfly-8.2.0.Final-tec-log/modules,/home/janario/Programs/Java/servers/wildfly/wildfly-8.2.0.Final-tec-log/modules/system/layers/tecsinapse,/home/janario/Programs/Java/servers/wildfly/wildfly-8.2.0.Final-tec-log/modules/system/layers/logback,/home/janario/Programs/Java/servers/wildfly/wildfly-8.2.0.Final-tec-log/modules/system/layers/base))] at at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) at at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) at at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) at at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) at at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:60) at ... 41 common frames omitted
    via by Janario Oliveira,
  • After I replace the wildfly logmanager to logback as a module I've added a custom project appender and it fails as ClassNotFoundException logback.xml <appender name="EMAIL" class="br.com.tecsinapse.monitoring.logging.SmartSMTPAppender"> As I've seen OptionHelper instantiate* should also try to instantiate from thread class loader context exception: 03:16:44,495 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [br.com.tecsinapse.monitoring.logging.SmartSMTPAppender] 03:16:44,495 |-ERROR in ch.qos.logback.core.joran.action.AppenderAction - Could not create an Appender of type [br.com.tecsinapse.monitoring.logging.SmartSMTPAppender]. ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type br.com.tecsinapse.monitoring.logging.SmartSMTPAppender at ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type br.com.tecsinapse.monitoring.logging.SmartSMTPAppender at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:73) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:48) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:35) at at ch.qos.logback.core.joran.action.AppenderAction.begin(AppenderAction.java:54) at at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:275) at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:147) at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:129) at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:149) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:135) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:49) at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:77) at at me.janario.logback.deployment.LogbackContextSelector.lambda$getLoggerContext$0(LogbackContextSelector.java:81) at at me.janario.logback.deployment.LogbackContextSelector$$Lambda$1/1479140596.apply(Unknown Source) at at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1688) at at me.janario.logback.deployment.LogbackContextSelector.getLoggerContext(LogbackContextSelector.java:65) at at org.slf4j.impl.StaticLoggerBinder.getLoggerFactory(StaticLoggerBinder.java:111) at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:315) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277) at at org.jboss.logging.Slf4jLoggerProvider.getLogger(Slf4jLoggerProvider.java:29) at at org.jboss.logging.Logger.getLogger(Logger.java:2163) at at org.jboss.logging.Logger$1.run(Logger.java:2263) at at java.security.AccessController.doPrivileged(Native Method) at at org.jboss.logging.Logger.getMessageLogger(Logger.java:2227) at at org.jboss.logging.Logger.getMessageLogger(Logger.java:2214) at at org.hibernate.validator.internal.util.logging.LoggerFactory.make(LoggerFactory.java:29) at at org.hibernate.validator.internal.cdi.ValidationExtension.<clinit>(ValidationExtension.java:87) at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at at java.lang.Class.newInstance(Class.java:442) at at org.jboss.as.weld.deployment.WeldPortableExtensions.tryRegisterExtension(WeldPortableExtensions.java:54) at at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.loadAttachments(WeldPortableExtensionProcessor.java:121) at at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.deploy(WeldPortableExtensionProcessor.java:81) at at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) at at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) at at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) at at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: br.com.tecsinapse.monitoring.logging.SmartSMTPAppender from [Module "ch.qos.logback:main" from local module loader @131ef10 (finder: local module finder @55b0dcab (roots: /home/janario/Programs/Java/servers/wildfly/wildfly-8.2.0.Final-tec-log/modules,/home/janario/Programs/Java/servers/wildfly/wildfly-8.2.0.Final-tec-log/modules/system/layers/tecsinapse,/home/janario/Programs/Java/servers/wildfly/wildfly-8.2.0.Final-tec-log/modules/system/layers/logback,/home/janario/Programs/Java/servers/wildfly/wildfly-8.2.0.Final-tec-log/modules/system/layers/base))] at at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) at at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) at at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) at at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) at at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:60) at ... 41 common frames omitted 03:16:44,496 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@7:88 - ActionException in Action for tag [appender] ch.qos.logback.core.joran.spi.ActionException: ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type br.com.tecsinapse.monitoring.logging.SmartSMTPAppender at ch.qos.logback.core.joran.spi.ActionException: ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type br.com.tecsinapse.monitoring.logging.SmartSMTPAppender at at ch.qos.logback.core.joran.action.AppenderAction.begin(AppenderAction.java:82) at at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:275) at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:147) at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:129) at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:149) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:135) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:49) at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:77) at at me.janario.logback.deployment.LogbackContextSelector.lambda$getLoggerContext$0(LogbackContextSelector.java:81) at at me.janario.logback.deployment.LogbackContextSelector$$Lambda$1/1479140596.apply(Unknown Source) at at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1688) at at me.janario.logback.deployment.LogbackContextSelector.getLoggerContext(LogbackContextSelector.java:65) at at org.slf4j.impl.StaticLoggerBinder.getLoggerFactory(StaticLoggerBinder.java:111) at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:315) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277) at at org.jboss.logging.Slf4jLoggerProvider.getLogger(Slf4jLoggerProvider.java:29) at at org.jboss.logging.Logger.getLogger(Logger.java:2163) at at org.jboss.logging.Logger$1.run(Logger.java:2263) at at java.security.AccessController.doPrivileged(Native Method) at at org.jboss.logging.Logger.getMessageLogger(Logger.java:2227) at at org.jboss.logging.Logger.getMessageLogger(Logger.java:2214) at at org.hibernate.validator.internal.util.logging.LoggerFactory.make(LoggerFactory.java:29) at at org.hibernate.validator.internal.cdi.ValidationExtension.<clinit>(ValidationExtension.java:87) at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at at java.lang.Class.newInstance(Class.java:442) at at org.jboss.as.weld.deployment.WeldPortableExtensions.tryRegisterExtension(WeldPortableExtensions.java:54) at at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.loadAttachments(WeldPortableExtensionProcessor.java:121) at at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.deploy(WeldPortableExtensionProcessor.java:81) at at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) at at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) at at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) at at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at at java.lang.Thread.run(Thread.java:745) Caused by: ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type br.com.tecsinapse.monitoring.logging.SmartSMTPAppender at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:73) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:48) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:35) at at ch.qos.logback.core.joran.action.AppenderAction.begin(AppenderAction.java:54) at ... 38 common frames omitted Caused by: java.lang.ClassNotFoundException: br.com.tecsinapse.monitoring.logging.SmartSMTPAppender from [Module "ch.qos.logback:main" from local module loader @131ef10 (finder: local module finder @55b0dcab (roots: /home/janario/Programs/Java/servers/wildfly/wildfly-8.2.0.Final-tec-log/modules,/home/janario/Programs/Java/servers/wildfly/wildfly-8.2.0.Final-tec-log/modules/system/layers/tecsinapse,/home/janario/Programs/Java/servers/wildfly/wildfly-8.2.0.Final-tec-log/modules/system/layers/logback,/home/janario/Programs/Java/servers/wildfly/wildfly-8.2.0.Final-tec-log/modules/system/layers/base))] at at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) at at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) at at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) at at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) at at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:60) at ... 41 common frames omitted
    via by Janario Oliveira,
  • This cause be an issue more directed to Jansi than Logback, but anyway: when trying to use a ConsoleAppender without color support in Eclipse console, the configuration fails with this kind of trace: {noformat} 15:03:05,316 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender] 15:03:05,319 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE] 15:03:05,355 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property 15:03:05,471 |-INFO in ch.qos.logback.core.ConsoleAppender[CONSOLE] - Enabling JANSI WindowsAnsiOutputStream for the console. 15:03:14,639 |-WARN in ch.qos.logback.core.ConsoleAppender[CONSOLE] - Failed to create WindowsAnsiOutputStream. Falling back on the default stream. ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type org.fusesource.jansi.WindowsAnsiOutputStream at ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type org.fusesource.jansi.WindowsAnsiOutputStream at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:72) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:40) at at ch.qos.logback.core.ConsoleAppender.getTargetStreamForWindows(ConsoleAppender.java:94) at at ch.qos.logback.core.ConsoleAppender.start(ConsoleAppender.java:85) at at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:96) at at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:318) at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:197) at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:183) at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:147) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:133) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:96) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:55) at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75) at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148) at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84) at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:54) at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128) at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108) at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:279) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:252) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:265) at at tools.logging.InscaleLogger.getLogger(InscaleLogger.java:34) at at modules.grid.executor.CallingThreadExecutor.<clinit>(CallingThreadExecutor.java:33) at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ... at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:67) at ... 50 common frames omitted Caused by: java.io.IOException: Could not get the screen info: L o p é r a t i o n a r é u s s i. {noformat} (The root cause message means "operation succeeded " in french). The log are then displayed with raw ANSI escape codes. I think the [check here|https://github.com/qos-ch/logback/blob/master/logback-core/src/main/java/ch/qos/logback/core/ConsoleAppender.java#L84] is not sufficient, it should check we are in real Windows terminal...
    via by Julien Nicoulaud,
    • ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type org.sonatype.nexus.log.internal.NexusEventSystemAppender at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:54) at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:32) at ch.qos.logback.core.joran.action.AppenderAction.begin(AppenderAction.java:54) at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:276) at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:148) at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:130) at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:147) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:133) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:96) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:73) at org.sonatype.nexus.log.internal.LogbackLogManager.reconfigure(LogbackLogManager.java:467) at org.sonatype.nexus.log.internal.LogbackLogManager.configure(LogbackLogManager.java:318) at org.sonatype.nexus.log.internal.LogbackReconfigureEventInspector.inspect(LogbackReconfigureEventInspector.java:43) at org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:128) at org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:101) at org.sonatype.plexus.appevents.AbstractSimpleEventMulticaster.notifyEventListeners(AbstractSimpleEventMulticaster.java:53) at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:397) at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:338) at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:296) at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:148) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108) at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:990) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1036) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:986) at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:40) at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:764) at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406) at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:756) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1221) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224) at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90) at org.eclipse.jetty.server.Server.doStart(Server.java:262) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:145)

    Users with the same issue

    Unknown visitor1 times, last one,