java.lang.AssertionError: JSON path "$" Expected: iterable over ["Recurring Schedule 0 end_time and Recurring Schedule 1 start_time are overlapping."] in any order but: Not matched: "Recurring Schedule 0 end_time 05:00 should be after start_time 19:00."

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 fraenkel
, 1 year ago
JSON path "$" Expected: iterable over ["Recurring Schedule 0 end_time and Recurring Schedule 1 start_time are overlapping."] in any order but: Not matched: "Recurring Schedule 0 end_time 05:00 should be after start_time 19:00."
via Stack Overflow by WinterN
, 1 year ago
JSON path "$._embedded.content[?(@.type=='JOB')].functions" Expected: a collection with size <3> but: collection size was <1>
via Stack Overflow by Frank
, 9 months ago
JSON path "$.links[0].href" Expected: a collection containing "" but: was "http://localhost/items/001"
via GitHub by markpollack
, 1 year ago
JSON path "$.page.totalElements" Expected: is <2> but: was <3>
via Stack Overflow by NeilA
, 1 year ago
JSON path "$[*].userId" Expected: iterable over [<[1458548702, 1458548703, 1458548704, 1458548706, 1458548707]>] in any order but: Not matched: <1458548702>
java.lang.AssertionError: JSON path "$" Expected: iterable over ["Recurring Schedule 0 end_time and Recurring Schedule 1 start_time are overlapping."] in any order but: Not matched: "Recurring Schedule 0 end_time 05:00 should be after start_time 19:00."
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.springframework.test.util.JsonPathExpectationsHelper.assertValue(JsonPathExpectationsHelper.java:76)
at org.springframework.test.web.servlet.result.JsonPathResultMatchers$1.match(JsonPathResultMatchers.java:86)
at org.cloudfoundry.autoscaler.scheduler.rest.ScheduleRestController_RecurringScheduleValidationTest.assertErrorMessage(ScheduleRestController_RecurringScheduleValidationTest.java:780)
at org.cloudfoundry.autoscaler.scheduler.rest.ScheduleRestController_RecurringScheduleValidationTest.assertOverlapStartEndDate(ScheduleRestController_RecurringScheduleValidationTest.java:717)
at org.cloudfoundry.autoscaler.scheduler.rest.ScheduleRestController_RecurringScheduleValidationTest.testCreateSchedule_overlapping_startEndTime_with_startEndDate(ScheduleRestController_RecurringScheduleValidationTest.java:514)

Users with the same issue

4 times, 6 months ago
3 times, 4 months ago
2 times, 3 weeks ago
3 times, 1 week ago
2 times, 8 months ago
23 more bugmates

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