Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-6072

Failure during capability load prevents the rest of capabilities to be loaded

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7
    • Component/s: Capabilities
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      Sprint 5

      Description

      An exception thrown during capability.load will result in the rest of them to not be loaded (capabilities not yet loaded).

      jvm 1    | Caused by: java.lang.RuntimeException: Could not load configurations
      jvm 1    | 	at org.sonatype.nexus.plugins.capabilities.internal.CapabilityRegistryBooter.handle(CapabilityRegistryBooter.java:54) ~[na:na]
      jvm 1    | 	... 54 common frames omitted
      jvm 1    | Caused by: java.lang.IllegalStateException: State 'INVALID (Failed to load: java.net.URISyntaxException: Illegal character in path at index 5: dasdf asdfas dfgasfg asfg f)' does not permit 'enable' operation
      jvm 1    | 	at org.sonatype.nexus.plugins.capabilities.internal.DefaultCapabilityReference$State.enable(DefaultCapabilityReference.java:349) ~[na:na]
      jvm 1    | 	at org.sonatype.nexus.plugins.capabilities.internal.DefaultCapabilityReference.enable(DefaultCapabilityReference.java:150) ~[na:na]
      jvm 1    | 	at org.sonatype.nexus.plugins.capabilities.internal.DefaultCapabilityRegistry.load(DefaultCapabilityRegistry.java:368) ~[na:na]
      jvm 1    | 	at org.sonatype.nexus.plugins.capabilities.internal.CapabilityRegistryBooter.handle(CapabilityRegistryBooter.java:51) ~[na:na]
      jvm 1    | 	... 54 common frames omitted
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            alin Alin Dreghiciu
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title