java.lang.AssertionError: Status: Forbidden (403) - Forbidden null expected:<401> but was:<403>

Sonatype JIRA | Peter Lynch | 5 years ago
  1. 0

    WebSecurityJBossSimpleRoleMappingTestCase fails intermittently due to FailedLoginException when AS Testsuite is run

    https://bugzilla.redhat.com/bugzilla/ | 5 years ago | Madhumita Sadhukhan
    java.lang.AssertionError: expected:<403> but was:<200>
  2. 0

    WebSecurityJBossSimpleRoleMappingTestCase fails intermittently due to FailedLoginException when AS Testsuite is run

    https://bugzilla.redhat.com/bugzilla/ | 5 years ago | Madhumita Sadhukhan
    java.lang.AssertionError: expected:<200> but was:<403>
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Spring Test returning 401 for unsecured URLs

    Stack Overflow | 3 months ago | Marco Prado
    java.lang.AssertionError: Status expected:<200> but was:<401>
  5. 0

    Lucene - Java Developer - [JENKINS] Lucene-Solr-Tests-5.3-Java7 - Build # 22 - Failure

    nabble.com | 1 year ago
    java.lang.AssertionError: expected:<200> but was:<403> at __randomizedtesting.SeedInfo.seed([879F03022915695A:BA47AD2E11FB372A]:0)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      Status: Forbidden (403) - Forbidden null expected:<401> but was:<403>

      at org.sonatype.nexus.integrationtests.nexus393.Nexus393ResetPasswordPermissionIT.resetWithoutPermission()
    2. org.sonatype.nexus
      Nexus393ResetPasswordPermissionIT.resetWithoutPermission
      1. org.sonatype.nexus.integrationtests.nexus393.Nexus393ResetPasswordPermissionIT.resetWithoutPermission(Nexus393ResetPasswordPermissionIT.java:76)
      1 frame
    3. org.apache.maven
      TestNGProvider.invoke
      1. org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)
      2. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:157)
      3. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:97)
      4. org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
      4 frames
    4. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
      2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
      3. org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)
      4. org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104)
      5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
      5 frames