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

StackOverflowError when a group repository has itself as a member

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1
    • Component/s: Repository
    • Labels:
    • Story Points:
      1
    • Sprint:
      Sprint 68 - Chinook, Sprint 69

      Description

      1. Start with a stock Nexus 3 setup.
      2. Create a new maven 2 group repository, add the "maven public" group to it, save
      3. Go the the "maven public" group repository configuration, add the new group you just created to it, save
      4. Go to "browse/components/maven public"

      Result is a stack overflow.

      2016-04-06 09:01:02,466-0500 ERROR [qtp340872423-147] admin org.sonatype.nexus.extdirect.internal.ExtDirectServlet - Failed to invoke action method: coreui_Component.read, java-method: org.sonatype.nexus.coreui.ComponentComponent.read
      java.lang.StackOverflowError: null
      	at java.lang.Exception.<init>(Exception.java:102) [na:1.8.0_60]
      	at java.lang.ReflectiveOperationException.<init>(ReflectiveOperationException.java:89) [na:1.8.0_60]
      	at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:72) [na:1.8.0_60]
      	at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:45) [na:na]
      	at org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:270) [na:na]
      	at org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:53) [na:na]
      	at org.sonatype.nexus.repository.group.GroupFacetImpl.members(GroupFacetImpl.java:141) [na:na]
      	at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39) [na:na]
      	at org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:270) [na:na]
      	at org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:53) [na:na]
      	at org.sonatype.nexus.repository.group.GroupFacetImpl.leafMembers(GroupFacetImpl.java:160) [na:na]
      	at org.sonatype.nexus.repository.group.GroupFacetImpl.leafMembers(GroupFacetImpl.java:162) [na:na]
      	at org.sonatype.nexus.repository.group.GroupFacetImpl.leafMembers(GroupFacetImpl.java:162) [na:na]
      	at org.sonatype.nexus.repository.group.GroupFacetImpl.leafMembers(GroupFacetImpl.java:162) [na:na]
      	at org.sonatype.nexus.repository.group.GroupFacetImpl.leafMembers(GroupFacetImpl.java:162) [na:na]
      	at org.sonatype.nexus.repository.group.GroupFacetImpl.leafMembers(GroupFacetImpl.java:162) [na:na]
      	at org.sonatype.nexus.repository.group.GroupFacetImpl.leafMembers(GroupFacetImpl.java:162) [na:na]
      	at org.sonatype.nexus.repository.group.GroupFacetImpl.leafMembers(GroupFacetImpl.java:162) [na:na]
      	at org.sonatype.nexus.repository.group.GroupFacetImpl.leafMembers(GroupFacetImpl.java:162) [na:na]
      	at org.sonatype.nexus.repository.group.GroupFacetImpl.leafMembers(GroupFacetImpl.java:162) [na:na]
      	at org.sonatype.nexus.repository.group.GroupFacetImpl.leafMembers(GroupFacetImpl.java:162) [na:na]
      	at org.sonatype.nexus.repository.group.GroupFacetImpl.leafMembers(GroupFacetImpl.java:162) [na:na]
      

        Attachments

        1. group1.jpg
          group1.jpg
          222 kB
        2. group2.jpg
          group2.jpg
          220 kB
        3. group3.jpg
          group3.jpg
          217 kB

          Issue Links

            Activity

              People

              • Assignee:
                fmilens Frederick Milens
                Reporter:
                rseddon Rich Seddon
                Last Updated By:
                Peter Lynch
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: