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

Sakai JIRA | Scott Prater | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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 8 times, last 3 weeks ago
  2. Axelo 5 times, last 3 weeks ago
  3. jf-ast 1 times, last 4 weeks ago
  4. Casper 3 times, last 4 weeks ago
  5. rsprangemeijer 1 times, last 2 months ago
10 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