java.lang.AssertionError

expected:<null> but was:<>


Samebug tips1

Check your pattern declaration or check your assert declaration.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web6862

Solution icon of github
via GitHub by egonw
, 7 months ago
expected null, but was:<>

Solution icon of github
expected:<null> but was:<>

Solution icon of stackoverflow
expected:<null> but was:<[]>

Solution icon of github
via GitHub by rnveach
, 1 year ago
expected:\<127.0.0.1\> but was:\<null\>

Solution icon of github
via GitHub by navis
, 1 year ago
expected null, but was:<11,11,1450659858789,1450659858789,0,0,0,95070444354404353,25,0,11 >

Solution icon of github
via GitHub by fjy
, 1 year ago
expected null, but was:<10,10,1451284237249,1451284237249,0,0,0,95111363629613057,25,0,10 >

Solution icon of github
via GitHub by hasancelik
, 9 months ago
expected:<Value> but was:<null>

Solution icon of github
expected:<bar> but was:<null>

Solution icon of github
expected:<null> but was:<key2>

Solution icon of web
expected:<log> but was:<null>

Stack trace

  • java.lang.AssertionError: expected:<null> but was:<> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:743) at org.junit.Assert.assertEquals(Assert.java:118) at org.junit.Assert.assertEquals(Assert.java:144) at io.grpc.testing.integration.AbstractInteropTest.computeEngineCreds(AbstractInteropTest.java:1091) at io.grpc.testing.integration.TestServiceClient.runTest(TestServiceClient.java:236) at io.grpc.testing.integration.TestServiceClient.run(TestServiceClient.java:200) at io.grpc.testing.integration.TestServiceClient.main(TestServiceClient.java:84)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

3 times, 2 months ago
2 times, 3 months ago
7 times, 3 months ago
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
99 more bugmates