org.fcrepo.server.errors.StreamIOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I ingested some objects with the pid namespace "file" with a managed content datastream. As far as I can tell, the ingest was successful (perhaps because of the patch for https://jira.duraspace.org/browse/FCREPO-696), but when I try to access the datastream using either the API-A-LITE or REST API (e.g. http://localhost:8180/fedora/objects/file%3Abarcode111480/datastreams/Exiftool.rdf/content) , I receive an HTTP 500 error and this message: javax.ws.rs.WebApplicationException: org.fcrepo.server.errors.StreamIOException: [DatastreamManagedContent] returned the error: "org.fcrepo.server.errors.HttpServiceNotFoundException". Reason: [DefaultExternalContentManager] returned an error. The underlying error was a 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" . " . [ Full stack trace from fedora.log at bottom ]. If I re-ingest the object in a different namespace, I do not receive the error. ======= ERROR 2011-04-13 13:23:09.047 [MainThread] (DefaultExternalContentManager) URI is not hierarchical java.lang.IllegalArgumentException: URI is not hierarchical at java.io.File.<init>(File.java:363) [na:1.6.0_22] at org.fcrepo.server.storage.DefaultExternalContentManager.getFromFilesystem(DefaultExternalContentManager.java:235) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.DefaultExternalContentManager.getExternalContent(DefaultExternalContentManager.java:146) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:175) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:129) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.access.DefaultAccess.getDatastreamDissemination(DefaultAccess.java:1165) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.rest.DatastreamResource.getDatastream(DatastreamResource.java:232) [fcrepo-server-3.4.2.jar:na] at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_22] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_22] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:175) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:163) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:63) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:689) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:647) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:638) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:309) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:425) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:590) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1098) [jetty-6.1.3.jar:6.1.3] at org.fcrepo.server.security.servletfilters.FilterRestApiFlash.doFilter(FilterRestApiFlash.java:79) [fcrepo-server-3.4.2.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) [jetty-6.1.3.jar:6.1.3] at org.fcrepo.server.security.jaas.AuthFilterJAAS.doFilter(AuthFilterJAAS.java:295) [fcrepo-security-jaas-3.4.2.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.Server.handle(Server.java:285) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226) [jetty-6.1.3.jar:6.1.3] at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) [jetty-util-6.1.3.jar:6.1.3] ERROR 2011-04-13 13:23:09.052 [MainThread] (DatastreamResource) Unexpected error fulfilling REST API request org.fcrepo.server.errors.StreamIOException: [DatastreamManagedContent] returned the error: "org.fcrepo.server.errors.HttpServiceNotFoundException". Reason: [DefaultExternalContentManager] returned an error. The underlying error was a 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" . " . at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:193) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:129) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.access.DefaultAccess.getDatastreamDissemination(DefaultAccess.java:1165) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.rest.DatastreamResource.getDatastream(DatastreamResource.java:232) [fcrepo-server-3.4.2.jar:na] at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_22] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_22] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:175) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:163) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:63) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:689) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:647) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:638) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:309) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:425) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:590) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1098) [jetty-6.1.3.jar:6.1.3] at org.fcrepo.server.security.servletfilters.FilterRestApiFlash.doFilter(FilterRestApiFlash.java:79) [fcrepo-server-3.4.2.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) [jetty-6.1.3.jar:6.1.3] at org.fcrepo.server.security.jaas.AuthFilterJAAS.doFilter(AuthFilterJAAS.java:295) [fcrepo-security-jaas-3.4.2.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.Server.handle(Server.java:285) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226) [jetty-6.1.3.jar:6.1.3] at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) [jetty-util-6.1.3.jar:6.1.3] Caused by: org.fcrepo.server.errors.HttpServiceNotFoundException: [DefaultExternalContentManager] returned an error. The underlying error was a 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" . " . at org.fcrepo.server.storage.DefaultExternalContentManager.getExternalContent(DefaultExternalContentManager.java:155) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:175) [fcrepo-server-3.4.2.jar:na] ... 42 common frames omitted Caused by: org.fcrepo.server.errors.HttpServiceNotFoundException: [FileExternalContentManager] returned an error. The underlying error was a java.lang.IllegalArgumentException The message was "URI is not hierarchical" . at org.fcrepo.server.storage.DefaultExternalContentManager.getFromFilesystem(DefaultExternalContentManager.java:266) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.DefaultExternalContentManager.getExternalContent(DefaultExternalContentManager.java:146) [fcrepo-server-3.4.2.jar:na] ... 43 common frames omitted Caused by: java.lang.IllegalArgumentException: URI is not hierarchical at java.io.File.<init>(File.java:363) [na:1.6.0_22] at org.fcrepo.server.storage.DefaultExternalContentManager.getFromFilesystem(DefaultExternalContentManager.java:235) [fcrepo-server-3.4.2.jar:na] ... 44 common frames omitted ERROR 2011-04-13 13:23:09.056 [MainThread] (WebApplicationImpl) Internal server error javax.ws.rs.WebApplicationException: org.fcrepo.server.errors.StreamIOException: [DatastreamManagedContent] returned the error: "org.fcrepo.server.errors.HttpServiceNotFoundException". Reason: [DefaultExternalContentManager] returned an error. The underlying error was a 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" . " . at org.fcrepo.server.rest.BaseRestResource.handleException(BaseRestResource.java:168) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.rest.DatastreamResource.getDatastream(DatastreamResource.java:250) [fcrepo-server-3.4.2.jar:na] at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_22] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_22] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:175) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:163) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:63) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:689) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:647) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:638) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:309) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:425) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:590) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1098) [jetty-6.1.3.jar:6.1.3] at org.fcrepo.server.security.servletfilters.FilterRestApiFlash.doFilter(FilterRestApiFlash.java:79) [fcrepo-server-3.4.2.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) [jetty-6.1.3.jar:6.1.3] at org.fcrepo.server.security.jaas.AuthFilterJAAS.doFilter(AuthFilterJAAS.java:295) [fcrepo-security-jaas-3.4.2.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.Server.handle(Server.java:285) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226) [jetty-6.1.3.jar:6.1.3] at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) [jetty-util-6.1.3.jar:6.1.3] Caused by: org.fcrepo.server.errors.StreamIOException: [DatastreamManagedContent] returned the error: "org.fcrepo.server.errors.HttpServiceNotFoundException". Reason: [DefaultExternalContentManager] returned an error. The underlying error was a 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" . " . at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:193) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:129) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.access.DefaultAccess.getDatastreamDissemination(DefaultAccess.java:1165) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.rest.DatastreamResource.getDatastream(DatastreamResource.java:232) [fcrepo-server-3.4.2.jar:na] ... 39 common frames omitted Caused by: org.fcrepo.server.errors.HttpServiceNotFoundException: [DefaultExternalContentManager] returned an error. The underlying error was a 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" . " . at org.fcrepo.server.storage.DefaultExternalContentManager.getExternalContent(DefaultExternalContentManager.java:155) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:175) [fcrepo-server-3.4.2.jar:na] ... 42 common frames omitted Caused by: org.fcrepo.server.errors.HttpServiceNotFoundException: [FileExternalContentManager] returned an error. The underlying error was a java.lang.IllegalArgumentException The message was "URI is not hierarchical" . at org.fcrepo.server.storage.DefaultExternalContentManager.getFromFilesystem(DefaultExternalContentManager.java:266) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.DefaultExternalContentManager.getExternalContent(DefaultExternalContentManager.java:146) [fcrepo-server-3.4.2.jar:na] ... 43 common frames omitted Caused by: java.lang.IllegalArgumentException: URI is not hierarchical at java.io.File.<init>(File.java:363) [na:1.6.0_22] at org.fcrepo.server.storage.DefaultExternalContentManager.getFromFilesystem(DefaultExternalContentManager.java:235) [fcrepo-server-3.4.2.jar:na] ... 44 common frames omitted
    via by Chris Beer,
  • I ingested some objects with the pid namespace "file" with a managed content datastream. As far as I can tell, the ingest was successful (perhaps because of the patch for https://jira.duraspace.org/browse/FCREPO-696), but when I try to access the datastream using either the API-A-LITE or REST API (e.g. http://localhost:8180/fedora/objects/file%3Abarcode111480/datastreams/Exiftool.rdf/content) , I receive an HTTP 500 error and this message: javax.ws.rs.WebApplicationException: org.fcrepo.server.errors.StreamIOException: [DatastreamManagedContent] returned the error: "org.fcrepo.server.errors.HttpServiceNotFoundException". Reason: [DefaultExternalContentManager] returned an error. The underlying error was a 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" . " . [ Full stack trace from fedora.log at bottom ]. If I re-ingest the object in a different namespace, I do not receive the error. ======= ERROR 2011-04-13 13:23:09.047 [MainThread] (DefaultExternalContentManager) URI is not hierarchical java.lang.IllegalArgumentException: URI is not hierarchical at java.io.File.<init>(File.java:363) [na:1.6.0_22] at org.fcrepo.server.storage.DefaultExternalContentManager.getFromFilesystem(DefaultExternalContentManager.java:235) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.DefaultExternalContentManager.getExternalContent(DefaultExternalContentManager.java:146) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:175) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:129) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.access.DefaultAccess.getDatastreamDissemination(DefaultAccess.java:1165) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.rest.DatastreamResource.getDatastream(DatastreamResource.java:232) [fcrepo-server-3.4.2.jar:na] at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_22] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_22] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:175) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:163) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:63) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:689) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:647) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:638) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:309) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:425) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:590) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1098) [jetty-6.1.3.jar:6.1.3] at org.fcrepo.server.security.servletfilters.FilterRestApiFlash.doFilter(FilterRestApiFlash.java:79) [fcrepo-server-3.4.2.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) [jetty-6.1.3.jar:6.1.3] at org.fcrepo.server.security.jaas.AuthFilterJAAS.doFilter(AuthFilterJAAS.java:295) [fcrepo-security-jaas-3.4.2.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.Server.handle(Server.java:285) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226) [jetty-6.1.3.jar:6.1.3] at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) [jetty-util-6.1.3.jar:6.1.3] ERROR 2011-04-13 13:23:09.052 [MainThread] (DatastreamResource) Unexpected error fulfilling REST API request org.fcrepo.server.errors.StreamIOException: [DatastreamManagedContent] returned the error: "org.fcrepo.server.errors.HttpServiceNotFoundException". Reason: [DefaultExternalContentManager] returned an error. The underlying error was a 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" . " . at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:193) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:129) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.access.DefaultAccess.getDatastreamDissemination(DefaultAccess.java:1165) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.rest.DatastreamResource.getDatastream(DatastreamResource.java:232) [fcrepo-server-3.4.2.jar:na] at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_22] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_22] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:175) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:163) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:63) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:689) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:647) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:638) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:309) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:425) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:590) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1098) [jetty-6.1.3.jar:6.1.3] at org.fcrepo.server.security.servletfilters.FilterRestApiFlash.doFilter(FilterRestApiFlash.java:79) [fcrepo-server-3.4.2.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) [jetty-6.1.3.jar:6.1.3] at org.fcrepo.server.security.jaas.AuthFilterJAAS.doFilter(AuthFilterJAAS.java:295) [fcrepo-security-jaas-3.4.2.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.Server.handle(Server.java:285) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226) [jetty-6.1.3.jar:6.1.3] at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) [jetty-util-6.1.3.jar:6.1.3] Caused by: org.fcrepo.server.errors.HttpServiceNotFoundException: [DefaultExternalContentManager] returned an error. The underlying error was a 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" . " . at org.fcrepo.server.storage.DefaultExternalContentManager.getExternalContent(DefaultExternalContentManager.java:155) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:175) [fcrepo-server-3.4.2.jar:na] ... 42 common frames omitted Caused by: org.fcrepo.server.errors.HttpServiceNotFoundException: [FileExternalContentManager] returned an error. The underlying error was a java.lang.IllegalArgumentException The message was "URI is not hierarchical" . at org.fcrepo.server.storage.DefaultExternalContentManager.getFromFilesystem(DefaultExternalContentManager.java:266) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.DefaultExternalContentManager.getExternalContent(DefaultExternalContentManager.java:146) [fcrepo-server-3.4.2.jar:na] ... 43 common frames omitted Caused by: java.lang.IllegalArgumentException: URI is not hierarchical at java.io.File.<init>(File.java:363) [na:1.6.0_22] at org.fcrepo.server.storage.DefaultExternalContentManager.getFromFilesystem(DefaultExternalContentManager.java:235) [fcrepo-server-3.4.2.jar:na] ... 44 common frames omitted ERROR 2011-04-13 13:23:09.056 [MainThread] (WebApplicationImpl) Internal server error javax.ws.rs.WebApplicationException: org.fcrepo.server.errors.StreamIOException: [DatastreamManagedContent] returned the error: "org.fcrepo.server.errors.HttpServiceNotFoundException". Reason: [DefaultExternalContentManager] returned an error. The underlying error was a 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" . " . at org.fcrepo.server.rest.BaseRestResource.handleException(BaseRestResource.java:168) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.rest.DatastreamResource.getDatastream(DatastreamResource.java:250) [fcrepo-server-3.4.2.jar:na] at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_22] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_22] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:175) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:163) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:63) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:689) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:647) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:638) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:309) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:425) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:590) [jersey-bundle-1.0.3.1.jar:1.0.3.1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1098) [jetty-6.1.3.jar:6.1.3] at org.fcrepo.server.security.servletfilters.FilterRestApiFlash.doFilter(FilterRestApiFlash.java:79) [fcrepo-server-3.4.2.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) [jetty-6.1.3.jar:6.1.3] at org.fcrepo.server.security.jaas.AuthFilterJAAS.doFilter(AuthFilterJAAS.java:295) [fcrepo-security-jaas-3.4.2.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.Server.handle(Server.java:285) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378) [jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226) [jetty-6.1.3.jar:6.1.3] at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) [jetty-util-6.1.3.jar:6.1.3] Caused by: org.fcrepo.server.errors.StreamIOException: [DatastreamManagedContent] returned the error: "org.fcrepo.server.errors.HttpServiceNotFoundException". Reason: [DefaultExternalContentManager] returned an error. The underlying error was a 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" . " . at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:193) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:129) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.access.DefaultAccess.getDatastreamDissemination(DefaultAccess.java:1165) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.rest.DatastreamResource.getDatastream(DatastreamResource.java:232) [fcrepo-server-3.4.2.jar:na] ... 39 common frames omitted Caused by: org.fcrepo.server.errors.HttpServiceNotFoundException: [DefaultExternalContentManager] returned an error. The underlying error was a 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" . " . at org.fcrepo.server.storage.DefaultExternalContentManager.getExternalContent(DefaultExternalContentManager.java:155) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:175) [fcrepo-server-3.4.2.jar:na] ... 42 common frames omitted Caused by: org.fcrepo.server.errors.HttpServiceNotFoundException: [FileExternalContentManager] returned an error. The underlying error was a java.lang.IllegalArgumentException The message was "URI is not hierarchical" . at org.fcrepo.server.storage.DefaultExternalContentManager.getFromFilesystem(DefaultExternalContentManager.java:266) [fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.DefaultExternalContentManager.getExternalContent(DefaultExternalContentManager.java:146) [fcrepo-server-3.4.2.jar:na] ... 43 common frames omitted Caused by: java.lang.IllegalArgumentException: URI is not hierarchical at java.io.File.<init>(File.java:363) [na:1.6.0_22] at org.fcrepo.server.storage.DefaultExternalContentManager.getFromFilesystem(DefaultExternalContentManager.java:235) [fcrepo-server-3.4.2.jar:na] ... 44 common frames omitted
    via by Chris Beer,
  • Scans 总是抛异常
    via GitHub by zozoh
    ,
    • org.fcrepo.server.errors.StreamIOException: [DatastreamManagedContent] returned the error: "org.fcrepo.server.errors.HttpServiceNotFoundException". Reason: [DefaultExternalContentManager] returned an error. The underlying error was a 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" . " . at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:193)[fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:129)[fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.access.DefaultAccess.getDatastreamDissemination(DefaultAccess.java:1165)[fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.rest.DatastreamResource.getDatastream(DatastreamResource.java:232)[fcrepo-server-3.4.2.jar:na] at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_22] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_22] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:175)[jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67)[jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:163)[jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111)[jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71)[jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111)[jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:63)[jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:689)[jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:647)[jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:638)[jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:309)[jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:425)[jersey-bundle-1.0.3.1.jar:1.0.3.1] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:590)[jersey-bundle-1.0.3.1.jar:1.0.3.1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)[servlet-api-2.5-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)[jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1098)[jetty-6.1.3.jar:6.1.3] at org.fcrepo.server.security.servletfilters.FilterRestApiFlash.doFilter(FilterRestApiFlash.java:79)[fcrepo-server-3.4.2.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)[jetty-6.1.3.jar:6.1.3] at org.fcrepo.server.security.jaas.AuthFilterJAAS.doFilter(AuthFilterJAAS.java:295)[fcrepo-security-jaas-3.4.2.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)[jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)[jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)[jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)[jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)[jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)[jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)[jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)[jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)[jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.Server.handle(Server.java:285)[jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)[jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821)[jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)[jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)[jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)[jetty-6.1.3.jar:6.1.3] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)[jetty-6.1.3.jar:6.1.3] at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)[jetty-util-6.1.3.jar:6.1.3] Caused by: org.fcrepo.server.errors.HttpServiceNotFoundException: [DefaultExternalContentManager] returned an error. The underlying error was a 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" . " . at org.fcrepo.server.storage.DefaultExternalContentManager.getExternalContent(DefaultExternalContentManager.java:155)[fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.types.DatastreamManagedContent.getContentStream(DatastreamManagedContent.java:175)[fcrepo-server-3.4.2.jar:na] ... 42 more Caused by: org.fcrepo.server.errors.HttpServiceNotFoundException: [FileExternalContentManager] returned an error. The underlying error was a java.lang.IllegalArgumentException The message was "URI is not hierarchical" . at org.fcrepo.server.storage.DefaultExternalContentManager.getFromFilesystem(DefaultExternalContentManager.java:266)[fcrepo-server-3.4.2.jar:na] at org.fcrepo.server.storage.DefaultExternalContentManager.getExternalContent(DefaultExternalContentManager.java:146)[fcrepo-server-3.4.2.jar:na] ... 43 more Caused by: java.lang.IllegalArgumentException: URI is not hierarchical at java.io.File.<init>(File.java:363)[na:1.6.0_22] at org.fcrepo.server.storage.DefaultExternalContentManager.getFromFilesystem(DefaultExternalContentManager.java:235)[fcrepo-server-3.4.2.jar:na] ... 44 more

    Users with the same issue

    jstrayerjstrayer
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    17 more bugmates