java.lang.RuntimeException: Failed to execute JcrCallback.

JFrog JIRA | Frederic Simon | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    2008-07-01 10:54:45.809::WARN: /artifactory/plugins-releases/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:243) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:105) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) Caused by: javax.jcr.InvalidItemStateException: a6c8912b-9668-4472-8a91-e98d0470af9f/{http://artifactory.jfrog.org/1.0}downloadCount: the item cannot be saved because it has been modified externally. at org.apache.jackrabbit.core.ItemImpl.getTransientStates(ItemImpl.java:333) at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1080) at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:897) at org.artifactory.jcr.JcrSessionWrapper.save(JcrSessionWrapper.java:122) at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:236) ... 18 more

    JFrog JIRA | 9 years ago | Frederic Simon
    java.lang.RuntimeException: Failed to execute JcrCallback.
  2. 0

    2008-07-01 10:54:45.809::WARN: /artifactory/plugins-releases/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:243) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:105) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) Caused by: javax.jcr.InvalidItemStateException: a6c8912b-9668-4472-8a91-e98d0470af9f/{http://artifactory.jfrog.org/1.0}downloadCount: the item cannot be saved because it has been modified externally. at org.apache.jackrabbit.core.ItemImpl.getTransientStates(ItemImpl.java:333) at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1080) at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:897) at org.artifactory.jcr.JcrSessionWrapper.save(JcrSessionWrapper.java:122) at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:236) ... 18 more

    JFrog JIRA | 9 years ago | Frederic Simon
    java.lang.RuntimeException: Failed to execute JcrCallback.
  3. 0

    Get following error in log and the Nexus Index does not appear to be changed from the default empty index) java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:243) at org.artifactory.scheduling.ArtifactoryJob.execute(ArtifactoryJob.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529) Caused by: javax.jcr.InvalidItemStateException: d3b44804-10d6-402d-81c7-84e8dd90804e: the item cannot be saved because it has been deleted externally. at org.apache.jackrabbit.core.ItemImpl.getTransientStates(ItemImpl.java:339) at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1080) at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:897) at org.artifactory.jcr.JcrSessionWrapper.save(JcrSessionWrapper.java:122) at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:236) ... 3 more 2008-06-20 16:04:20,288 [ERROR] (QuartzScheduler.java:2156{10}) - Job (DEFAULT.indexerJobDetail threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.RuntimeException: Failed to execute JcrCallback.] at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529) Caused by: java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:243) at org.artifactory.scheduling.ArtifactoryJob.execute(ArtifactoryJob.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ... 1 more Caused by: javax.jcr.InvalidItemStateException: d3b44804-10d6-402d-81c7-84e8dd90804e: the item cannot be saved because it has been deleted externally. at org.apache.jackrabbit.core.ItemImpl.getTransientStates(ItemImpl.java:339) at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1080) at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:897) at org.artifactory.jcr.JcrSessionWrapper.save(JcrSessionWrapper.java:122) at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:236) ... 3 more

    JFrog JIRA | 9 years ago | Martin Franklin
    java.lang.RuntimeException: Failed to execute JcrCallback.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Get following error in log and the Nexus Index does not appear to be changed from the default empty index) java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:243) at org.artifactory.scheduling.ArtifactoryJob.execute(ArtifactoryJob.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529) Caused by: javax.jcr.InvalidItemStateException: d3b44804-10d6-402d-81c7-84e8dd90804e: the item cannot be saved because it has been deleted externally. at org.apache.jackrabbit.core.ItemImpl.getTransientStates(ItemImpl.java:339) at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1080) at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:897) at org.artifactory.jcr.JcrSessionWrapper.save(JcrSessionWrapper.java:122) at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:236) ... 3 more 2008-06-20 16:04:20,288 [ERROR] (QuartzScheduler.java:2156{10}) - Job (DEFAULT.indexerJobDetail threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.RuntimeException: Failed to execute JcrCallback.] at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529) Caused by: java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:243) at org.artifactory.scheduling.ArtifactoryJob.execute(ArtifactoryJob.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ... 1 more Caused by: javax.jcr.InvalidItemStateException: d3b44804-10d6-402d-81c7-84e8dd90804e: the item cannot be saved because it has been deleted externally. at org.apache.jackrabbit.core.ItemImpl.getTransientStates(ItemImpl.java:339) at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1080) at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:897) at org.artifactory.jcr.JcrSessionWrapper.save(JcrSessionWrapper.java:122) at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:236) ... 3 more

    JFrog JIRA | 9 years ago | Martin Franklin
    java.lang.RuntimeException: Failed to execute JcrCallback.
  6. 0

    Invalid item state while adding nodes on different sessions on multi thread environment

    jackrabbit-users | 7 years ago | Luiz Fernando Teston
    javax.jcr.InvalidItemStateException: Item cannot be saved because it has been modified externally: node /

    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. javax.jcr.InvalidItemStateException

      a6c8912b-9668-4472-8a91-e98d0470af9f/{http://artifactory.jfrog.org/1.0}downloadCount: the item cannot be saved because it has been modified externally.

      at org.apache.jackrabbit.core.ItemImpl.getTransientStates()
    2. Jackrabbit Core
      SessionImpl.save
      1. org.apache.jackrabbit.core.ItemImpl.getTransientStates(ItemImpl.java:333)
      2. org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1080)
      3. org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:897)
      3 frames
    3. org.artifactory.jcr
      JackrabbitJcrWrapper.doInSession
      1. org.artifactory.jcr.JcrSessionWrapper.save(JcrSessionWrapper.java:122)
      2. org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:236)
      2 frames
    4. org.artifactory.webapp
      ArtifactoryFilter.doFilter
      1. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:105)
      1 frame
    5. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      10. org.mortbay.jetty.Server.handle(Server.java:324)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      16 frames
    6. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
      1 frame