java.lang.NoSuchMethodError: mesosphere.marathon.Protos$EventSubscribers.getCallbackUrlsList()Lcom/google/protobuf/ProtocolStringList;

GitHub | gkleiman | 6 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

    Unit tests are broken

    GitHub | 6 months ago | gkleiman
    java.lang.NoSuchMethodError: mesosphere.marathon.Protos$EventSubscribers.getCallbackUrlsList()Lcom/google/protobuf/ProtocolStringList;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      mesosphere.marathon.Protos$EventSubscribers.getCallbackUrlsList()Lcom/google/protobuf/ProtocolStringList;

      at mesosphere.marathon.core.event.EventSubscribers.mergeFromProto()
    2. mesosphere.marathon.core
      EventSubscribersTest$$anonfun$3.apply
      1. mesosphere.marathon.core.event.EventSubscribers.mergeFromProto(EventSubscribers.scala:12)
      2. mesosphere.marathon.core.event.impl.callback.EventSubscribersTest$$anonfun$3.apply(EventSubscribersTest.scala:28)
      3. mesosphere.marathon.core.event.impl.callback.EventSubscribersTest$$anonfun$3.apply(EventSubscribersTest.scala:25)
      3 frames
    3. scalatest
      TestSuite$class.withFixture
      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)
      6 frames
    4. mesosphere.marathon.core
      EventSubscribersTest.withFixture
      1. mesosphere.marathon.core.event.impl.callback.EventSubscribersTest.withFixture(EventSubscribersTest.scala:6)
      1 frame
    5. scalatest
      FunSuiteLike$class.runTest
      1. org.scalatest.FunSuiteLike$class.invokeWithFixture$1(FunSuiteLike.scala:183)
      2. org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:196)
      3. org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:196)
      4. org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)
      5. org.scalatest.FunSuiteLike$class.runTest(FunSuiteLike.scala:196)
      5 frames
    6. mesosphere.marathon.core
      EventSubscribersTest.org$scalatest$BeforeAndAfter$$super$runTest
      1. mesosphere.marathon.core.event.impl.callback.EventSubscribersTest.org$scalatest$BeforeAndAfter$$super$runTest(EventSubscribersTest.scala:6)
      1 frame
    7. scalatest
      BeforeAndAfter$class.runTest
      1. org.scalatest.BeforeAndAfter$class.runTest(BeforeAndAfter.scala:203)
      1 frame
    8. mesosphere.marathon.core
      EventSubscribersTest.runTest
      1. mesosphere.marathon.core.event.impl.callback.EventSubscribersTest.runTest(EventSubscribersTest.scala:6)
      1 frame
    9. scalatest
      SuperEngine$$anonfun$traverseSubNodes$1$1.apply
      1. org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:229)
      2. org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:229)
      3. org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:396)
      4. org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:384)
      4 frames
    10. Scala
      List.foreach
      1. scala.collection.immutable.List.foreach(List.scala:381)
      1 frame
    11. scalatest
      FunSuiteLike$class.runTests
      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)
      4 frames
    12. mesosphere.marathon.core
      EventSubscribersTest.runTests
      1. mesosphere.marathon.core.event.impl.callback.EventSubscribersTest.runTests(EventSubscribersTest.scala:6)
      1 frame
    13. scalatest
      Suite$class.run
      1. org.scalatest.Suite$class.run(Suite.scala:1147)
      1 frame
    14. mesosphere.marathon.core
      EventSubscribersTest.org$scalatest$FunSuiteLike$$super$run
      1. mesosphere.marathon.core.event.impl.callback.EventSubscribersTest.org$scalatest$FunSuiteLike$$super$run(EventSubscribersTest.scala:6)
      1 frame
    15. scalatest
      FunSuiteLike$class.run
      1. org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:233)
      2. org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:233)
      3. org.scalatest.SuperEngine.runImpl(Engine.scala:521)
      4. org.scalatest.FunSuiteLike$class.run(FunSuiteLike.scala:233)
      4 frames
    16. mesosphere.marathon.core
      EventSubscribersTest.org$scalatest$BeforeAndAfter$$super$run
      1. mesosphere.marathon.core.event.impl.callback.EventSubscribersTest.org$scalatest$BeforeAndAfter$$super$run(EventSubscribersTest.scala:6)
      1 frame
    17. scalatest
      BeforeAndAfter$class.run
      1. org.scalatest.BeforeAndAfter$class.run(BeforeAndAfter.scala:258)
      1 frame
    18. mesosphere.marathon.core
      EventSubscribersTest.run
      1. mesosphere.marathon.core.event.impl.callback.EventSubscribersTest.run(EventSubscribersTest.scala:6)
      1 frame
    19. scalatest
      Framework$ScalaTestTask.execute
      1. org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:314)
      2. org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:472)
      2 frames
    20. 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
    21. 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