java.lang.AssertionError

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

Samebug tips1

Check your pattern declaration or check your assert declaration.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3571

  • Stack trace

    • java.lang.AssertionError: Didn't get a CREATED response! expected:<201> but was:<500> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:743) at org.junit.Assert.assertEquals(Assert.java:118) at org.junit.Assert.assertEquals(Assert.java:555) at org.fcrepo.integration.rdf.AbstractIntegrationRdfIT.checkResponse(AbstractIntegrationRdfIT.java:156) at org.fcrepo.integration.rdf.AbstractIntegrationRdfIT.createLDPRSAndCheckResponse(AbstractIntegrationRdfIT.java:63) at org.fcrepo.integration.rdf.BibframeIT.testBibframe(BibframeIT.java:69)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    oddodd
    14 times, last one
    jf-astjf-ast
    Once,
    AxeloAxelo
    5 times, last one
    mauritiusmauritius
    Once,
    musketyrmusketyr
    4 times, last one
    98 more bugmates