java.lang.AssertionError: [{"self":"https://issues.sonatype.org/rest/api/2/attachment/55186","id":"55186","filename":"1337561606381.png","author":{"self":"https://issues.sonatype.org/rest/api/2/user?username=sonatype_problem_reporting","name":"sonatype_problem_reporting","emailAddress":"problem_reporting@sonatype.com","avatarUrls":{"16x16":"https://issues.sonatype.org/secure/useravatar?size=small&avatarId=10152","48x48":"https://issues.sonatype.org/secure/useravatar?avatarId=10152"},"displayName":"Sonatype Problem Reporting","active":true},"created":"2012-05-20T19:53:26.781-0500","size":178313,"mimeType":"image/png","content":"https://issues.sonatype.org/secure/attachment/55186/1337561606381.png","thumbnail":"https://issues.sonatype.org/secure/thumbnail/55186/_thumb_55186.png"}] expected:<204> but was:<200>

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

,
Expert tip

Check your pattern declaration or check your assert declaration.

Solutions on the web

via Sonatype JIRA by Peter Lynch, 1 year ago
Reporting","active":true},"created":"2012-05-20T19:53:26.781-0500","size":178313,"mimeType":"image/png","content":"https://issues.sonatype.org/secure/attachment/55186/1337561606381.png","thumbnail":"https://issues.sonatype.org/secure/thumbnail/55186/_thumb_55186.png"}] expected:<204> but was:<200>
via GitHub by mdogan
, 1 year ago
expected:<1466412868183> but was:<0>
via GitHub by Donnerbart
, 1 year ago
expected:<4> but was:<3>
via GitHub by pboyer
, 1 year ago
expected:<line 1:3 reportAttemptingFullContext d=3 (expr_primary), input='a(i)' line 1:7 reportAmbiguity d=3 (expr_primary): ambigAlts={2, 3}, input='a(i)<-x' > but was:<null>
java.lang.AssertionError: [{"self":"https://issues.sonatype.org/rest/api/2/attachment/55186","id":"55186","filename":"1337561606381.png","author":{"self":"https://issues.sonatype.org/rest/api/2/user?username=sonatype_problem_reporting","name":"sonatype_problem_reporting","emailAddress":"problem_reporting@sonatype.com","avatarUrls":{"16x16":"https://issues.sonatype.org/secure/useravatar?size=small&avatarId=10152","48x48":"https://issues.sonatype.org/secure/useravatar?avatarId=10152"},"displayName":"Sonatype Problem Reporting","active":true},"created":"2012-05-20T19:53:26.781-0500","size":178313,"mimeType":"image/png","content":"https://issues.sonatype.org/secure/attachment/55186/1337561606381.png","thumbnail":"https://issues.sonatype.org/secure/thumbnail/55186/_thumb_55186.png"}] expected:<204> but was:<200>
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.failNotEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:126)
at org.junit.Assert.assertEquals(Assert.java:470)
at org.sonatype.jira.internal.AttachmentTest.testAttachJIRARest(AttachmentTest.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at undefined.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)

Users with the same issue

8 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 5 months ago
123 more bugmates

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