java.lang.RuntimeException: Failed to execute JcrCallback.

JFrog JIRA | Thorsten Heit | 10 years ago
  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.
  3. 0

    If you my to hit a feed URL for a workspace that doesn't exist, you get an ugly stack trace. Better would be a simple 500 error with a "Workspace does not exist" or "Workspace not found" error. E.g. for http://localhost:9090/api/registry/My%20Workspace You get: <html><head><title>Error 500</title></head><body bgcolor="#ffffff"><h1>Status Code: 500</h1>Exception: <br>Stacktrace: <pre>java.lang.RuntimeException: java.lang.RuntimeException: org.mule.galaxy.RegistryException at org.apache.abdera.protocol.server.context.AbstractRequestContext.initTarget(AbstractRequestContext.java:74) at org.apache.abdera.protocol.server.servlet.ServletRequestContext.<init>(ServletRequestContext.java:58) at org.apache.abdera.protocol.server.servlet.AbderaServlet.service(AbderaServlet.java:87) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:334) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:374) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:364) at org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:364) at winstone.RequestDispatcher.forward(RequestDispatcher.java:332) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.RuntimeException: org.mule.galaxy.RegistryException at org.mule.galaxy.atom.ArtifactResolver.resolve(ArtifactResolver.java:120) at org.mule.galaxy.atom.ArtifactResolver.resolve(ArtifactResolver.java:20) at org.apache.abdera.protocol.server.impl.AbstractProvider.resolveTarget(AbstractProvider.java:85) at org.apache.abdera.protocol.server.context.AbstractRequestContext.initTarget(AbstractRequestContext.java:71) ... 40 more Caused by: org.mule.galaxy.RegistryException at org.mule.galaxy.impl.jcr.JcrRegistryImpl.getWorkspaceByPath(JcrRegistryImpl.java:159) at org.mule.galaxy.impl.jcr.JcrRegistryImpl$$FastClassByCGLIB$$d926238e.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:694) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:629) at org.mule.galaxy.impl.jcr.JcrRegistryImpl$$EnhancerByCGLIB$$bc28cfab.getWorkspaceByPath(<generated>) at org.mule.galaxy.atom.ArtifactResolver.resolveArtifact(ArtifactResolver.java:137) at org.mule.galaxy.atom.ArtifactResolver.resolve(ArtifactResolver.java:117) ... 43 more Caused by: javax.jcr.RepositoryException: failed to resolve path relative to /workspaces: Empty path element: : Empty path element: at org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:257) at org.apache.jackrabbit.core.NodeImpl.hasNode(NodeImpl.java:2521) at org.mule.galaxy.impl.jcr.JcrRegistryImpl.getWorkspaceByPath(JcrRegistryImpl.java:144) ... 53 more Caused by: org.apache.jackrabbit.name.MalformedPathException: Empty path element: at org.apache.jackrabbit.name.ParsingPathResolver.getElement(ParsingPathResolver.java:54) at org.apache.jackrabbit.name.ParsingPathResolver.getQPath(ParsingPathResolver.java:108) at org.apache.jackrabbit.name.CachingPathResolver.getQPath(CachingPathResolver.java:74) at org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:601) at org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:219) ... 55 more </pre><br><hr size="1" width"90%"><i>Generated by Winstone Servlet Engine v0.9.6 at Mon Mar 31 15:44:05 PDT 2008</i></body></html>

    MuleSoft JIRA | 9 years ago | Todd Wells
    java.lang.RuntimeException: java.lang.RuntimeException: org.mule.galaxy.RegistryException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    If you my to hit a feed URL for a workspace that doesn't exist, you get an ugly stack trace. Better would be a simple 500 error with a "Workspace does not exist" or "Workspace not found" error. E.g. for http://localhost:9090/api/registry/My%20Workspace You get: <html><head><title>Error 500</title></head><body bgcolor="#ffffff"><h1>Status Code: 500</h1>Exception: <br>Stacktrace: <pre>java.lang.RuntimeException: java.lang.RuntimeException: org.mule.galaxy.RegistryException at org.apache.abdera.protocol.server.context.AbstractRequestContext.initTarget(AbstractRequestContext.java:74) at org.apache.abdera.protocol.server.servlet.ServletRequestContext.<init>(ServletRequestContext.java:58) at org.apache.abdera.protocol.server.servlet.AbderaServlet.service(AbderaServlet.java:87) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:334) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:374) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:364) at org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:364) at winstone.RequestDispatcher.forward(RequestDispatcher.java:332) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.RuntimeException: org.mule.galaxy.RegistryException at org.mule.galaxy.atom.ArtifactResolver.resolve(ArtifactResolver.java:120) at org.mule.galaxy.atom.ArtifactResolver.resolve(ArtifactResolver.java:20) at org.apache.abdera.protocol.server.impl.AbstractProvider.resolveTarget(AbstractProvider.java:85) at org.apache.abdera.protocol.server.context.AbstractRequestContext.initTarget(AbstractRequestContext.java:71) ... 40 more Caused by: org.mule.galaxy.RegistryException at org.mule.galaxy.impl.jcr.JcrRegistryImpl.getWorkspaceByPath(JcrRegistryImpl.java:159) at org.mule.galaxy.impl.jcr.JcrRegistryImpl$$FastClassByCGLIB$$d926238e.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:694) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:629) at org.mule.galaxy.impl.jcr.JcrRegistryImpl$$EnhancerByCGLIB$$bc28cfab.getWorkspaceByPath(<generated>) at org.mule.galaxy.atom.ArtifactResolver.resolveArtifact(ArtifactResolver.java:137) at org.mule.galaxy.atom.ArtifactResolver.resolve(ArtifactResolver.java:117) ... 43 more Caused by: javax.jcr.RepositoryException: failed to resolve path relative to /workspaces: Empty path element: : Empty path element: at org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:257) at org.apache.jackrabbit.core.NodeImpl.hasNode(NodeImpl.java:2521) at org.mule.galaxy.impl.jcr.JcrRegistryImpl.getWorkspaceByPath(JcrRegistryImpl.java:144) ... 53 more Caused by: org.apache.jackrabbit.name.MalformedPathException: Empty path element: at org.apache.jackrabbit.name.ParsingPathResolver.getElement(ParsingPathResolver.java:54) at org.apache.jackrabbit.name.ParsingPathResolver.getQPath(ParsingPathResolver.java:108) at org.apache.jackrabbit.name.CachingPathResolver.getQPath(CachingPathResolver.java:74) at org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:601) at org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:219) ... 55 more </pre><br><hr size="1" width"90%"><i>Generated by Winstone Servlet Engine v0.9.6 at Mon Mar 31 15:44:05 PDT 2008</i></body></html>

    MuleSoft JIRA | 9 years ago | Todd Wells
    java.lang.RuntimeException: java.lang.RuntimeException: org.mule.galaxy.RegistryException
  6. 0

    I've done two test installations with artifactory 1.2.2-rc2 and the issue happens in both. Trying to upload an oracle driver jar I found a problem with use of ajax. The drivers name is ojdbc14-10.0.2..... After uploading the resource the deploy page shows this information: groupId: ojdbc14 artifactId: ojdbc14 version: 10.2.0.1.0 classifier: packaging: jar GroupId was not correct, so I tried to write 'com.oracle'. Just after typing 'com.' an ajax request triggered and an internal error page showed. The server trace is: [ maven embedder INFO] Retrieving previous metadata from 3rd-party [ maven embedder WARNING] repository metadata for: 'artifact com.oracle:ojdbc14' could not be retrieved from repository: 3rd-party d ue to an error: jcr: - Could find resource: 'com/oracle/ojdbc14/maven-metadata.xml'. [ maven embedder INFO] Repository '3rd-party' will be blacklisted [ maven embedder INFO] Uploading repository metadata for: 'artifact com.oracle:ojdbc14' [ maven embedder INFO] Retrieving previous metadata from 3rd-party [ maven embedder WARNING] project information for ojdbc14 10.2.0.1.0 could not be retrieved from repository: 3rd-party due to an err or: jcr: - Could find resource: 'com/oracle/ojdbc14/10.2.0.1.0/ojdbc14-10.2.0.1.0.pom'. [ maven embedder INFO] Repository '3rd-party' will be blacklisted [ maven embedder INFO] Uploading project information for ojdbc14 10.2.0.1.0 2007-08-08 07:58:28,234 [ERROR] apache.wicket.RequestCycle - Failed to execute JcrCallback. java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:188) at org.artifactory.jcr.JcrHelper.fileNodeExists(JcrHelper.java:204) at org.artifactory.repo.JcrRepo.fileNodeExists(JcrRepo.java:439) at org.artifactory.repo.JcrRepo.retrieveInfo(JcrRepo.java:160) at org.artifactory.repo.JcrRepo.getInfo(JcrRepo.java:183) at org.artifactory.webapp.wicket.deploy.ArtifactForm.pomExists(ArtifactForm.java:352) at org.artifactory.webapp.wicket.deploy.ArtifactForm.access$600(ArtifactForm.java:64) at org.artifactory.webapp.wicket.deploy.ArtifactForm$ValidateArtifactFormBehavior.onUpdate(ArtifactForm.java:319) at org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehavior.onEvent(AjaxFormComponentUpdatingBehavior.java:127) at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:165) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:214) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:97) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:975) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1048) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1127) at org.apache.wicket.RequestCycle.request(RequestCycle.java:489) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:248) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:87) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:81) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:619) Caused by: javax.jcr.RepositoryException: invalid path:/3rd-party/com//ojdbc14/10.2.0.1.0/ojdbc14-10.2.0.1.0.pom: Empty path element : /3rd-party/com//ojdbc14/10.2.0.1.0/ojdbc14-10.2.0.1.0.pom: Empty path element: /3rd-party/com//ojdbc14/10.2.0.1.0/ojdbc14-10.2.0.1 .0.pom at org.apache.jackrabbit.core.SessionImpl.itemExists(SessionImpl.java:834) at org.artifactory.jcr.JcrSessionWrapper.itemExists(JcrSessionWrapper.java:100) at org.artifactory.jcr.JcrHelper$2.doInJcr(JcrHelper.java:210) at org.artifactory.jcr.JcrHelper$2.doInJcr(JcrHelper.java:205) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:184) ... 40 more Caused by: org.apache.jackrabbit.name.MalformedPathException: Empty path element: /3rd-party/com//ojdbc14/10.2.0.1.0/ojdbc14-10.2.0. 1.0.pom at org.apache.jackrabbit.name.ParsingPathResolver.getElement(ParsingPathResolver.java:54) at org.apache.jackrabbit.name.ParsingPathResolver.getQPath(ParsingPathResolver.java:104) at org.apache.jackrabbit.name.CachingPathResolver.getQPath(CachingPathResolver.java:74) at org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:601) at org.apache.jackrabbit.core.SessionImpl.itemExists(SessionImpl.java:826) ... 44 more

    JFrog JIRA | 9 years ago | Ricardo Tercero Lozano
    java.lang.RuntimeException: Failed to execute JcrCallback.

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