java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.isTraceEnabled()Z

QOS.ch JIRA | David Rauschenbach | 8 years ago
  1. 0

    Same as SLF4J-59 but in jcl-over-slf4j-1.5.2.jar. The SLF4J facade breaks when the underlying logger is log4j-1.2.12 or earlyer, because it doesn't have the trace methods. The logging calls completely shut down the current thread, instead of silently doing nothing, or instead of logging as debug instead of trace. java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.isTraceEnabled()Z at org.apache.commons.logging.impl.SLF4JLocationAwareLog.isTraceEnabled(SLF4JLocationAwareLog.java:52) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:377) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at com.synchronica.mg.webdav.exchange.discovery.ExchangeDiscovery.discoverWebAccessStyle(ExchangeDiscovery.java:101) at com.synchronica.mg.webdav.exchange.discovery.DiscoveryTest.testDiscoveryWebAccessStyle2003(DiscoveryTest.java:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

    QOS.ch JIRA | 8 years ago | David Rauschenbach
    java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.isTraceEnabled()Z
  2. 0

    Same as SLF4J-59 but in jcl-over-slf4j-1.5.2.jar. The SLF4J facade breaks when the underlying logger is log4j-1.2.12 or earlyer, because it doesn't have the trace methods. The logging calls completely shut down the current thread, instead of silently doing nothing, or instead of logging as debug instead of trace. java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.isTraceEnabled()Z at org.apache.commons.logging.impl.SLF4JLocationAwareLog.isTraceEnabled(SLF4JLocationAwareLog.java:52) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:377) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at com.synchronica.mg.webdav.exchange.discovery.ExchangeDiscovery.discoverWebAccessStyle(ExchangeDiscovery.java:101) at com.synchronica.mg.webdav.exchange.discovery.DiscoveryTest.testDiscoveryWebAccessStyle2003(DiscoveryTest.java:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

    QOS.ch JIRA | 8 years ago | David Rauschenbach
    java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.isTraceEnabled()Z
  3. 0

    Having trouble with Scalding 0.8.5

    Google Groups | 4 years ago | Christopher Severs
    cascading.pipe.OperatorException: [WritableSequenceFile(h...][com.twitter.scalding.RichPipe.each(RichPipe.scala:435)] operator Each failed executing operation
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NoSuchMethodError: org.opencms.jsp.I_CmsXmlContentContainer.hasMoreContent()

    Stack Overflow | 4 years ago | user341203
    javax.servlet.ServletException: java.lang.NoSuchMethodError: org.opencms.jsp.I_CmsXmlContentContainer.hasMoreContent()Z
  6. 0

    XML worker using itext

    Stack Overflow | 3 years ago | User211
    java.lang.NoSuchMethodError: com.itextpdf.text.Paragraph.trim()Z

    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.NoSuchMethodError

      org.slf4j.spi.LocationAwareLogger.isTraceEnabled()Z

      at org.apache.commons.logging.impl.SLF4JLocationAwareLog.isTraceEnabled()
    2. Apache Commons Logging
      SLF4JLocationAwareLog.isTraceEnabled
      1. org.apache.commons.logging.impl.SLF4JLocationAwareLog.isTraceEnabled(SLF4JLocationAwareLog.java:52)
      1 frame
    3. HttpClient
      HttpClient.executeMethod
      1. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:377)
      2. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
      3. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
      4. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
      4 frames
    4. com.synchronica.mg
      DiscoveryTest.testDiscoveryWebAccessStyle2003
      1. com.synchronica.mg.webdav.exchange.discovery.ExchangeDiscovery.discoverWebAccessStyle(ExchangeDiscovery.java:101)
      2. com.synchronica.mg.webdav.exchange.discovery.DiscoveryTest.testDiscoveryWebAccessStyle2003(DiscoveryTest.java:23)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    6. JUnit
      JUnit38ClassRunner.run
      1. junit.framework.TestCase.runTest(TestCase.java:168)
      2. junit.framework.TestCase.runBare(TestCase.java:134)
      3. junit.framework.TestResult$1.protect(TestResult.java:110)
      4. junit.framework.TestResult.runProtected(TestResult.java:128)
      5. junit.framework.TestResult.run(TestResult.java:113)
      6. junit.framework.TestCase.run(TestCase.java:124)
      7. junit.framework.TestSuite.runTest(TestSuite.java:232)
      8. junit.framework.TestSuite.run(TestSuite.java:227)
      9. org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
      9 frames
    7. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
      1 frame
    8. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      5 frames