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.

  • https://builds.sonatype.org/view/nexus/job/nexus-oss-its/218/jdk=java-6x,label=linux/testReport/junit/org.sonatype.nexus.integrationtests.nexus3615/Nexus3615ArtifactInfoSecurityIT/checkViewAccess/ {noformat} Regression org.sonatype.nexus.integrationtests.nexus3615.Nexus3615ArtifactInfoSecurityIT.checkViewAccess (from Nexus3615ArtifactInfoSecurityIT) Failing for the past 1 build (Since #218 ) Took 0.52 sec. add description Error Message expected:&lt;2&gt; but was:&lt;3&gt; Stacktrace java.lang.AssertionError: expected:<2> but was:<3> at org.sonatype.nexus.integrationtests.nexus3615.Nexus3615ArtifactInfoSecurityIT.checkViewAccess(Nexus3615ArtifactInfoSecurityIT.java:132) 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 31 stack frames {noformat}
    via by Peter Lynch,
    • java.lang.AssertionError: expected:<2> but was:<3> at org.sonatype.nexus.integrationtests.nexus3615.Nexus3615ArtifactInfoSecurityIT.checkViewAccess(Nexus3615ArtifactInfoSecurityIT.java:132) 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)
    No Bugmate found.