java.lang.ClassCastException: org.slf4j.helpers.SubstituteLoggerFactory cannot be cast to ch.qos.logback.core.Context

GitHub | alfredcs | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error during marathon 1.2 build with sbt or docker.

    GitHub | 7 months ago | alfredcs
    java.lang.ClassCastException: org.slf4j.helpers.SubstituteLoggerFactory cannot be cast to ch.qos.logback.core.Context
  2. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188
  3. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Help:basic RMI question

    Google Groups | 2 decades ago | Paolo De Lutiis
    java.lang.ClassCastException: serverPackage.ServerClass_Stub at clientPackage.myApplet.init(myApplet.java:line#) at sun.applet.AppletPanel.run(AppletPanel.java:273) at java.lang.Thread.
  6. 0

    SWTBot/Troubleshooting - Eclipsepedia

    eclipse.org | 1 year ago
    java.lang.ClassCastException: org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner .run(EclipseTestRunner.java:331) at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner .run(EclipseTestRunner.java:208) at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication .runTests(UITestApplication.java:115) at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work benchTestable.java:68)

    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.SubstituteLoggerFactory cannot be cast to ch.qos.logback.core.Context

      at mesosphere.marathon.test.CaptureLogEvents$CapturingAppender.appendToRootLogger()
    2. mesosphere.marathon.test
      CaptureLogEvents$.forBlock
      1. mesosphere.marathon.test.CaptureLogEvents$CapturingAppender.appendToRootLogger(CaptureLogEvents.scala:24)
      2. mesosphere.marathon.test.CaptureLogEvents$.forBlock(CaptureLogEvents.scala:12)
      2 frames
    3. mesosphere.marathon.core
      ContinueOnErrorStepTest$$anonfun$5.apply
      1. mesosphere.marathon.core.task.update.impl.steps.ContinueOnErrorStepTest$$anonfun$5.apply(ContinueOnErrorStepTest.scala:51)
      2. mesosphere.marathon.core.task.update.impl.steps.ContinueOnErrorStepTest$$anonfun$5.apply(ContinueOnErrorStepTest.scala:44)
      2 frames
    4. scalatest
      SuperEngine$$anonfun$traverseSubNodes$1$1.apply
      1. org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
      2. org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
      3. org.scalatest.Transformer.apply(Transformer.scala:22)
      4. org.scalatest.Transformer.apply(Transformer.scala:20)
      5. org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:186)
      6. org.scalatest.TestSuite$class.withFixture(TestSuite.scala:196)
      7. org.scalatest.FunSuite.withFixture(FunSuite.scala:1560)
      8. org.scalatest.FunSuiteLike$class.invokeWithFixture$1(FunSuiteLike.scala:183)
      9. org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:196)
      10. org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:196)
      11. org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)
      12. org.scalatest.FunSuiteLike$class.runTest(FunSuiteLike.scala:196)
      13. org.scalatest.FunSuite.runTest(FunSuite.scala:1560)
      14. org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:229)
      15. org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:229)
      16. org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:396)
      17. org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:384)
      17 frames
    5. Scala
      List.foreach
      1. scala.collection.immutable.List.foreach(List.scala:381)
      1 frame
    6. scalatest
      Framework$ScalaTestTask.execute
      1. org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
      2. org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:379)
      3. org.scalatest.SuperEngine.runTestsImpl(Engine.scala:461)
      4. org.scalatest.FunSuiteLike$class.runTests(FunSuiteLike.scala:229)
      5. org.scalatest.FunSuite.runTests(FunSuite.scala:1560)
      6. org.scalatest.Suite$class.run(Suite.scala:1147)
      7. org.scalatest.FunSuite.org$scalatest$FunSuiteLike$$super$run(FunSuite.scala:1560)
      8. org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:233)
      9. org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:233)
      10. org.scalatest.SuperEngine.runImpl(Engine.scala:521)
      11. org.scalatest.FunSuiteLike$class.run(FunSuiteLike.scala:233)
      12. org.scalatest.FunSuite.run(FunSuite.scala:1560)
      13. org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:314)
      14. org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:472)
      14 frames
    7. SBT
      ForkMain$Run$2.call
      1. sbt.ForkMain$Run$2.call(ForkMain.java:296)
      2. sbt.ForkMain$Run$2.call(ForkMain.java:286)
      2 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames