java.lang.AssertionError: Should find a single content for CQL input: 'content.property[aggregates].content.editTime >= 2001-01-01' Expected: an iterable with size <1> got: <RestList{results=[], pageRequest=SimplePageRequest{start=0, limit=25}, hasMore=false}>

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by leoalekseyev
, 2 years ago
Expected: a string containing "(\"java.lang.Object\" type" got: ""
via hateblo.jp by Unknown author, 1 year ago
via yahoo.com by Unknown author, 1 year ago
Expected: a CDR record with call ID: 12345678900 got: <org.cafesip.sipexchange.ejbs.cdr.value.CdrRecord@1712b3a>
via Stack Overflow by wilu
, 2 years ago
Expected: (null or an instance of java.lang.Double) got: null
java.lang.AssertionError: Should find a single content for CQL input: 'content.property[aggregates].content.editTime >= 2001-01-01' Expected: an iterable with size <1> got: <RestList{results=[], pageRequest=SimplePageRequest{start=0, limit=25}, hasMore=false}>
at org.junit.Assert.assertThat(Assert.java:780)
at com.atlassian.confluence.api.RemoteCQLSearchServiceAcceptanceTest.assertSingleResponse(RemoteCQLSearchServiceAcceptanceTest.java:119)
at com.atlassian.confluence.api.RemoteCQLSearchServiceAcceptanceTest.testFindPageWithContentProperties(RemoteCQLSearchServiceAcceptanceTest.java:107)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 4 months ago
6 times, 6 months ago

Write tip

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