Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.12.0
-
Fix Version/s: 3.13.0
-
Component/s: Firewall, IQ Integration, Repository Health Check
-
Labels:
-
Story Points:1
Description
After upgrading from 3.10.0 to 3.12.0 a soft deleted blob prevented viewing of component information in an IQ integrated Nexus Repo instance. The UI shows an NPE:
ERROR: (ID 4ceb7d0e-0bd4-49a1-9d71-1b72515fc38a) java.lang.NullPointerException
The nexus.log shows:
2018-05-24 15:42:56,360-0400 WARN [qtp23186807-52] admin org.sonatype.nexus.blobstore.file.FileBlobStore - Attempt to access soft-deleted blob path$health-check/maven-central/index.html (/srv/nexus/sonatype-work/nexus3/blobs/default/content/directpath/health-check/maven-central/index.html.properties), reason: extracting new repository-health-check bundle at 2018-05-08T13:34:32.154-04:00 2018-05-24 15:42:56,361-0400 WARN [qtp23186807-52] admin org.sonatype.nexus.siesta.internal.UnexpectedExceptionMapper - (ID 85e225a8-636c-4384-9bfd-303787d0cb4d) Unexpected exception: java.lang.NullPointerException java.lang.NullPointerException: null at com.sonatype.nexus.plugins.healthcheck.service.impl.WebServerServiceImpl.getContentItem(WebServerServiceImpl.java:141) at com.sonatype.nexus.plugins.healthcheck.pro.internal.HealthCheckResourceService.getResource(HealthCheckResourceService.java:76) at com.sonatype.nexus.plugins.healthcheck.pro.rest.HealthCheckFileDetailResource.getContent(HealthCheckFileDetailResource.java:163) at com.sonatype.nexus.plugins.healthcheck.pro.rest.HealthCheckFileDetailResource.doGet(HealthCheckFileDetailResource.java:151) at com.sonatype.nexus.plugins.healthcheck.pro.rest.HealthCheckFileDetailResource.getComponentDetails(HealthCheckFileDetailResource.java:132) at org.apache.shiro.guice.aop.AopAllianceMethodInvocationAdapter.proceed(AopAllianceMethodInvocationAdapter.java:49) at org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor.invoke(AuthorizingAnnotationMethodInterceptor.java:68) at org.apache.shiro.guice.aop.AopAllianceMethodInterceptorAdapter.invoke(AopAllianceMethodInterceptorAdapter.java:36) at sun.reflect.GeneratedMethodAccessor447.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498)