javax.ws.rs.WebApplicationException: org.fcrepo.server.errors.GeneralException: XML was not well-formed. Reference is not allowed in prolog.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Stuart Chalk, 7 months ago
org.fcrepo.server.errors.MalformedPidException: PID delimiter (:) is missing.
via Google Groups by Scott Prater, 7 months ago
org.fcrepo.server.errors.GeneralException: Unable to add or modify object (commit canceled)
via Sakai JIRA by Chris Beer, 1 year ago
org.fcrepo.server.errors.HttpServiceNotFoundException The message was "[FileExternalContentManager] returned an error. The underlying error was a java.lang.IllegalArgumentException The message was "URI is not hierarchical" . " .
via Sakai JIRA by Chris Beer, 1 year ago
org.fcrepo.server.errors.HttpServiceNotFoundException The message was "[FileExternalContentManager] returned an error. The underlying error was a java.lang.IllegalArgumentException The message was "URI is not hierarchical" . " .
javax.ws.rs.WebApplicationException: org.fcrepo.server.errors.GeneralException: XML was not well-formed. Reference is not allowed in prolog.
at org.fcrepo.server.rest.BaseRestResource.handleException(BaseRestResource.java:168)
at org.fcrepo.server.rest.DatastreamResource.addOrUpdateDatastream(DatastreamResource.java:583)
at org.fcrepo.server.rest.DatastreamResource.modifyDatastream(DatastreamResource.java:315)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.