java.lang.ClassCastException: org.slf4j.helpers.NOPLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext

QOS.ch JIRA | veera | 4 years ago
  1. 0

    I am not able to use logback when using maven, jaboss 7.1.1. Is it a bug? 17:24:23,675 ERROR [stderr] java.lang.ClassCastException: org.slf4j.helpers.NOPLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext 17:24:23,681 ERROR [stderr] at com.zreflect.emyed.whiteboard.pubsub.EventLoggerAsync.logStart(EventLoggerAsync.java:116) 17:24:23,683 ERROR [stderr] at com.zreflect.emyed.whiteboard.pubsub.EventLoggerAsync.onDisconnect(EventLoggerAsync.java:62) 17:24:23,684 ERROR [stderr] at org.atmosphere.cpr.AtmosphereResourceImpl.onDisconnect(AtmosphereResourceImpl.java:817) 17:24:23,686 ERROR [stderr] at org.atmosphere.cpr.AtmosphereResourceImpl.notifyListeners(AtmosphereResourceImpl.java:761) 17:24:23,688 ERROR [stderr] at org.atmosphere.cpr.AtmosphereResourceImpl.notifyListeners(AtmosphereResourceImpl.java:742) 17:24:23,690 ERROR [stderr] at org.atmosphere.cpr.AsynchronousProcessor.cancelled(AsynchronousProcessor.java:601) 17:24:23,691 ERROR [stderr] at org.atmosphere.container.BlockingIOCometSupport.cancelled(BlockingIOCometSupport.java:172) 17:24:23,693 ERROR [stderr] at org.atmosphere.cpr.AsynchronousProcessor$1.run(AsynchronousProcessor.java:119) 17:24:23,694 ERROR [stderr] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 17:24:23,696 ERROR [stderr] at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) 17:24:23,698 ERROR [stderr] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) 17:24:23,699 ERROR [stderr] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) 17:24:23,703 ERROR [stderr] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) 17:24:23,707 ERROR [stderr] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) 17:24:23,715 ERROR [stderr] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 17:24:23,716 ERROR [stderr] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 17:24:23,718 ERROR [stderr] at java.lang.Thread.run(Thread.java:662)

    QOS.ch JIRA | 4 years ago | veera
    java.lang.ClassCastException: org.slf4j.helpers.NOPLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext
  2. 0

    Sonar - an open source entreprise quality control tool user list

    gmane.org | 1 year ago
    com.ciphercloud.root: A type incompatibility occured while executing org.codehaus.sonar:sonar-maven-plugin:2.6:sonar: org.slf4j.impl.SimpleLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext ----------------------------------------------------- realm = plugin>org.codehaus.sonar:sonar-maven-plugin:2.6 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-maven-plugin/2.6/sonar-maven-plugin-2.6.jar urls[1] = file:/ccbuild/m2_repository/org/apache/maven/shared/maven-dependency-tree/1.2/maven-dependency-tree-1.2.jar urls[2] = file:/ccbuild/m2_repository/org/codehaus/plexus/plexus-utils/1.4.1/plexus-utils-1.4.1.jar urls[3] = file:/ccbuild/m2_repository/junit/junit/4.8.2/junit-4.8.2.jar urls[4] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-batch/2.6/sonar-batch-2.6.jar urls[5] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-core/2.6/sonar-core-2.6.jar urls[6] = file:/ccbuild/m2_repository/org/hibernate/hibernate-core/3.3.2.GA/hibernate-core-3.3.2.GA.jar urls[7] = file:/ccbuild/m2_repository/antlr/antlr/2.7.6/antlr-2.7.6.jar urls[8] = file:/ccbuild/m2_repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar urls[9] = file:/ccbuild/m2_repository/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.jar urls[10] = file:/ccbuild/m2_repository/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.jar urls[11] = file:/ccbuild/m2_repository/org/hibernate/hibernate-commons-annotations/3.1.0.GA/hibernate-commons-annotations-3.1.0.GA.jar urls[12] = file:/ccbuild/m2_repository/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA.jar urls[13] = file:/ccbuild/m2_repository/javassist/javassist/3.4.GA/javassist-3.4.GA.jar urls[14] = file:/ccbuild/m2_repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar urls[15] = file:/ccbuild/m2_repository/org/hibernate/hibernate-ehcache/3.3.2.GA/hibernate-ehcache-3.3.2.GA.jar urls[16] = file:/ccbuild/m2_repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar urls[17] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-deprecated/2.6/sonar-deprecated-2.6.jar urls[18] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-java-api/2.6/sonar-java-api-2.6.jar urls[19] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-plugin-api/2.6/sonar-plugin-api-2.6.jar urls[20] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-check-api/2.6/sonar-check-api-2.6.jar urls[21] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-colorizer/2.6/sonar-colorizer-2.6.jar urls[22] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-channel/2.6/sonar-channel-2.6.jar urls[23] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-duplications/2.6/sonar-duplications-2.6.jar urls[24] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-graph/2.6/sonar-graph-2.6.jar urls[25] = file:/ccbuild/m2_repository/com/google/collections/google-collections/1.0/google-collections-1.0.jar urls[26] = file:/ccbuild/m2_repository/org/picocontainer/picocontainer/2.10.2/picocontainer-2.10.2.jar urls[27] = file:/ccbuild/m2_repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar urls[28] = file:/ccbuild/m2_repository/javax/inject/javax.inject/1/javax.inject-1.jar urls[29] = file:/ccbuild/m2_repository/commons-dbcp/commons-dbcp/1.3/commons-dbcp-1.3.jar urls[30] = file:/ccbuild/m2_repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar urls[31] = file:/ccbuild/m2_repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar urls[32] = file:/ccbuild/m2_repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar urls[33] = file:/ccbuild/m2_repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar urls[34] = file:/ccbuild/m2_repository/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar urls[35] = file:/ccbuild/m2_repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar urls[36] = file:/ccbuild/m2_repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar urls[37] = file:/ccbuild/m2_repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar urls[38] = file:/ccbuild/m2_repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar urls[39] = file:/ccbuild/m2_repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar urls[40] = file:/ccbuild/m2_repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar urls[41] = file:/ccbuild/m2_repository/org/slf4j/log4j-over-slf4j/1.5.6/log4j-over-slf4j-1.5.6.jar urls[42] = file:/ccbuild/m2_repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar urls[43] = file:/ccbuild/m2_repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar urls[44] = file:/ccbuild/m2_repository/org/codehaus/woodstox/woodstox-core-lgpl/4.0.4/woodstox-core-lgpl-4.0.4.jar urls[45] = file:/ccbuild/m2_repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar urls[46] = file:/ccbuild/m2_repository/org/codehaus/woodstox/stax2-api/3.0.1/stax2-api-3.0.1.jar urls[47] = file:/ccbuild/m2_repository/org/codehaus/staxmate/staxmate/2.0.0/staxmate-2.0.0.jar urls[48] = file:/ccbuild/m2_repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar urls[49] = file:/ccbuild/m2_repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar urls[50] = file:/ccbuild/m2_repository/xalan/xalan/2.7.1/xalan-2.7.1.jar urls[51] = file:/ccbuild/m2_repository/xalan/serializer/2.7.1/serializer-2.7.1.jar urls[52] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-squid/2.6/sonar-squid-2.6.jar urls[53] = file:/ccbuild/m2_repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar urls[54] = file:/ccbuild/m2_repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar urls[55] = file:/ccbuild/m2_repository/ch/qos/logback/logback-classic/0.9.15/logback-classic-0.9.15.jar urls[56] = file:/ccbuild/m2_repository/ch/qos/logback/logback-core/0.9.15/logback-core-0.9.15.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[project>com.ciphercloud.root:com.ciphercloud.root:4.4.0.4, parent: ClassRealm[maven.api, parent: null]]] -----------------------------------------------------
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Sonar - an open source entreprise quality control tool user list

    gmane.org | 1 year ago
    com.ciphercloud.root: A type incompatibility occured while executing org.codehaus.sonar:sonar-maven-plugin:2.6:sonar: org.slf4j.impl.SimpleLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext ----------------------------------------------------- realm = plugin>org.codehaus.sonar:sonar-maven-plugin:2.6 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-maven-plugin/2.6/sonar-maven-plugin-2.6.jar urls[1] = file:/ccbuild/m2_repository/org/apache/maven/shared/maven-dependency-tree/1.2/maven-dependency-tree-1.2.jar urls[2] = file:/ccbuild/m2_repository/org/codehaus/plexus/plexus-utils/1.4.1/plexus-utils-1.4.1.jar urls[3] = file:/ccbuild/m2_repository/junit/junit/4.8.2/junit-4.8.2.jar urls[4] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-batch/2.6/sonar-batch-2.6.jar urls[5] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-core/2.6/sonar-core-2.6.jar urls[6] = file:/ccbuild/m2_repository/org/hibernate/hibernate-core/3.3.2.GA/hibernate-core-3.3.2.GA.jar urls[7] = file:/ccbuild/m2_repository/antlr/antlr/2.7.6/antlr-2.7.6.jar urls[8] = file:/ccbuild/m2_repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar urls[9] = file:/ccbuild/m2_repository/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.jar urls[10] = file:/ccbuild/m2_repository/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.jar urls[11] = file:/ccbuild/m2_repository/org/hibernate/hibernate-commons-annotations/3.1.0.GA/hibernate-commons-annotations-3.1.0.GA.jar urls[12] = file:/ccbuild/m2_repository/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA.jar urls[13] = file:/ccbuild/m2_repository/javassist/javassist/3.4.GA/javassist-3.4.GA.jar urls[14] = file:/ccbuild/m2_repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar urls[15] = file:/ccbuild/m2_repository/org/hibernate/hibernate-ehcache/3.3.2.GA/hibernate-ehcache-3.3.2.GA.jar urls[16] = file:/ccbuild/m2_repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar urls[17] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-deprecated/2.6/sonar-deprecated-2.6.jar urls[18] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-java-api/2.6/sonar-java-api-2.6.jar urls[19] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-plugin-api/2.6/sonar-plugin-api-2.6.jar urls[20] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-check-api/2.6/sonar-check-api-2.6.jar urls[21] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-colorizer/2.6/sonar-colorizer-2.6.jar urls[22] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-channel/2.6/sonar-channel-2.6.jar urls[23] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-duplications/2.6/sonar-duplications-2.6.jar urls[24] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-graph/2.6/sonar-graph-2.6.jar urls[25] = file:/ccbuild/m2_repository/com/google/collections/google-collections/1.0/google-collections-1.0.jar urls[26] = file:/ccbuild/m2_repository/org/picocontainer/picocontainer/2.10.2/picocontainer-2.10.2.jar urls[27] = file:/ccbuild/m2_repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar urls[28] = file:/ccbuild/m2_repository/javax/inject/javax.inject/1/javax.inject-1.jar urls[29] = file:/ccbuild/m2_repository/commons-dbcp/commons-dbcp/1.3/commons-dbcp-1.3.jar urls[30] = file:/ccbuild/m2_repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar urls[31] = file:/ccbuild/m2_repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar urls[32] = file:/ccbuild/m2_repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar urls[33] = file:/ccbuild/m2_repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar urls[34] = file:/ccbuild/m2_repository/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar urls[35] = file:/ccbuild/m2_repository/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar urls[36] = file:/ccbuild/m2_repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar urls[37] = file:/ccbuild/m2_repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar urls[38] = file:/ccbuild/m2_repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar urls[39] = file:/ccbuild/m2_repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar urls[40] = file:/ccbuild/m2_repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar urls[41] = file:/ccbuild/m2_repository/org/slf4j/log4j-over-slf4j/1.5.6/log4j-over-slf4j-1.5.6.jar urls[42] = file:/ccbuild/m2_repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar urls[43] = file:/ccbuild/m2_repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar urls[44] = file:/ccbuild/m2_repository/org/codehaus/woodstox/woodstox-core-lgpl/4.0.4/woodstox-core-lgpl-4.0.4.jar urls[45] = file:/ccbuild/m2_repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar urls[46] = file:/ccbuild/m2_repository/org/codehaus/woodstox/stax2-api/3.0.1/stax2-api-3.0.1.jar urls[47] = file:/ccbuild/m2_repository/org/codehaus/staxmate/staxmate/2.0.0/staxmate-2.0.0.jar urls[48] = file:/ccbuild/m2_repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar urls[49] = file:/ccbuild/m2_repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar urls[50] = file:/ccbuild/m2_repository/xalan/xalan/2.7.1/xalan-2.7.1.jar urls[51] = file:/ccbuild/m2_repository/xalan/serializer/2.7.1/serializer-2.7.1.jar urls[52] = file:/ccbuild/m2_repository/org/codehaus/sonar/sonar-squid/2.6/sonar-squid-2.6.jar urls[53] = file:/ccbuild/m2_repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar urls[54] = file:/ccbuild/m2_repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar urls[55] = file:/ccbuild/m2_repository/ch/qos/logback/logback-classic/0.9.15/logback-classic-0.9.15.jar urls[56] = file:/ccbuild/m2_repository/ch/qos/logback/logback-core/0.9.15/logback-core-0.9.15.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[project>com.ciphercloud.root:com.ciphercloud.root:4.4.0.4, parent: ClassRealm[maven.api, parent: null]]] -----------------------------------------------------
  5. 0

    [#SES-750] Classpath problem in launching the script console.bat - openRDF.org Issue Tracker

    openrdf.org | 11 months ago
    java.lang.ClassCastException: org.slf4j.impl.JDK14LoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.slf4j.helpers.NOPLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext

      at com.zreflect.emyed.whiteboard.pubsub.EventLoggerAsync.logStart()
    2. com.zreflect.emyed
      EventLoggerAsync.onDisconnect
      1. com.zreflect.emyed.whiteboard.pubsub.EventLoggerAsync.logStart(EventLoggerAsync.java:116)
      2. com.zreflect.emyed.whiteboard.pubsub.EventLoggerAsync.onDisconnect(EventLoggerAsync.java:62)
      2 frames
    3. atmosphere-runtime
      AsynchronousProcessor$1.run
      1. org.atmosphere.cpr.AtmosphereResourceImpl.onDisconnect(AtmosphereResourceImpl.java:817)
      2. org.atmosphere.cpr.AtmosphereResourceImpl.notifyListeners(AtmosphereResourceImpl.java:761)
      3. org.atmosphere.cpr.AtmosphereResourceImpl.notifyListeners(AtmosphereResourceImpl.java:742)
      4. org.atmosphere.cpr.AsynchronousProcessor.cancelled(AsynchronousProcessor.java:601)
      5. org.atmosphere.container.BlockingIOCometSupport.cancelled(BlockingIOCometSupport.java:172)
      6. org.atmosphere.cpr.AsynchronousProcessor$1.run(AsynchronousProcessor.java:119)
      6 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      3. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
      6. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      8. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      9. java.lang.Thread.run(Thread.java:662)
      9 frames