Details
Description
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]
Attachments
Issue Links
- is duplicated by
-
RTFACT-8021 Artifactory fails to calculate metadata of specific RPM files
-
- Resolved
-