java.lang.NullPointerException: null

JFrog JIRA | Yogev Abergel | 1 week ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    for example: - Create a local puppet repo. - Upload some puppet tar.gz. - Add exclude option to the repo, such as: {noformat} **/*.tar.gz {noformat} - Access to the puppet info of your uploaded tar.gz You'll get error regarding the exclude option, and then NPE, and puppet info is empty. {noformat} 2017-02-14 14:08:39,706 [http-nio-8081-exec-7] [ERROR] (o.a.a.p.PuppetServiceImpl:77) - Failed to extract puppet metadata from artifact in path 'puppet-local:yogev-bamba-0.1.0.tar.gz': Unauthorized: The repository 'puppet-local' rejected the artifact 'puppet-local:yogev-bamba-0.1.0.tar.gz' due to its include/exclude pattern settings. 2017-02-14 14:08:39,708 [http-nio-8081-exec-7] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:48) - null java.lang.NullPointerException: null at org.artifactory.addon.puppet.PuppetAddonImpl.populatePuppetInfo(PuppetAddonImpl.java:45) ~[artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at org.artifactory.addon.puppet.PuppetAddonImpl.getPuppetInfo(PuppetAddonImpl.java:35) ~[artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at org.artifactory.ui.rest.service.artifacts.browse.treebrowser.tabs.puppet.PuppetViewService.fetchPuppetMetaData(PuppetViewService.java:51) ~[artifactory-rest-ui-5.x-SNAPSHOT.jar:na] at org.artifactory.ui.rest.service.artifacts.browse.treebrowser.tabs.puppet.PuppetViewService.execute(PuppetViewService.java:35) ~[artifactory-rest-ui-5.x-SNAPSHOT.jar:na] at org.artifactory.rest.common.service.ServiceExecutor.process(ServiceExecutor.java:38) ~[artifactory-rest-common-5.x-SNAPSHOT.jar:na] at org.artifactory.rest.common.resource.BaseResource.runService(BaseResource.java:92) ~[artifactory-rest-common-5.x-SNAPSHOT.jar:na] at org.artifactory.ui.rest.resource.artifacts.browse.treebrowser.tabs.views.ViewsResource.viewPuppet(ViewsResource.java:148) ~[artifactory-rest-ui-5.x-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_73] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_73] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_73] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_73] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) [jersey-server-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) [jersey-servlet-1.19.jar:1.19] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) [catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.39] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:185) [artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:94) [artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.39] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:399) [artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:211) [artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:165) [artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.39] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:67) [artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.39] at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:164) [spring-session-1.2.2.RELEASE.jar:na] at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:80) [spring-session-1.2.2.RELEASE.jar:na] at org.artifactory.webapp.servlet.SessionFilter.doFilter(SessionFilter.java:62) [artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.39] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:116) [artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.39] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) [catalina.jar:8.0.39] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.39] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [catalina.jar:8.0.39] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.39] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.39] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509) [catalina.jar:8.0.39] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104) [tomcat-coyote.jar:8.0.39] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) [tomcat-coyote.jar:8.0.39] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520) [tomcat-coyote.jar:8.0.39] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476) [tomcat-coyote.jar:8.0.39] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_73] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_73] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.39] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_73] {noformat}

    JFrog JIRA | 1 week ago | Yogev Abergel
    java.lang.NullPointerException: null
  2. 0

    with 4.1.0 release rpm metadata seems to be failing with a null pointer exception, resulting in an empty RPM-info tab. This occured when proxying http://pkg.jenkins-ci.org/redhat/ and pulling in http://pkg.jenkins-ci.org/redhat/jenkins-1.630-1.1.noarch.rpm but seems to be happening to all rpms. 2015-09-23 02:16:52,612 [http-nio-8081-exec-1] [ERROR] (o.a.a.y.YumServiceImpl:164) - Error occurred while extracting RPM metadata for jenkins-yum-cache:jenkins-1.630-1.1.noarch.rpm with sha1: 3be59f5dce0d8fefed9d4cb2160dee79c1b04b47: null 2015-09-23 02:16:52,617 [http-nio-8081-exec-1] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:46) - null java.lang.NullPointerException: null at org.artifactory.addon.yum.YumAddonImpl.populateRpmMetaDataToModel(YumAddonImpl.java:177) ~[artifactory-addon-yum-4.1.2.jar:na] at org.artifactory.addon.yum.YumAddonImpl.getRpmMetadata(YumAddonImpl.java:166) ~[artifactory-addon-yum-4.1.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy132.getRpmMetadata(Unknown Source) ~[na:na] at org.artifactory.ui.rest.service.artifacts.browse.treebrowser.tabs.rpm.RpmViewService.getArtifactRpmMetadata(RpmViewService.java:54) ~[artifactory-rest-ui-4.1.2.jar:na] at org.artifactory.ui.rest.service.artifacts.browse.treebrowser.tabs.rpm.RpmViewService.execute(RpmViewService.java:34) ~[artifactory-rest-ui-4.1.2.jar:na] at org.artifactory.ui.rest.service.ServiceExecutor.process(ServiceExecutor.java:21) ~[artifactory-rest-ui-4.1.2.jar:na] at org.artifactory.ui.rest.resource.BaseResource.runService(BaseResource.java:76) ~[artifactory-rest-ui-4.1.2.jar:na] at org.artifactory.ui.rest.resource.artifacts.browse.treebrowser.tabs.views.ViewsResource.viewRpm(ViewsResource.java:83) ~[artifactory-rest-ui-4.1.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]

    JFrog JIRA | 1 year ago | Leigh Jenkin
    java.lang.NullPointerException: null
  3. 0

    with 4.1.0 release rpm metadata seems to be failing with a null pointer exception, resulting in an empty RPM-info tab. This occured when proxying http://pkg.jenkins-ci.org/redhat/ and pulling in http://pkg.jenkins-ci.org/redhat/jenkins-1.630-1.1.noarch.rpm but seems to be happening to all rpms. 2015-09-23 02:16:52,612 [http-nio-8081-exec-1] [ERROR] (o.a.a.y.YumServiceImpl:164) - Error occurred while extracting RPM metadata for jenkins-yum-cache:jenkins-1.630-1.1.noarch.rpm with sha1: 3be59f5dce0d8fefed9d4cb2160dee79c1b04b47: null 2015-09-23 02:16:52,617 [http-nio-8081-exec-1] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:46) - null java.lang.NullPointerException: null at org.artifactory.addon.yum.YumAddonImpl.populateRpmMetaDataToModel(YumAddonImpl.java:177) ~[artifactory-addon-yum-4.1.2.jar:na] at org.artifactory.addon.yum.YumAddonImpl.getRpmMetadata(YumAddonImpl.java:166) ~[artifactory-addon-yum-4.1.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy132.getRpmMetadata(Unknown Source) ~[na:na] at org.artifactory.ui.rest.service.artifacts.browse.treebrowser.tabs.rpm.RpmViewService.getArtifactRpmMetadata(RpmViewService.java:54) ~[artifactory-rest-ui-4.1.2.jar:na] at org.artifactory.ui.rest.service.artifacts.browse.treebrowser.tabs.rpm.RpmViewService.execute(RpmViewService.java:34) ~[artifactory-rest-ui-4.1.2.jar:na] at org.artifactory.ui.rest.service.ServiceExecutor.process(ServiceExecutor.java:21) ~[artifactory-rest-ui-4.1.2.jar:na] at org.artifactory.ui.rest.resource.BaseResource.runService(BaseResource.java:76) ~[artifactory-rest-ui-4.1.2.jar:na] at org.artifactory.ui.rest.resource.artifacts.browse.treebrowser.tabs.views.ViewsResource.viewRpm(ViewsResource.java:83) ~[artifactory-rest-ui-4.1.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]

    JFrog JIRA | 1 year ago | Leigh Jenkin
    java.lang.NullPointerException: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    To reproduce: 1. Deploy via REST an artifact and "forget" to add the /. For example: curl -uadmin:password -T somefile.zip "http://localhost:8081/artifacory/libs-release-local/test" This will create a "dead file" since we did not give a correct path. 2. Delete the dead 'test' file to the trash. 3. Deploy the file correctly, as such: curl -uadmin:password -T somefile.zip "http://localhost:8081/artifacory/libs-release-local/test/somefile.zip" Notice the file was uploaded correctly in the UI. 4. Try to delete the somefile.zip file to the trash. You will get the following exception: 2016-10-13 11:28:48,700 [http-nio-8081-exec-2] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:48) - Could not create file system item Parent libs-release-local/test must be a folder java.lang.IllegalArgumentException: Could not create file system item Parent libs-release-local/test must be a folder at org.artifactory.storage.db.fs.model.DbFsItemProvider.getOrCreateMutableFsItem(DbFsItemProvider.java:160) ~[artifactory-storage-db-4.x-SNAPSHOT.jar:na] at org.artifactory.storage.db.fs.model.DbFileProvider.getOrCreMutableFile(DbFileProvider.java:75) ~[artifactory-storage-db-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.db.DbStoringRepoMixin.createOrGetFile(DbStoringRepoMixin.java:654) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.db.DbLocalRepo.createOrGetFile(DbLocalRepo.java:249) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.getMutableVfsTargetFile(BaseRepoPathMover.java:533) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.copyFile(BaseRepoPathMover.java:391) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.mover.DefaultRepoPathCopier.operationOnFile(DefaultRepoPathCopier.java:62) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.moveFile(BaseRepoPathMover.java:507) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.handleFile(BaseRepoPathMover.java:365) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.moveCopyRecursive(BaseRepoPathMover.java:176) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.mover.BaseRepoPathMover.moveOrCopy(BaseRepoPathMover.java:116) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.mover.CopyRepoPathService.handleMoveOrCopy(CopyRepoPathService.java:46) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.mover.RepoPathMover.moveOrCopy(RepoPathMover.java:97) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.mover.CopyRepoPathService.executeOperation(CopyRepoPathService.java:38) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.mover.CopyRepoPathService$$FastClassBySpringCGLIB$$c096001b.invoke(<generated>) ~[spring-core-4.1.5.RELEASE.jar:na] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:649) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.repo.service.mover.CopyRepoPathService$$EnhancerBySpringCGLIB$$b9964a49.executeOperation(<generated>) ~[spring-core-4.1.5.RELEASE.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.moveOrCopy(RepositoryServiceImpl.java:1257) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.copy(RepositoryServiceImpl.java:1223) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:78) ~[artifactory-storage-common-4.x-SNAPSHOT.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy40.copy(Unknown Source) ~[na:na] at org.artifactory.repo.service.trash.TrashServiceImpl.trashAsSystem(TrashServiceImpl.java:137) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.trash.TrashServiceImpl.copyToTrash(TrashServiceImpl.java:125) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor346.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy108.copyToTrash(Unknown Source) ~[na:na] at org.artifactory.repo.interceptor.TrashInterceptor.beforeDelete(TrashInterceptor.java:53) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.interceptor.storage.StorageInterceptorsImpl.beforeDelete(StorageInterceptorsImpl.java:78) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor345.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy56.beforeDelete(Unknown Source) ~[na:na] at org.artifactory.storage.db.fs.model.DbMutableItem.fireBeforeDeleteEvent(DbMutableItem.java:348) ~[artifactory-storage-db-4.x-SNAPSHOT.jar:na] at org.artifactory.storage.db.fs.model.DbMutableFile.delete(DbMutableFile.java:178) ~[artifactory-storage-db-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.db.DbStoringRepoMixin.undeploy(DbStoringRepoMixin.java:690) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.db.DbLocalRepo.undeploy(DbLocalRepo.java:210) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeployInTx(RepositoryServiceImpl.java:1441) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor351.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76) ~[artifactory-storage-common-4.x-SNAPSHOT.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy40.undeployInTx(Unknown Source) ~[na:na] at org.artifactory.repo.service.RepositoryServiceImpl.deleteSingleLeaf(RepositoryServiceImpl.java:1433) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploySingleItemTransactions(RepositoryServiceImpl.java:1402) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.deleteFoldersLeafsBySingleTrx(RepositoryServiceImpl.java:1420) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploySingleItemTransactions(RepositoryServiceImpl.java:1404) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.deleteFoldersLeafsBySingleTrx(RepositoryServiceImpl.java:1420) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploySingleItemTransactions(RepositoryServiceImpl.java:1404) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeployMultiTransaction(RepositoryServiceImpl.java:1386) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeployMultiTransaction(RepositoryServiceImpl.java:1) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor447.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:67) ~[artifactory-core-4.x-SNAPSHOT.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy40.undeployMultiTransaction(Unknown Source) ~[na:na] at org.artifactory.ui.rest.service.artifacts.browse.treebrowser.actions.DeleteArtifactService.deleteArtifact(DeleteArtifactService.java:79) ~[artifactory-rest-ui-4.x-SNAPSHOT.jar:na] at org.artifactory.ui.rest.service.artifacts.browse.treebrowser.actions.DeleteArtifactService.execute(DeleteArtifactService.java:53) ~[artifactory-rest-ui-4.x-SNAPSHOT.jar:na] at org.artifactory.rest.common.service.ServiceExecutor.process(ServiceExecutor.java:38) ~[artifactory-rest-common-4.x-SNAPSHOT.jar:na] at org.artifactory.rest.common.resource.BaseResource.runService(BaseResource.java:92) ~[artifactory-rest-common-4.x-SNAPSHOT.jar:na] at org.artifactory.ui.rest.resource.artifacts.browse.treebrowser.actions.ArtifactActionsResource.deleteArtifact(ArtifactActionsResource.java:127) ~[artifactory-rest-ui-4.x-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) [jersey-server-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) [jersey-servlet-1.19.jar:1.19] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:200) [artifactory-web-application-4.x-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:91) [artifactory-web-application-4.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:391) [artifactory-web-application-4.x-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:206) [artifactory-web-application-4.x-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:160) [artifactory-web-application-4.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:61) [artifactory-web-application-4.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:111) [artifactory-web-application-4.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [catalina.jar:8.0.32] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.32] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522) [catalina.jar:8.0.32] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095) [tomcat-coyote.jar:8.0.32] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) [tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-coyote.jar:8.0.32] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_60] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_60] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.32] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60] Caused by: org.artifactory.api.repo.exception.RepoRejectException: Parent libs-release-local/test must be a folder at org.artifactory.storage.db.fs.model.DbFsItemProvider.createAncestors(DbFsItemProvider.java:173) ~[artifactory-storage-db-4.x-SNAPSHOT.jar:na] at org.artifactory.storage.db.fs.model.DbFsItemProvider.getOrCreateMutableFsItem(DbFsItemProvider.java:138) ~[artifactory-storage-db-4.x-SNAPSHOT.jar:na] ... 137 common frames omitted

    JFrog JIRA | 4 months ago | Mor Iluz
    java.lang.IllegalArgumentException: Could not create file system item Parent libs-release-local/test must be a folder
  6. 0

    {noformat} 2017-02-13 11:13:28,476 [art-exec-2488] [INFO ] (o.j.r.p.PuppetPackageMetadataIndexer:126) - Finished writing puppet releases index for repo 'puppet-local' on module 'yogev-bamba' 2017-02-13 11:13:29,564 [http-nio-8081-exec-3] [WARN ] (o.a.a.p.PuppetServiceImpl:172) - Remote repo another-puppet did not return results for request: GET http://localhost:8081/artifactory/puppet-local/v3/modules?query=yogev-bamba&limit=100 2017-02-13 11:13:29,566 [http-nio-8081-exec-3] [ERROR] (o.a.a.p.r.PuppetRemoteRepoHandler:73) - An error occurred when trying to fetch puppet modules from http://localhost:8081/artifactory/puppet-local java.lang.NullPointerException: null at org.artifactory.addon.puppet.repo.PuppetRemoteRepoHandler.getModules(PuppetRemoteRepoHandler.java:69) ~[artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at org.artifactory.addon.puppet.repo.merge.PuppetModulesMerger.getEntries(PuppetModulesMerger.java:31) [artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at org.artifactory.addon.puppet.repo.merge.AbstractPuppetMerger.getAllEntries(AbstractPuppetMerger.java:131) [artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at org.artifactory.addon.puppet.repo.merge.AbstractPuppetMerger.merge(AbstractPuppetMerger.java:101) [artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at org.artifactory.addon.puppet.repo.merge.AbstractPuppetMerger.merge(AbstractPuppetMerger.java:78) [artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at org.artifactory.addon.puppet.repo.merge.AbstractPuppetMerger.getMergedResult(AbstractPuppetMerger.java:64) [artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at org.artifactory.addon.puppet.repo.merge.PuppetModulesMerger.getMergedResult(PuppetModulesMerger.java:1) [artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at org.artifactory.addon.puppet.repo.PuppetVirtualRepoHandler.getModules(PuppetVirtualRepoHandler.java:80) [artifactory-addon-puppet-5.x-SNAPSHOT.jar:na] at org.jfrog.repomd.puppet.rest.PuppetSubResource.getModulesInfo(PuppetSubResource.java:37) [puppet-4.x-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_73] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_73] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_73] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_73] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) [jersey-server-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) [jersey-servlet-1.19.jar:1.19] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) [catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.39] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:185) [artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:94) [artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.39] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:399) [artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.AccessFilter.useAnonymousIfPossible(AccessFilter.java:358) [artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:207) [artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:165) [artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.39] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:67) [artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.39] at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:164) [spring-session-1.2.2.RELEASE.jar:na] at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:80) [spring-session-1.2.2.RELEASE.jar:na] at org.artifactory.webapp.servlet.SessionFilter.doFilter(SessionFilter.java:62) [artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.39] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:116) [artifactory-web-application-5.x-SNAPSHOT.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.39] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) [catalina.jar:8.0.39] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.39] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [catalina.jar:8.0.39] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.39] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.39] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509) [catalina.jar:8.0.39] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104) [tomcat-coyote.jar:8.0.39] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) [tomcat-coyote.jar:8.0.39] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520) [tomcat-coyote.jar:8.0.39] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476) [tomcat-coyote.jar:8.0.39] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_73] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_73] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.39] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_73] {noformat}

    JFrog JIRA | 1 week ago | Yogev Abergel
    java.lang.NullPointerException: null

    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. java.lang.NullPointerException

      null

      at org.artifactory.addon.puppet.PuppetAddonImpl.populatePuppetInfo()
    2. org.artifactory.addon
      PuppetAddonImpl.getPuppetInfo
      1. org.artifactory.addon.puppet.PuppetAddonImpl.populatePuppetInfo(PuppetAddonImpl.java:45)[artifactory-addon-puppet-5.x-SNAPSHOT.jar:na]
      2. org.artifactory.addon.puppet.PuppetAddonImpl.getPuppetInfo(PuppetAddonImpl.java:35)[artifactory-addon-puppet-5.x-SNAPSHOT.jar:na]
      2 frames
    3. org.artifactory.ui
      PuppetViewService.execute
      1. org.artifactory.ui.rest.service.artifacts.browse.treebrowser.tabs.puppet.PuppetViewService.fetchPuppetMetaData(PuppetViewService.java:51)[artifactory-rest-ui-5.x-SNAPSHOT.jar:na]
      2. org.artifactory.ui.rest.service.artifacts.browse.treebrowser.tabs.puppet.PuppetViewService.execute(PuppetViewService.java:35)[artifactory-rest-ui-5.x-SNAPSHOT.jar:na]
      2 frames
    4. org.artifactory.rest
      BaseResource.runService
      1. org.artifactory.rest.common.service.ServiceExecutor.process(ServiceExecutor.java:38)[artifactory-rest-common-5.x-SNAPSHOT.jar:na]
      2. org.artifactory.rest.common.resource.BaseResource.runService(BaseResource.java:92)[artifactory-rest-common-5.x-SNAPSHOT.jar:na]
      2 frames
    5. org.artifactory.ui
      ViewsResource.viewPuppet
      1. org.artifactory.ui.rest.resource.artifacts.browse.treebrowser.tabs.views.ViewsResource.viewPuppet(ViewsResource.java:148)[artifactory-rest-ui-5.x-SNAPSHOT.jar:na]
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_73]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_73]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_73]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_73]
      4 frames
    7. Jersey
      WebApplicationImpl.handleRequest
      1. com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[jersey-server-1.19.jar:1.19]
      2. com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)[jersey-server-1.19.jar:1.19]
      3. com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[jersey-server-1.19.jar:1.19]
      4. com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)[jersey-server-1.19.jar:1.19]
      5. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[jersey-server-1.19.jar:1.19]
      6. com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[jersey-server-1.19.jar:1.19]
      7. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[jersey-server-1.19.jar:1.19]
      8. com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[jersey-server-1.19.jar:1.19]
      9. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)[jersey-server-1.19.jar:1.19]
      10. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)[jersey-server-1.19.jar:1.19]
      11. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)[jersey-server-1.19.jar:1.19]
      12. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)[jersey-server-1.19.jar:1.19]
      12 frames
    8. Jersey
      ServletContainer.service
      1. com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)[jersey-servlet-1.19.jar:1.19]
      2. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)[jersey-servlet-1.19.jar:1.19]
      3. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)[jersey-servlet-1.19.jar:1.19]
      3 frames
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)[servlet-api.jar:na]
      1 frame
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)[catalina.jar:8.0.39]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.39]
      2 frames
    11. org.artifactory.webapp
      RepoFilter.doFilter
      1. org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:185)[artifactory-web-application-5.x-SNAPSHOT.jar:na]
      2. org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:94)[artifactory-web-application-5.x-SNAPSHOT.jar:na]
      2 frames
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.39]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.39]
      2 frames
    13. org.artifactory.webapp
      AccessFilter.doFilter
      1. org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:399)[artifactory-web-application-5.x-SNAPSHOT.jar:na]
      2. org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:211)[artifactory-web-application-5.x-SNAPSHOT.jar:na]
      3. org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:165)[artifactory-web-application-5.x-SNAPSHOT.jar:na]
      3 frames
    14. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.39]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.39]
      2 frames
    15. org.artifactory.webapp
      RequestFilter.doFilter
      1. org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:67)[artifactory-web-application-5.x-SNAPSHOT.jar:na]
      1 frame
    16. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.39]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.39]
      2 frames
    17. org.springframework.session
      OncePerRequestFilter.doFilter
      1. org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:164)[spring-session-1.2.2.RELEASE.jar:na]
      2. org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:80)[spring-session-1.2.2.RELEASE.jar:na]
      2 frames
    18. org.artifactory.webapp
      SessionFilter.doFilter
      1. org.artifactory.webapp.servlet.SessionFilter.doFilter(SessionFilter.java:62)[artifactory-web-application-5.x-SNAPSHOT.jar:na]
      1 frame
    19. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.39]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.39]
      2 frames
    20. org.artifactory.webapp
      ArtifactoryFilter.doFilter
      1. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:116)[artifactory-web-application-5.x-SNAPSHOT.jar:na]
      1 frame
    21. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.39]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.39]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)[catalina.jar:8.0.39]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[catalina.jar:8.0.39]
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)[catalina.jar:8.0.39]
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[catalina.jar:8.0.39]
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[catalina.jar:8.0.39]
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)[catalina.jar:8.0.39]
      8 frames
    22. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)[tomcat-coyote.jar:8.0.39]
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)[tomcat-coyote.jar:8.0.39]
      3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)[tomcat-coyote.jar:8.0.39]
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)[tomcat-coyote.jar:8.0.39]
      4 frames
    23. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_73]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_73]
      2 frames
    24. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util.jar:8.0.39]
      1 frame
    25. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_73]
      1 frame