java.lang.IllegalArgumentException

URI is not hierarchical

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web415

  • via Unknown by Chris Beer,
  • via Unknown by Chris Beer,
  • Stack trace

    • 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]

    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

    jstrayerjstrayer
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    17 more bugmates