org.restlet.resource.ResourceException: The request could not be completed due to a conflict with the current state of the resource

JIRA | Hunter Stern | 7 years ago
  1. 0

    1. Login to https://localhost:8443 running the latest codebase of Heritrix. 2. Select a profile 3. Enter the name of a new profile, which is the same as an existing job name, in the text box at the bottom of the page and select the "as profile" checkbox. 4. Click copy The following error page appears: An error occured You may be able to recover and try something else by going back. Cause: org.restlet.resource.ResourceException: The request could not be completed due to a conflict with the current state of the resource org.restlet.resource.ResourceException: The request could not be completed due to a conflict with the current state of the resource at org.archive.crawler.restlet.JobResource.copyJob(JobResource.java:422) at org.archive.crawler.restlet.JobResource.acceptRepresentation(JobResource.java:391) at org.restlet.resource.Resource.post(Resource.java:689) at org.restlet.resource.Resource.handlePost(Resource.java:538) at org.restlet.Finder.handle(Finder.java:357) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) at org.restlet.Application.handle(Application.java:341) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Guard.accept(Guard.java:198) at org.restlet.Guard.doHandle(Guard.java:354) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at org.restlet.Component.handle(Component.java:673) at org.restlet.Server.handle(Server.java:331) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) at com.noelios.restlet.ext.jetty.JettyServerHelper$WrappedServer.handle(JettyServerHelper.java:174) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:636) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451) Caused by: java.io.IOException: destination dir not empty at org.archive.crawler.framework.Engine.copy(Engine.java:170) at org.archive.crawler.framework.Engine.copy(Engine.java:225) at org.archive.crawler.restlet.JobResource.copyJob(JobResource.java:420) ... 48 more

    JIRA | 7 years ago | Hunter Stern
    org.restlet.resource.ResourceException: The request could not be completed due to a conflict with the current state of the resource
  2. 0

    1. Login to https://localhost:8443 running the latest codebase of Heritrix. 2. Select a profile 3. Enter the name of a new profile, which is the same as an existing job name, in the text box at the bottom of the page and select the "as profile" checkbox. 4. Click copy The following error page appears: An error occured You may be able to recover and try something else by going back. Cause: org.restlet.resource.ResourceException: The request could not be completed due to a conflict with the current state of the resource org.restlet.resource.ResourceException: The request could not be completed due to a conflict with the current state of the resource at org.archive.crawler.restlet.JobResource.copyJob(JobResource.java:422) at org.archive.crawler.restlet.JobResource.acceptRepresentation(JobResource.java:391) at org.restlet.resource.Resource.post(Resource.java:689) at org.restlet.resource.Resource.handlePost(Resource.java:538) at org.restlet.Finder.handle(Finder.java:357) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) at org.restlet.Application.handle(Application.java:341) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Guard.accept(Guard.java:198) at org.restlet.Guard.doHandle(Guard.java:354) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at org.restlet.Component.handle(Component.java:673) at org.restlet.Server.handle(Server.java:331) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) at com.noelios.restlet.ext.jetty.JettyServerHelper$WrappedServer.handle(JettyServerHelper.java:174) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:636) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451) Caused by: java.io.IOException: destination dir not empty at org.archive.crawler.framework.Engine.copy(Engine.java:170) at org.archive.crawler.framework.Engine.copy(Engine.java:225) at org.archive.crawler.restlet.JobResource.copyJob(JobResource.java:420) ... 48 more

    JIRA | 7 years ago | Hunter Stern
    org.restlet.resource.ResourceException: The request could not be completed due to a conflict with the current state of the resource
  3. 0

    Steps to install Hadoop 2.x release (Yarn or Next-Gen) on multi-node cluster | Rasesh Mori

    wordpress.com | 4 days ago
    java.io.IOException: Rename cannot overwrite non empty destination directory /home/hduser/hadoop-2.6.0/nm-local-dir/usercache/hduser/appcache/application_1434414924941_0004/filecache/10
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    An exception occured

    fullsync | 1 decade ago | martijn_
    java.io.IOException: Could not set working dir

    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.io.IOException

      destination dir not empty

      at org.archive.crawler.framework.Engine.copy()
    2. org.archive.crawler
      JobResource.acceptRepresentation
      1. org.archive.crawler.framework.Engine.copy(Engine.java:170)
      2. org.archive.crawler.framework.Engine.copy(Engine.java:225)
      3. org.archive.crawler.restlet.JobResource.copyJob(JobResource.java:420)
      4. org.archive.crawler.restlet.JobResource.acceptRepresentation(JobResource.java:391)
      4 frames
    3. org.restlet.resource
      Resource.handlePost
      1. org.restlet.resource.Resource.post(Resource.java:689)
      2. org.restlet.resource.Resource.handlePost(Resource.java:538)
      2 frames
    4. org.restlet
      Filter.doHandle
      1. org.restlet.Finder.handle(Finder.java:357)
      2. org.restlet.Filter.doHandle(Filter.java:150)
      3. org.restlet.Filter.handle(Filter.java:195)
      4. org.restlet.Router.handle(Router.java:504)
      5. org.restlet.Filter.doHandle(Filter.java:150)
      6. org.restlet.Filter.handle(Filter.java:195)
      7. org.restlet.Filter.doHandle(Filter.java:150)
      8. org.restlet.Filter.handle(Filter.java:195)
      9. org.restlet.Filter.doHandle(Filter.java:150)
      9 frames
    5. com.noelios.restlet
      StatusFilter.doHandle
      1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
      1 frame
    6. org.restlet
      Filter.handle
      1. org.restlet.Filter.handle(Filter.java:195)
      2. org.restlet.Filter.doHandle(Filter.java:150)
      3. org.restlet.Filter.handle(Filter.java:195)
      3 frames
    7. com.noelios.restlet
      ApplicationHelper.handle
      1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
      2. com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)
      2 frames
    8. org.restlet
      Filter.doHandle
      1. org.restlet.Application.handle(Application.java:341)
      2. org.restlet.Filter.doHandle(Filter.java:150)
      3. org.restlet.Guard.accept(Guard.java:198)
      4. org.restlet.Guard.doHandle(Guard.java:354)
      5. org.restlet.Filter.handle(Filter.java:195)
      6. org.restlet.Filter.doHandle(Filter.java:150)
      7. org.restlet.Filter.handle(Filter.java:195)
      8. org.restlet.Router.handle(Router.java:504)
      9. org.restlet.Filter.doHandle(Filter.java:150)
      10. org.restlet.Filter.handle(Filter.java:195)
      11. org.restlet.Router.handle(Router.java:504)
      12. org.restlet.Filter.doHandle(Filter.java:150)
      12 frames
    9. com.noelios.restlet
      StatusFilter.doHandle
      1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
      1 frame
    10. org.restlet
      Filter.handle
      1. org.restlet.Filter.handle(Filter.java:195)
      2. org.restlet.Filter.doHandle(Filter.java:150)
      3. org.restlet.Filter.handle(Filter.java:195)
      3 frames
    11. com.noelios.restlet
      ChainHelper.handle
      1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
      1 frame
    12. org.restlet
      Server.handle
      1. org.restlet.Component.handle(Component.java:673)
      2. org.restlet.Server.handle(Server.java:331)
      2 frames
    13. com.noelios.restlet
      JettyServerHelper$WrappedServer.handle
      1. com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)
      2. com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)
      3. com.noelios.restlet.ext.jetty.JettyServerHelper$WrappedServer.handle(JettyServerHelper.java:174)
      3 frames
    14. Jetty Server
      SslSocketConnector$SslConnection.run
      1. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
      2. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
      3. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)
      4. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213)
      5. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
      6. org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
      7. org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:636)
      7 frames
    15. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
      1 frame