java.lang.NullPointerException

null

Solutions on the web20385

  • via Coderanch by Julien Martin, 6 months ago
    null
  • via Coderanch by bablu singh, 1 month ago
    null
  • via Eclipse Bugzilla by dwain.bethel, 1 year ago
    null
  • Stack trace

    • java.lang.NullPointerException: null at org.artifactory.search.metadata.pom.XmlFileSearcher.doQuery(XmlFileSearcher.java:142)[artifactory-core-2.1.2.jar:na] at org.artifactory.search.metadata.pom.XmlFileSearcher.searchForDeployableUnits(XmlFileSearcher.java:96)[artifactory-core-2.1.2.jar:na] at org.artifactory.search.SearchServiceImpl.searchPomInPath(SearchServiceImpl.java:215)[artifactory-core-2.1.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_14] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_14] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_14] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_14] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)[spring-aop-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74)[artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)[artifactory-core-2.1.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-2.5.6.jar:2.5.6] at $Proxy31.searchPomInPath(Unknown Source)[na:na] at org.artifactory.jcr.JcrServiceImpl.getDeployableUnitsUnder(JcrServiceImpl.java:788)[artifactory-core-2.1.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_14] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_14] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_14] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_14] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)[spring-tx-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72)[artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)[artifactory-core-2.1.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-2.5.6.jar:2.5.6] at $Proxy18.getDeployableUnitsUnder(Unknown Source)[na:na] at org.artifactory.repo.service.RepositoryServiceImpl.getDeployableUnitsUnder(RepositoryServiceImpl.java:1380)[artifactory-core-2.1.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_14] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_14] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_14] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_14] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)[spring-aop-2.5.6.jar:2.5.6] at $Proxy26.getDeployableUnitsUnder(Unknown Source)[na:na] at org.artifactory.webapp.actionable.action.DeleteVersionsAction.onAction(DeleteVersionsAction.java:50)[artifactory-web-application-2.1.2.jar:na] at org.artifactory.webapp.actionable.action.RepoAwareItemAction.onAction(RepoAwareItemAction.java:36)[artifactory-web-application-2.1.2.jar:na] at org.artifactory.webapp.actionable.action.ItemAction.actionPerformed(ItemAction.java:78)[artifactory-web-application-2.1.2.jar:na] at org.artifactory.webapp.wicket.actionable.link.ActionLink.onClick(ActionLink.java:66)[artifactory-web-application-2.1.2.jar:na] at org.artifactory.common.wicket.component.links.TitledAjaxLink$1.onEvent(TitledAjaxLink.java:52)[artifactory-web-common-2.1.2.jar: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.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:na] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:165)[artifactory-web-application-2.1.2.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:76)[artifactory-web-application-2.1.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:na] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:191)[artifactory-web-application-2.1.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:110)[artifactory-web-application-2.1.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:91)[artifactory-web-application-2.1.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:na] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54)[artifactory-web-application-2.1.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:na] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:54)[artifactory-web-application-2.1.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:na] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)[catalina.jar:na] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)[catalina.jar:na] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)[catalina.jar:na] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)[catalina.jar:na] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[catalina.jar:na] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)[catalina.jar:na] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)[tomcat-coyote.jar:na] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)[tomcat-coyote.jar:na] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)[tomcat-coyote.jar:na] at java.lang.Thread.run(Thread.java:619)[na:1.6.0_14]

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.