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) );

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by HackToday
, 11 months ago
(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) );
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(AppStartActorTest.scala:58)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.