Details
-
Type:
Bug
-
Status: New
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 3.34.0
-
Fix Version/s: None
-
Component/s: Support Tools, UI
-
Labels:
-
Notability:n/a
Description
Create a support zip with only the Native replication logs (rsync or awscli) option selected ONLY. Support zip creation fails with "An error occurred loading data. Request failed with status code 500" in the UI.
2021-09-03 19:14:56,760-0300 WARN [qtp2048151049-664] admin org.sonatype.nexus.siesta.internal.UnexpectedExceptionMapper - (ID 6c9cd58a-7987-4b17-bc81-e467b28ad90e) Unexpected exception: java.lang.IllegalStateException: At least one content source must be configured java.lang.IllegalStateException: At least one content source must be configured at com.google.common.base.Preconditions.checkState(Preconditions.java:510) at com.google.common.base.Preconditions$checkState$1.callStatic(Unknown Source) at org.sonatype.nexus.internal.atlas.SupportZipGeneratorImpl.generate(SupportZipGeneratorImpl.groovy:186) at org.sonatype.nexus.supportzip.SupportZipGenerator$generate$1.callCurrent(Unknown Source) at org.sonatype.nexus.internal.atlas.SupportZipGeneratorImpl.generate(SupportZipGeneratorImpl.groovy:157) at org.sonatype.nexus.supportzip.SupportZipGenerator$generate$0.callCurrent(Unknown Source) at org.sonatype.nexus.internal.atlas.SupportZipGeneratorImpl.generate(SupportZipGeneratorImpl.groovy:142) at org.sonatype.nexus.supportzip.SupportZipGenerator$generate.call(Unknown Source) at org.sonatype.nexus.internal.support.SupportResource.supportzippath(SupportResource.groovy:79) 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 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.NativeMethodAccessorImpl.invoke0(Native Method)
Expected
Letting the user know that the support zip generated would have been empty with the options selected is preferred. The log message is not accurate, the user did select content options. Improve UI message in this case.
Attachments
Issue Links
- is related to
-
NEXUS-28863 creating a support zip with Task logs only when there are no task logs yet has unhelpful message
-
- New
-