java.lang.NullPointerException

null

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Frederic Simon,
  • via Unknown by Frederic Simon,
  • Stack trace

    • java.lang.NullPointerException: null at org.artifactory.jcr.fs.JcrFsItem.updateCache(JcrFsItem.java:754)[classes/:na] at org.artifactory.jcr.lock.SessionLockEntry.updateCache(SessionLockEntry.java:118)[classes/:na] at org.artifactory.jcr.lock.InternalLockManager.updateCaches(InternalLockManager.java:118)[classes/:na] at org.artifactory.jcr.lock.SessionLockManager.afterCompletion(SessionLockManager.java:60)[classes/:na] at org.artifactory.tx.SessionResourceManagerImpl.afterCompletion(SessionResourceManagerImpl.java:65)[classes/:na] at org.artifactory.jcr.JcrTransactionManager.afterCompletion(JcrTransactionManager.java:138)[classes/:na] at org.springframework.transaction.support.TransactionSynchronizationUtils.invokeAfterCompletion(TransactionSynchronizationUtils.java:168)[spring-tx-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.invokeAfterCompletion(AbstractPlatformTransactionManager.java:996)[spring-tx-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerAfterCompletion(AbstractPlatformTransactionManager.java:971)[spring-tx-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:799)[spring-tx-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)[spring-tx-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:394)[spring-tx-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:117)[spring-tx-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74)[classes/:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:46)[classes/:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at $Proxy21.reload(Unknown Source)[na:na] at org.artifactory.spring.ArtifactoryApplicationContext.reload(ArtifactoryApplicationContext.java:311)[classes/:na] at org.artifactory.config.CentralConfigServiceImpl.reloadConfiguration(CentralConfigServiceImpl.java:303)[classes/:na] at org.artifactory.config.CentralConfigServiceImpl.saveEditedDescriptorAndReload(CentralConfigServiceImpl.java:229)[classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_17] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_17] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_17] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_17] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at $Proxy11.saveEditedDescriptorAndReload(Unknown Source)[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_17] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_17] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_17] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_17] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416)[wicket-ioc-1.3.7.jar:1.3.7] at org.apache.wicket.proxy.$Proxy124.saveEditedDescriptorAndReload(Unknown Source)[na:1.3.7] at org.artifactory.webapp.wicket.page.config.repos.CachingDescriptorHelper.saveDescriptor(CachingDescriptorHelper.java:94)[classes/:na] at org.artifactory.webapp.wicket.page.config.repos.CachingDescriptorHelper.removeRepositoryAndSave(CachingDescriptorHelper.java:90)[classes/:na] at org.artifactory.webapp.wicket.page.config.repos.RepositoryConfigPage$DeleteRepoLink.deleteRepo(RepositoryConfigPage.java:372)[classes/:na] at org.artifactory.webapp.wicket.page.config.repos.RepositoryConfigPage$DeleteRepoLink.access$500(RepositoryConfigPage.java:347)[classes/:na] at org.artifactory.webapp.wicket.page.config.repos.RepositoryConfigPage$DeleteRepoLink$1.onConfirm(RepositoryConfigPage.java:364)[classes/:na] at org.artifactory.common.wicket.component.confirm.AjaxConfirm$ConfirmAjaxBehavior.onEvent(AjaxConfirm.java:60)[classes/:na] at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:104)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1239)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1316)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.request(RequestCycle.java:532)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:356)[wicket-1.3.7.jar:1.3.7] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:201)[wicket-1.3.7.jar:1.3.7] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)[jetty-6.1.22.jar:6.1.22] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:166)[classes/:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:77)[classes/:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)[jetty-6.1.22.jar:6.1.22] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:199)[classes/:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:113)[classes/:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:94)[classes/:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)[jetty-6.1.22.jar:6.1.22] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:55)[classes/:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)[jetty-6.1.22.jar:6.1.22] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:55)[classes/:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)[jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)[jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)[jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)[jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)[jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)[jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)[jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)[jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)[jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.Server.handle(Server.java:326)[jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)[jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)[jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)[jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)[jetty-6.1.22.jar:6.1.22] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)[jetty-6.1.22.jar:6.1.22] at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)[jetty-6.1.22.jar:6.1.22] at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)[jetty-util-6.1.22.jar:6.1.22]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.