java.lang.AssertionError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 2.0.x branch! Regression org.sonatype.nexus.integrationtests.nexus3082.Nexus3082GenerateProblemReportIT.generateReport https://builds.sonatype.org/job/nexus-oss-its-2.0.x/20/jdk=java-6x,label=win/testReport/junit/org.sonatype.nexus.integrationtests.nexus3082/Nexus3082GenerateProblemReportIT/generateReport/ {code} Error Message Expected: (response status to indicate success status 200) but: response status to indicate success status 200 Bad Request (400) - Bad Requestnull Stacktrace java.lang.AssertionError: Expected: (response status to indicate success status 200) but: response status to indicate success status 200 Bad Request (400) - Bad Requestnull at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8) at org.sonatype.nexus.integrationtests.NexusRestClient.sendMessage(NexusRestClient.java:568) at org.sonatype.nexus.integrationtests.NexusRestClient.sendMessage(NexusRestClient.java:543) at org.sonatype.nexus.integrationtests.NexusRestClient.doPutForText(NexusRestClient.java:357) at org.sonatype.nexus.integrationtests.RequestFacade.doPutForText(RequestFacade.java:208) at org.sonatype.nexus.test.utils.ErrorReportUtil.matchProblemResponse(ErrorReportUtil.java:77) at org.sonatype.nexus.test.utils.ErrorReportUtil.generateProblemReport(ErrorReportUtil.java:56) at org.sonatype.nexus.test.utils.ErrorReportUtil.generateProblemReport(ErrorReportUtil.java:47) at org.sonatype.nexus.integrationtests.nexus3082.Nexus3082GenerateProblemReportIT.generateReport(Nexus3082GenerateProblemReportIT.java:28) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) ... Removed 26 stack frames {code}
    via by Benjamin Hanzelmann,
  • https://builds.sonatype.org/view/nexus/job/nexus-oss-its/129/jdk=java-6x,label=linux/testReport/junit/org.sonatype.nexus.integrationtests.nexus3082/Nexus3082GenerateProblemReportIT/generateReport/ {noformat} Error Message Expected: (response status to indicate success status 200) but: response status to indicate success status 200 Bad Request (400) - Bad Requestnull Stacktrace java.lang.AssertionError: Expected: (response status to indicate success status 200) but: response status to indicate success status 200 Bad Request (400) - Bad Requestnull at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8) at org.sonatype.nexus.integrationtests.NexusRestClient.sendMessage(NexusRestClient.java:574) at org.sonatype.nexus.integrationtests.NexusRestClient.sendMessage(NexusRestClient.java:549) at org.sonatype.nexus.integrationtests.NexusRestClient.doPutForText(NexusRestClient.java:363) at org.sonatype.nexus.integrationtests.RequestFacade.doPutForText(RequestFacade.java:214) at org.sonatype.nexus.test.utils.ErrorReportUtil.matchProblemResponse(ErrorReportUtil.java:83) at org.sonatype.nexus.test.utils.ErrorReportUtil.generateProblemReport(ErrorReportUtil.java:62) at org.sonatype.nexus.test.utils.ErrorReportUtil.generateProblemReport(ErrorReportUtil.java:53) at org.sonatype.nexus.integrationtests.nexus3082.Nexus3082GenerateProblemReportIT.generateReport(Nexus3082GenerateProblemReportIT.java:34) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) ... Removed 26 stack frames {noformat}
    via by Peter Lynch,
  • Build not working in Windows
    via GitHub by hypery2k
    ,
  • UdpChannelTest build fails
    via GitHub by phaynes
    ,
  • rexsl-test failure
    via GitHub by simonjenga
    ,
    • java.lang.AssertionError: Expected: (response status to indicate success status 200) but: response status to indicate success status 200 Bad Request (400) - Bad Requestnull at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8) at org.sonatype.nexus.integrationtests.NexusRestClient.sendMessage(NexusRestClient.java:568) at org.sonatype.nexus.integrationtests.NexusRestClient.sendMessage(NexusRestClient.java:543) at org.sonatype.nexus.integrationtests.NexusRestClient.doPutForText(NexusRestClient.java:357) at org.sonatype.nexus.integrationtests.RequestFacade.doPutForText(RequestFacade.java:208) at org.sonatype.nexus.test.utils.ErrorReportUtil.matchProblemResponse(ErrorReportUtil.java:77) at org.sonatype.nexus.test.utils.ErrorReportUtil.generateProblemReport(ErrorReportUtil.java:56) at org.sonatype.nexus.test.utils.ErrorReportUtil.generateProblemReport(ErrorReportUtil.java:47) at org.sonatype.nexus.integrationtests.nexus3082.Nexus3082GenerateProblemReportIT.generateReport(Nexus3082GenerateProblemReportIT.java:28) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)

    Users with the same issue

    rsprangemeijer
    1 times, last one,
    olle.hallin
    4 times, last one,
    Dunmer
    4 times, last one,
    davidvanlaatum
    7 times, last one,
    tfr
    1 times, last one,
    13 more bugmates