org.mockito.exceptions.verification.WantedButNotInvoked: Wanted but not invoked: schedulerActions.startRunSpec( AppDefinition(/app,None,List(),None,Map(),2,Resources(1.0,128.0,0.0,0),,Set(),List(),List(),List(PortDefinition(0,tcp,None,Map())),false,BackoffStrategy(1 second,1 hour,1.15),None,Set(MarathonHttpHealthCheck(5 minutes,1 minute,20 seconds,3,Some(ByIndex(0)),None,None,HTTP,false)),List(),None,Set(),UpgradeStrategy(1.0,1.0),Map(),Set(),None,OnlyVersion(2017-01-05T00:53:36.102Z),None,Map(),UnreachableStrategy(5 minutes,10 minutes),YoungestFirst) );

GitHub | HackToday | 3 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

    Test failed for sbt assembly

    GitHub | 3 months ago | HackToday
    org.mockito.exceptions.verification.WantedButNotInvoked: Wanted but not invoked: schedulerActions.startRunSpec( AppDefinition(/app,None,List(),None,Map(),2,Resources(1.0,128.0,0.0,0),,Set(),List(),List(),List(PortDefinition(0,tcp,None,Map())),false,BackoffStrategy(1 second,1 hour,1.15),None,Set(MarathonHttpHealthCheck(5 minutes,1 minute,20 seconds,3,Some(ByIndex(0)),None,None,HTTP,false)),List(),None,Set(),UpgradeStrategy(1.0,1.0),Map(),Set(),None,OnlyVersion(2017-01-05T00:53:36.102Z),None,Map(),UnreachableStrategy(5 minutes,10 minutes),YoungestFirst) );
  2. 0

    Flaky test DeploymentActorTest.RestartApp

    GitHub | 2 years ago | drexin
    org.mockito.exceptions.verification.TooManyActualInvocations: taskQueue.add( AppDefinition(app1,Some(cmd new),None,None,Map(),2,1.0,128.0,0.0,,Set(),List(),List(),List(0),false,1 second,1.15,None,Set(),Set(),UpgradeStrategy(1.0),1970-01-01T00:00:01.000Z) ); Wanted 2 times: -> at mesosphere.marathon.upgrade.DeploymentActorTest$$anonfun$3.apply$mcV$sp(DeploymentActorTest.scala:225) But was 3 times. Undesired invocation: -> at mesosphere.marathon.upgrade.StartingBehavior$$anonfun$commonBehavior$1.applyOrElse(StartingBehavior.scala:73)
  3. 0

    mesosphere.marathon.upgrade.DeploymentActorTest.Restart app is a flakey test

    GitHub | 3 years ago | BenWhitehead
    sbt.ForkMain$ForkError: taskQueue.add( AppDefinition(app1,Some(cmd new),None,None,Map(),2,1.0,128.0,0.0,,Set(),List(),List(),List(0),false,1 second,1.15,None,Set(),Set(),UpgradeStrategy(0.5),1970-01-01T00:00:01.000Z) ); Wanted 1 time: -> at mesosphere.marathon.upgrade.DeploymentActorTest$$anonfun$3.apply$mcV$sp(DeploymentActorTest.scala:203) But was 2 times. Undesired invocation: -> at mesosphere.marathon.upgrade.StartingBehavior$$anonfun$rescheduleOnFailure$1.applyOrElse(StartingBehavior.scala:58)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1181#165888299

    GitHub | 1 year ago | fommil
    java.lang.AssertionError: assertion failed: expected: but got unexpected message Some(SymbolInfo(apply,apply,Some(OffsetSourcePosition(/tmp/1450396448450-0/.ensime_cache/dep-src/source-jars/scala/Function1.scala,1665)),ArrowTypeInfo((v1: T1)R,136,BasicTypeInfo(R,137,Nil,scala.R,List(),List(),None,None),List(ParamSectionInfo(List((v1,BasicTypeInfo(T1,135,Nil,scala.T1,List(),List(),None,None))),false))),true,Some(138)))
  6. 0

    Delivery between BFS and WEB

    GitHub | 1 year ago | DePizzottri
    scala.MatchError: UnconfirmedWarning(Vector(UnconfirmedDelivery(542,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$sj,Envelop(542,Item(Task(wall_posts,WrappedArray(TaskData(3323994,None), TaskData(3407303,None), TaskData(4264808,None), TaskData(5962144,None), TaskData(6358977,None), TaskData(8599024,None), TaskData(8695534,None), TaskData(10066797,None), TaskData(10690336,None), TaskData(11786413,None)))))), UnconfirmedDelivery(543,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$tj,Envelop(543,Item(Task(wall_posts,WrappedArray(TaskData(11799219,None), TaskData(12116505,None), TaskData(12240584,None), TaskData(15809322,None), TaskData(15894741,None), TaskData(18200402,None), TaskData(19231329,None), TaskData(20849486,None), TaskData(25441510,None), TaskData(26395779,None)))))), UnconfirmedDelivery(544,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$uj,Envelop(544,Item(Task(wall_posts,WrappedArray(TaskData(26515759,None), TaskData(27231644,None), TaskData(29919692,None), TaskData(32821538,None), TaskData(33273351,None), TaskData(34299843,None), TaskData(36057619,None), TaskData(36815586,None), TaskData(38025693,None), TaskData(38476397,None)))))), UnconfirmedDelivery(545,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$vj,Envelop(545,Item(Task(wall_posts,WrappedArray(TaskData(40594904,None), TaskData(41544833,None), TaskData(45162889,None), TaskData(50964672,None), TaskData(51285881,None), TaskData(53142858,None), TaskData(53632036,None), TaskData(56427156,None), TaskData(57002239,None), TaskData(59583889,None)))))), UnconfirmedDelivery(546,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$wj,Envelop(546,Item(Task(wall_posts,WrappedArray(TaskData(62248000,None), TaskData(62518765,None), TaskData(63159541,None), TaskData(65493056,None), TaskData(65496395,None), TaskData(66546756,None), TaskData(67539052,None), TaskData(68934995,None), TaskData(69769219,None), TaskData(71274523,None)))))), UnconfirmedDelivery(547,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$xj,Envelop(547,Item(Task(wall_posts,WrappedArray(TaskData(71413087,None), TaskData(73952940,None), TaskData(74375033,None), TaskData(75634889,None), TaskData(77434400,None), TaskData(77461175,None), TaskData(78236036,None), TaskData(78307708,None), TaskData(78476412,None), TaskData(78632923,None)))))), UnconfirmedDelivery(548,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$yj,Envelop(548,Item(Task(wall_posts,WrappedArray(TaskData(81065397,None), TaskData(81211219,None), TaskData(82138198,None), TaskData(83179076,None), TaskData(84845984,None), TaskData(86047903,None), TaskData(86755841,None), TaskData(86997549,None), TaskData(87242287,None), TaskData(87572128,None)))))), UnconfirmedDelivery(549,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$zj,Envelop(549,Item(Task(wall_posts,WrappedArray(TaskData(88166837,None), TaskData(89540865,None), TaskData(90159037,None), TaskData(90492583,None), TaskData(90871325,None), TaskData(92260792,None), TaskData(92638611,None), TaskData(93082287,None), TaskData(93121108,None), TaskData(93406000,None)))))), UnconfirmedDelivery(550,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$Aj,Envelop(550,Item(Task(friends_list,WrappedArray(TaskData(242565087,None), TaskData(243279082,None), TaskData(245515568,None), TaskData(249069405,None), TaskData(251031595,None), TaskData(252900518,None), TaskData(258445894,None), TaskData(259812221,None), TaskData(262935571,None), TaskData(272199504,None)))))), UnconfirmedDelivery(551,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$Bj,Envelop(551,Item(Task(wall_posts,WrappedArray(TaskData(94816471,None), TaskData(96105227,None), TaskData(96264775,None), TaskData(96426552,None), TaskData(97192406,None), TaskData(98737663,None), TaskData(99117434,None), TaskData(99155023,None), TaskData(99809843,None), TaskData(104305563,None)))))), UnconfirmedDelivery(552,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$Cj,Envelop(552,Item(Task(wall_posts,WrappedArray(TaskData(104324304,None), TaskData(105240366,None), TaskData(106480480,None), TaskData(107612330,None), TaskData(108402790,None), TaskData(109512071,None), TaskData(111818051,None), TaskData(120435222,None), TaskData(121703978,None), TaskData(121806175,None)))))), UnconfirmedDelivery(553,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$Dj,Envelop(553,Item(Task(wall_posts,WrappedArray(TaskData(122197572,None), TaskData(123300591,None), TaskData(123485675,None), TaskData(131488312,None), TaskData(131743435,None), TaskData(132254541,None), TaskData(133006673,None), TaskData(133319065,None), TaskData(133567533,None), TaskData(134081522,None)))))), UnconfirmedDelivery(554,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$Ej,Envelop(554,Item(Task(wall_posts,WrappedArray(TaskData(134492470,None), TaskData(134619761,None), TaskData(134703604,None), TaskData(135331855,None), TaskData(135890043,None), TaskData(136053727,None), TaskData(136129508,None), TaskData(136430630,None), TaskData(136825558,None), TaskData(136850002,None)))))), UnconfirmedDelivery(555,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$Fj,Envelop(555,Item(Task(wall_posts,WrappedArray(TaskData(137058261,None), TaskData(138638536,None), TaskData(138716745,None), TaskData(139205872,None), TaskData(139263613,None), TaskData(139388612,None), TaskData(139423763,None), TaskData(141146073,None), TaskData(142351028,None), TaskData(142734668,None)))))), UnconfirmedDelivery(556,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$Gj,Envelop(556,Item(Task(friends_list,WrappedArray(TaskData(276910141,None), TaskData(277779835,None), TaskData(278058918,None), TaskData(280201967,None), TaskData(284633751,None), TaskData(284731075,None), TaskData(286220526,None), TaskData(286794933,None), TaskData(287845459,None), TaskData(291182780,None)))))), UnconfirmedDelivery(557,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$Hj,Envelop(557,Item(Task(wall_posts,WrappedArray(TaskData(142772853,None), TaskData(143181131,None), TaskData(143351340,None), TaskData(143462277,None), TaskData(145373926,None), TaskData(145735194,None), TaskData(145928952,None), TaskData(146750407,None), TaskData(147269401,None), TaskData(147459980,None)))))), UnconfirmedDelivery(558,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$Ij,Envelop(558,Item(Task(wall_posts,WrappedArray(TaskData(147901171,None), TaskData(148243986,None), TaskData(148261244,None), TaskData(148391887,None), TaskData(150362968,None), TaskData(150802844,None), TaskData(150815469,None), TaskData(151100280,None), TaskData(151103566,None), TaskData(152120153,None)))))), UnconfirmedDelivery(559,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$Jj,Envelop(559,Item(Task(wall_posts,WrappedArray(TaskData(152236267,None), TaskData(152240546,None), TaskData(152442488,None), TaskData(152604889,None), TaskData(152696339,None), TaskData(153244318,None), TaskData(153295786,None), TaskData(153370006,None), TaskData(153380234,None), TaskData(153783161,None)))))), UnconfirmedDelivery(560,akka.tcp://CrawlerWEBInterface-system@127.0.0.1:5151/temp/$Kj,Envelop(560,Item(Task(friends_list,WrappedArray(TaskData(291253812,None), TaskData(292601809,None), TaskData(295439102,None), TaskData(296179169,None), TaskData(296965184,None), TaskData(297497066,None), TaskData(297922693,None), TaskData(302686378,None), TaskData(305925477,None), TaskData(307608783,None)))))))) (of class akka.persistence.AtLeastOnceDelivery$UnconfirmedWarning)

    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. org.mockito.exceptions.verification.WantedButNotInvoked

      Wanted but not invoked: schedulerActions.startRunSpec( AppDefinition(/app,None,List(),None,Map(),2,Resources(1.0,128.0,0.0,0),,Set(),List(),List(),List(PortDefinition(0,tcp,None,Map())),false,BackoffStrategy(1 second,1 hour,1.15),None,Set(MarathonHttpHealthCheck(5 minutes,1 minute,20 seconds,3,Some(ByIndex(0)),None,None,HTTP,false)),List(),None,Set(),UpgradeStrategy(1.0,1.0),Map(),Set(),None,OnlyVersion(2017-01-05T00:53:36.102Z),None,Map(),UnreachableStrategy(5 minutes,10 minutes),YoungestFirst) );

      at mesosphere.marathon.upgrade.AppStartActorTest$$anonfun$2.apply()
    2. mesosphere.marathon.upgrade
      AppStartActorTest$$anonfun$2.apply
      1. mesosphere.marathon.upgrade.AppStartActorTest$$anonfun$2.apply(AppStartActorTest.scala:58)
      1 frame