java.lang.ClassCastException: org.slf4j.impl.Log4jLoggerFactory cannot be cast to org.gradle.logging.internal.slf4j.OutputEventListenerBackedLoggerContext

Stack Overflow | niraj | 5 months ago
  1. 0

    Gradle Error: Not able to use gradle

    Stack Overflow | 5 months ago | niraj
    java.lang.ClassCastException: org.slf4j.impl.Log4jLoggerFactory cannot be cast to org.gradle.logging.internal.slf4j.OutputEventListenerBackedLoggerContext
  2. 0

    Errors When Installing Android Studio on Windows 7 - Could not create an instance of Tooling API implementation

    Stack Overflow | 9 months ago | jdub7
    java.lang.ClassCastException: ch.qos.logback.classic.LoggerContext cannot be cast to org.gradle.logging.internal.slf4j.OutputEventListenerBackedLoggerContext
  3. 0

    Android Studio on Mac OS X, Gradle complaining about org.bouncycastle.asn1.ASN1Primitive

    codegur.com | 9 months ago
    java.lang.ClassCastException: ch.qos.logback.classic.LoggerContext cannot be cast to org.gradle.logging.internal.slf4j.OutputEventListenerBackedLoggerContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.slf4j.impl.SimpleLoggerFactory cannot be cast to org.gradle.logging.internal.slf4j.OutputEventListenerBackedLoggerContext

    Stack Overflow | 2 months ago | Terry Simons
    java.lang.ClassCastException: org.slf4j.impl.SimpleLoggerFactory cannot be cast to org.gradle.logging.internal.slf4j.OutputEventListenerBackedLoggerContext
  6. 0

    Cannot use android studio on Mac due to gradle Solved after 6 hours

    Stack Overflow | 1 year ago | None
    java.lang.ClassCastException: ch.qos.logback.classic.LoggerContext cannot be cast to org.gradle.logging.internal.slf4j.OutputEventListenerBackedLoggerContext

    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.impl.Log4jLoggerFactory cannot be cast to org.gradle.logging.internal.slf4j.OutputEventListenerBackedLoggerContext

      at org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer.configure()
    2. org.gradle.logging
      Slf4jLoggingConfigurer.configure
      1. org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer.configure(Slf4jLoggingConfigurer.java:42)
      1 frame
    3. Gradle Core
      DefaultLoggingManager.start
      1. org.gradle.logging.internal.DefaultLoggingConfigurer.configure(DefaultLoggingConfigurer.java:34)
      2. org.gradle.logging.internal.LoggingSystemAdapter.setLevel(LoggingSystemAdapter.java:55)
      3. org.gradle.logging.internal.LoggingSystemAdapter.on(LoggingSystemAdapter.java:42)
      4. org.gradle.logging.internal.DefaultLoggingManager$StartableLoggingSystem.start(DefaultLoggingManager.java:191)
      5. org.gradle.logging.internal.DefaultLoggingManager.start(DefaultLoggingManager.java:60)
      6. org.gradle.logging.internal.DefaultLoggingManager.start(DefaultLoggingManager.java:31)
      6 frames
    4. Gradle Launcher
      EntryPoint.run
      1. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:201)
      2. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
      3. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
      4. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
      5. org.gradle.launcher.Main.doAction(Main.java:33)
      6. org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
      6 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    6. Gradle Launcher
      GradleMain.main
      1. org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
      2. org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
      3. org.gradle.launcher.GradleMain.main(GradleMain.java:23)
      3 frames