java.lang.AssertionError: Didn't get a CREATED response! expected:<201> but was:<500>

Sakai JIRA | Scott Prater | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ExtensionLibrariesTest failed to install module

    GitHub | 3 years ago | sammefford
    java.lang.AssertionError: number of modules installed expected:<0> but was:<1>
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    QueryByExampleTest failing on -1 from getTotalSize()

    GitHub | 2 years ago | sammefford
    java.lang.AssertionError: No XML documents should have matched expected:<-1> but was:<0>
  4. 0

    BinaryDocumentTest read wrong number of bytes

    GitHub | 3 years ago | sammefford
    java.lang.AssertionError: Binary range read wrong number of bytes expected:<10> but was:<11>

  1. odd 1 times, last 7 days ago
  2. osvzs 2 times, last 7 days ago
  3. pulse00 1 times, last 1 week ago
  4. bernardpaulus 1 times, last 1 week ago
  5. Victor_IT 2 times, last 1 week ago
18 more registered users
33 unregistered visitors
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

    Didn't get a CREATED response! expected:<201> but was:<500>

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:88)
    2. org.junit.Assert.failNotEquals(Assert.java:743)
    3. org.junit.Assert.assertEquals(Assert.java:118)
    4. org.junit.Assert.assertEquals(Assert.java:555)
    4 frames
  3. org.fcrepo.integration
    BibframeIT.testBibframe
    1. org.fcrepo.integration.rdf.AbstractIntegrationRdfIT.checkResponse(AbstractIntegrationRdfIT.java:156)
    2. org.fcrepo.integration.rdf.AbstractIntegrationRdfIT.createLDPRSAndCheckResponse(AbstractIntegrationRdfIT.java:63)
    3. org.fcrepo.integration.rdf.BibframeIT.testBibframe(BibframeIT.java:69)
    3 frames