junit.framework.ComparisonFailure: expected:<[[{term=in 2015 a red fox is still a fox,weight=1}, {term=in 2015 my fox is red, like mike's fox and john's fox,weight=1}]]> but was:<[]>

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 jackrabbit-oak-dev by Apache Jenkins Server, 1 year ago
expected:<[[{term=in 2015 a red fox is still a fox,weight=1}, {term=in 2015 my fox is red, like mike's fox and john's fox,weight=1}]]> but was:<[]>
via jackrabbit-oak-dev by Apache Jenkins Server, 1 year ago
expected:<[[{term=in 2015 a red fox is still a fox,weight=1}, {term=in 2015 my fox is red, like mike's fox and john's fox,weight=1}]]> but was:<[]>
via jackrabbit-oak-dev by Apache Jenkins Server, 1 year ago
expected:<[[{term=in 2015 a red fox is still a fox,weight=1}, {term=in 2015 my fox is red, like mike's fox and john's fox,weight=1}]]> but was:<[]>
via jackrabbit-oak-dev by Apache Jenkins Server, 1 year ago
expected:<[[{term=in 2015 a red fox is still a fox,weight=1}, {term=in 2015 my fox is red, like mike's fox and john's fox,weight=1}]]> but was:<[]>
via metamodel-dev by Kasper Sørensen, 1 year ago
expected:<2010-12-24 [00]:00:00> but was:<2010-12-24 [12]:00:00>
via Google Groups by Unknown author, 5 months ago
null expected:<... void this; [ void _javaB; ]} } ...> but was:<... void this; []} } ...>
junit.framework.ComparisonFailure: expected:<[[{term=in 2015 a red fox is still a fox,weight=1}, {term=in 2015 my fox is red, like mike's fox and john's fox,weight=1}]]> but was:<[]>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.Assert.assertEquals(Assert.java:107)
at org.apache.jackrabbit.oak.jcr.query.SuggestTest.testSuggestXPath(SuggestTest.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)

Users with the same issue

2 times, 4 months ago
3 times, 3 weeks ago
Once, 1 month ago
Once, 11 months ago
3 times, 5 months ago

Write tip

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