java.lang.NullPointerException: null

JFrog JIRA | Leigh Jenkin | 1 year ago
  1. 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
  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
    Elasticsearch 1.x and 2.x nodes are not compatible, make sure your setup contains nodes of the same major version.
    via GitHub by dakrone
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    It is a JDK bug, no workaround currently.
    via GitHub by jroper
  6. 0
    Some of the parametes ar enull

    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.yum.YumAddonImpl.populateRpmMetaDataToModel()
    2. org.artifactory.addon
      YumAddonImpl.getRpmMetadata
      1. org.artifactory.addon.yum.YumAddonImpl.populateRpmMetaDataToModel(YumAddonImpl.java:177)[artifactory-addon-yum-4.1.2.jar:na]
      2. org.artifactory.addon.yum.YumAddonImpl.getRpmMetadata(YumAddonImpl.java:166)[artifactory-addon-yum-4.1.2.jar:na]
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_60]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_60]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_60]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_60]
      4 frames
    4. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
      2 frames
    5. com.sun.proxy
      $Proxy132.getRpmMetadata
      1. com.sun.proxy.$Proxy132.getRpmMetadata(Unknown Source)[na:na]
      1 frame
    6. org.artifactory.ui
      ViewsResource.viewRpm
      1. org.artifactory.ui.rest.service.artifacts.browse.treebrowser.tabs.rpm.RpmViewService.getArtifactRpmMetadata(RpmViewService.java:54)[artifactory-rest-ui-4.1.2.jar:na]
      2. org.artifactory.ui.rest.service.artifacts.browse.treebrowser.tabs.rpm.RpmViewService.execute(RpmViewService.java:34)[artifactory-rest-ui-4.1.2.jar:na]
      3. org.artifactory.ui.rest.service.ServiceExecutor.process(ServiceExecutor.java:21)[artifactory-rest-ui-4.1.2.jar:na]
      4. org.artifactory.ui.rest.resource.BaseResource.runService(BaseResource.java:76)[artifactory-rest-ui-4.1.2.jar:na]
      5. org.artifactory.ui.rest.resource.artifacts.browse.treebrowser.tabs.views.ViewsResource.viewRpm(ViewsResource.java:83)[artifactory-rest-ui-4.1.2.jar:na]
      5 frames
    7. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_60]
      1 frame