java.lang.RuntimeException: Failed to execute JcrCallback.

JFrog JIRA | Thorsten Heit | 10 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Right-click in the repository browser on a repository, say, repo1-cache, select "Remove" from the context menu. An error dialog appears: RPC Error: XMLHttpTransport Error: 500 Internal Server Error The log file contains: 2007-03-13 13:19:50,609 [ERROR] wicket.RequestCycle - Failed to execute JcrCallback. java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:139) at org.artifactory.repo.LocalCacheRepo.processSubNodes(LocalCacheRepo.java:85) at org.artifactory.repo.LocalCacheRepo.undeploy(LocalCacheRepo.java:53) at org.artifactory.webapp.wicket.browse.BrowseRepoPanel$1.getResponse(BrowseRepoPanel.java:212) at org.artifactory.webapp.wicket.behavior.AbstractStringResponseAjaxBehavior.onRequest(AbstractStringResponseAjaxBehavior.java:29) at wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:97) at wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:89) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:968) at wicket.RequestCycle.step(RequestCycle.java:1041) at wicket.RequestCycle.steps(RequestCycle.java:1115) at wicket.RequestCycle.request(RequestCycle.java:456) at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:254) at wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:124) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:77) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:59) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Unknown Source) Caused by: javax.jcr.RepositoryException: failed to resolve path relative to /repo1-cache: empty path: empty path at org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:257) at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2412) at org.artifactory.repo.LocalCacheRepo$2.doInJcr(LocalCacheRepo.java:89) at org.artifactory.repo.LocalCacheRepo$2.doInJcr(LocalCacheRepo.java:85) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:135) ... 34 more Caused by: org.apache.jackrabbit.name.MalformedPathException: empty path at org.apache.jackrabbit.name.PathFormat.parse(PathFormat.java:97) at org.apache.jackrabbit.name.PathFormat.parse(PathFormat.java:71) at org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:219) ... 38 more When I select "Zap cache" the error message is exactly the same; only line 5 in the stack trace above is different ... at org.artifactory.repo.LocalCacheRepo.expire(LocalCacheRepo.java:75) instead of ... at org.artifactory.repo.LocalCacheRepo.undeploy(LocalCacheRepo.java:53)

    JFrog JIRA | 10 years ago | Thorsten Heit
    java.lang.RuntimeException: Failed to execute JcrCallback.
  2. 0

    Right-click in the repository browser on a repository, say, repo1-cache, select "Remove" from the context menu. An error dialog appears: RPC Error: XMLHttpTransport Error: 500 Internal Server Error The log file contains: 2007-03-13 13:19:50,609 [ERROR] wicket.RequestCycle - Failed to execute JcrCallback. java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:139) at org.artifactory.repo.LocalCacheRepo.processSubNodes(LocalCacheRepo.java:85) at org.artifactory.repo.LocalCacheRepo.undeploy(LocalCacheRepo.java:53) at org.artifactory.webapp.wicket.browse.BrowseRepoPanel$1.getResponse(BrowseRepoPanel.java:212) at org.artifactory.webapp.wicket.behavior.AbstractStringResponseAjaxBehavior.onRequest(AbstractStringResponseAjaxBehavior.java:29) at wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:97) at wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:89) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:968) at wicket.RequestCycle.step(RequestCycle.java:1041) at wicket.RequestCycle.steps(RequestCycle.java:1115) at wicket.RequestCycle.request(RequestCycle.java:456) at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:254) at wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:124) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:77) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:59) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Unknown Source) Caused by: javax.jcr.RepositoryException: failed to resolve path relative to /repo1-cache: empty path: empty path at org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:257) at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2412) at org.artifactory.repo.LocalCacheRepo$2.doInJcr(LocalCacheRepo.java:89) at org.artifactory.repo.LocalCacheRepo$2.doInJcr(LocalCacheRepo.java:85) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:135) ... 34 more Caused by: org.apache.jackrabbit.name.MalformedPathException: empty path at org.apache.jackrabbit.name.PathFormat.parse(PathFormat.java:97) at org.apache.jackrabbit.name.PathFormat.parse(PathFormat.java:71) at org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:219) ... 38 more When I select "Zap cache" the error message is exactly the same; only line 5 in the stack trace above is different ... at org.artifactory.repo.LocalCacheRepo.expire(LocalCacheRepo.java:75) instead of ... at org.artifactory.repo.LocalCacheRepo.undeploy(LocalCacheRepo.java:53)

    JFrog JIRA | 10 years ago | Thorsten Heit
    java.lang.RuntimeException: Failed to execute JcrCallback.

    Root Cause Analysis

    1. org.apache.jackrabbit.name.MalformedPathException

      empty path

      at org.apache.jackrabbit.name.PathFormat.parse()
    2. org.apache.jackrabbit
      PathFormat.parse
      1. org.apache.jackrabbit.name.PathFormat.parse(PathFormat.java:97)
      2. org.apache.jackrabbit.name.PathFormat.parse(PathFormat.java:71)
      2 frames
    3. Jackrabbit Core
      NodeImpl.getNode
      1. org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:219)
      2. org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2412)
      2 frames
    4. org.artifactory.repo
      LocalCacheRepo$2.doInJcr
      1. org.artifactory.repo.LocalCacheRepo$2.doInJcr(LocalCacheRepo.java:89)
      2. org.artifactory.repo.LocalCacheRepo$2.doInJcr(LocalCacheRepo.java:85)
      2 frames
    5. org.artifactory.jcr
      JcrHelper.doInSession
      1. org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:135)
      1 frame
    6. org.artifactory.repo
      LocalCacheRepo.undeploy
      1. org.artifactory.repo.LocalCacheRepo.processSubNodes(LocalCacheRepo.java:85)
      2. org.artifactory.repo.LocalCacheRepo.undeploy(LocalCacheRepo.java:53)
      2 frames
    7. org.artifactory.webapp
      AbstractStringResponseAjaxBehavior.onRequest
      1. org.artifactory.webapp.wicket.browse.BrowseRepoPanel$1.getResponse(BrowseRepoPanel.java:212)
      2. org.artifactory.webapp.wicket.behavior.AbstractStringResponseAjaxBehavior.onRequest(AbstractStringResponseAjaxBehavior.java:29)
      2 frames
    8. wicket.request.target
      BehaviorRequestTarget.processEvents
      1. wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:97)
      1 frame
    9. wicket.request
      AbstractRequestCycleProcessor.processEvents
      1. wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:89)
      1 frame
    10. wicket
      RequestCycle.request
      1. wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:968)
      2. wicket.RequestCycle.step(RequestCycle.java:1041)
      3. wicket.RequestCycle.steps(RequestCycle.java:1115)
      4. wicket.RequestCycle.request(RequestCycle.java:456)
      4 frames
    11. wicket.protocol.http
      WicketFilter.doFilter
      1. wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:254)
      2. wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:124)
      2 frames
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    13. org.artifactory.webapp
      ArtifactoryFilter.doFilter
      1. org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:77)
      2. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:73)
      2 frames
    14. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    15. org.artifactory.webapp
      ArtifactoryFilter.doFilter
      1. org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:59)
      2. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:73)
      2 frames
    16. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      8 frames
    17. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      4 frames
    18. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      1 frame
    19. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame