Issue Details (XML | Word | Printable)

Key: GALAXY-380
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Unassigned
Reporter: Todd Wells
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Galaxy

500 when putting a new version of an artifact to repository

Created: 29/Sep/08 05:28 PM   Updated: 07/Nov/08 05:49 PM
Component/s: Atom
Affects Version/s: 1.5-RC
Fix Version/s: 1.5.1

Time Tracking:
Not Specified

Environment: jetty

Labels:
User impact: High
Log Output:
INFO | jvm 1 | 2008/09/29 15:11:49 | java.lang.RuntimeException: org.springmodules.jcr.JcrSystemException: Repository access exception; nested exception is javax.jcr.RepositoryException: failed to resolve path null relative to /types: empty path: empty path
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.impl.jcr.JcrEntry.getType(JcrEntry.java:90)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.impl.jcr.JcrWorkspaceManager.initializeLifecycle(JcrWorkspaceManager.java:436)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.impl.jcr.JcrWorkspaceManager$3.doInJcr(JcrWorkspaceManager.java:410)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:76)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:108)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.impl.jcr.JcrWorkspaceManager.executeAndDewrap(JcrWorkspaceManager.java:1146)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.impl.jcr.JcrWorkspaceManager.newVersion(JcrWorkspaceManager.java:353)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.impl.jcr.JcrWorkspaceManager.newVersion(JcrWorkspaceManager.java:319)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.impl.jcr.JcrArtifact.newVersion(JcrArtifact.java:103)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.atom.SearchableItemCollection.putMedia(SearchableItemCollection.java:306)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.atom.SearchableItemCollection.putMedia(SearchableItemCollection.java:63)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter.putMedia(AbstractEntityCollectionAdapter.java:110)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.apache.abdera.protocol.server.impl.AbstractProvider.process(AbstractProvider.java:171)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.apache.abdera.protocol.server.FilterChain.next(FilterChain.java:44)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.apache.abdera.protocol.server.servlet.AbderaServlet.service(AbderaServlet.java:93)
INFO | jvm 1 | 2008/09/29 15:11:49 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.web.ContextPathSaverFilter.doFilter(ContextPathSaverFilter.java:49)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.Server.handle(Server.java:324)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
INFO | jvm 1 | 2008/09/29 15:11:49 | Caused by: org.springmodules.jcr.JcrSystemException: Repository access exception; nested exception is javax.jcr.RepositoryException: failed to resolve path null relative to /types: empty path: empty path
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.springmodules.jcr.SessionFactoryUtils.translateException(SessionFactoryUtils.java:233)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.springmodules.jcr.JcrAccessor.convertJcrAccessException(JcrAccessor.java:58)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:82)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:108)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.impl.jcr.onm.AbstractDao.get(AbstractDao.java:69)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.impl.jcr.TypeManagerImpl.getType(TypeManagerImpl.java:89)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.impl.jcr.TypeManagerImpl$$FastClassByCGLIB$$9c05ca6b.invoke(<generated>)
INFO | jvm 1 | 2008/09/29 15:11:49 | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.impl.jcr.TypeManagerImpl$$EnhancerByCGLIB$$96676a49.getType(<generated>)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.impl.jcr.JcrEntry.getType(JcrEntry.java:88)
INFO | jvm 1 | 2008/09/29 15:11:49 | ... 63 more
INFO | jvm 1 | 2008/09/29 15:11:49 | Caused by: javax.jcr.RepositoryException: failed to resolve path null relative to /types: empty path: empty path
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:237)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2468)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.impl.jcr.onm.AbstractDao.findNode(AbstractDao.java:341)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.impl.jcr.onm.AbstractDao.doGet(AbstractDao.java:210)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.mule.galaxy.impl.jcr.onm.AbstractDao$1.doInJcr(AbstractDao.java:71)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.springmodules.jcr.JcrTemplate.execute(JcrTemplate.java:76)
INFO | jvm 1 | 2008/09/29 15:11:49 | ... 75 more
INFO | jvm 1 | 2008/09/29 15:11:49 | Caused by: org.apache.jackrabbit.spi.commons.conversion.MalformedPathException: empty path
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:90)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:57)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.apache.jackrabbit.spi.commons.conversion.ParsingPathResolver.getQPath(ParsingPathResolver.java:60)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQPath(CachingPathResolver.java:77)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getQPath(DefaultNamePathResolver.java:69)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:649)
INFO | jvm 1 | 2008/09/29 15:11:49 | at org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:209)
INFO | jvm 1 | 2008/09/29 15:11:49 | ... 80 more
Similar Issues:


 Description  « Hide
Attempting to put a new version of an artifact to the repository is resulting in a HTTP 500 error. This worked in 1.0.1. This is a showstopper for our galaxy usage. Our existing deployment process is completely broken.

Here's the raw HTTP (without the binary part), the octet-stream is a large war file (but the file type doesn't seem relevant – the same happend with a simple spring file).

PUT /api/registry/product/vms/1.0.0-SNAPSHOT/vms.war HTTP/1.1
X-Artifact-Version: 115590
Authorization: Basic YWRtaW46YWRtaW4=
User-Agent: Jakarta Commons-HttpClient/3.1-rc1
Host: galaxy.corp.theplatform.com
Connection: Keep-Alive
Content-Length: 19329907
Content-Type: application/octet-stream

PK



 All   Comments   Work Log   Change History   Transitions   FishEye      Sort Order: Ascending order - Click to sort in descending order
Todd Wells added a comment - 29/Sep/08 06:42 PM
It is probably worth note that this is while trying to add a new version of an artifact that existed before the repository upgrade to version 1.5. It appears that I am able to successfully update artifacts that are newly-added.

Dan Diephouse added a comment - 07/Nov/08 05:49 PM
You were right, this was an issue with upgrading. By upgrading to 1.5.1 this will be fixed.