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

Deleting repository created with automated script creates IndexerManager error in nexus.log

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.0-beta
    • Fix Version/s: 1.0-beta
    • Component/s: None
    • Labels:
      None

      Description

      Have the below steps in the selenium test script to create a repo, save it, then delete it. There are no errors logged in the Selenium log, however when looking at the nexus.log there is an error logged with the delete process. However, I can clearly see where the repo with the same name as the repo I am attempting to delete is being added. I am attaching the steps from the automated test, as well as a copy of the nexus.log.

      <tr>
      <td>click</td>
      <td>repo-add-btn</td>
      <td></td>
      </tr>
      <tr>
      <td>pause</td>
      <td>500</td>
      <td>500</td>
      </tr>
      <tr>
      <td>click</td>
      <td>link=Hosted</td>
      <td></td>
      </tr>
      <tr>
      <td>pause</td>
      <td>500</td>
      <td>500</td>
      </tr>
      <tr>
      <td>type</td>
      <td>document.forms[0].elements[0]</td>
      <td>aaa-hosted-repo</td>
      </tr>
      <tr>
      <td>type</td>
      <td>document.forms[0].elements[1]</td>
      <td>aaa-hosted-repo</td>
      </tr>
      <tr>
      <td>click</td>
      <td>savebutton</td>
      <td></td>
      </tr>
      <tr>
      <td>pause</td>
      <td>500</td>
      <td>500</td>
      </tr>
      <tr>
      <td>click</td>
      <td>repo-delete-btn</td>
      <td></td>
      </tr>
      <tr>
      <td>pause</td>
      <td>500</td>
      <td>500</td>
      </tr>
      <tr>
      <td>click</td>
      <td>Yes</td>
      <td></td>
      </tr>
      <tr>
      <td>pause</td>
      <td>500</td>
      <td>500</td>
      </tr>

      2008-07-07 21:42:51.296 INFO [btpool0-10 - /nexus/service/local/repositories?undefined:] - org.sonatype.nexus.proxy.registry.RepositoryRegistry:default: Added repository ID=aaa-hosted-repo (contentClass=maven2)
      2008-07-07 21:42:51.296 INFO [btpool0-10 - /nexus/service/local/repositories?undefined:] - org.sonatype.nexus.configuration.NexusConfiguration:default: Applying Nexus Configuration...
      2008-07-07 21:42:56.109 ERROR [btpool0-10 - /nexus/service/local/repositories/aaa-hosted-repo:] - org.sonatype.nexus.index.IndexerManager:default: Could not maintain indexing contexts!
      org.sonatype.nexus.proxy.NoSuchRepositoryException: ResourceStore of type Repository with id='aaa-hosted-repo' not found!
      at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.getRepository(DefaultRepositoryRegistry.java:241)
      at org.sonatype.nexus.index.DefaultIndexerManager.removeRepositoryIndexContext(DefaultIndexerManager.java:247)
      at org.sonatype.nexus.index.DefaultIndexerManager.onProximityEvent(DefaultIndexerManager.java:1071)
      at org.sonatype.nexus.proxy.EventMulticasterComponent.notifyProximityEventListeners(EventMulticasterComponent.java:76)
      at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.removeRepository(DefaultRepositoryRegistry.java:134)
      at org.sonatype.nexus.configuration.DefaultNexusConfiguration.deleteRepository(DefaultNexusConfiguration.java:732)
      at org.sonatype.nexus.DefaultNexus.deleteRepository(DefaultNexus.java:467)
      at org.sonatype.nexus.rest.repositories.RepositoryResourceHandler.delete(RepositoryResourceHandler.java:221)
      at org.restlet.resource.Resource.handleDelete(Resource.java:369)
      at org.sonatype.nexus.rest.AbstractNexusResourceHandler.handleDelete(AbstractNexusResourceHandler.java:372)
      at org.restlet.Finder.handle(Finder.java:301)
      at org.restlet.Filter.doHandle(Filter.java:105)
      at org.restlet.Guard.accept(Guard.java:83)
      at org.restlet.Guard.doHandle(Guard.java:198)
      at org.sonatype.nexus.rest.NexusAuthenticationGuard.doHandle(NexusAuthenticationGuard.java:100)
      at org.restlet.Filter.handle(Filter.java:135)
      at org.restlet.Filter.doHandle(Filter.java:105)
      at org.restlet.Filter.handle(Filter.java:135)
      at org.restlet.Router.handle(Router.java:445)
      at org.restlet.Filter.doHandle(Filter.java:105)
      at org.restlet.Guard.accept(Guard.java:83)
      at org.restlet.Guard.doHandle(Guard.java:198)
      at org.restlet.Filter.handle(Filter.java:135)
      at org.restlet.Filter.doHandle(Filter.java:105)
      at org.restlet.Filter.handle(Filter.java:135)
      at org.restlet.Filter.doHandle(Filter.java:105)
      at org.restlet.Filter.handle(Filter.java:135)
      at org.restlet.Router.handle(Router.java:445)
      at org.restlet.Filter.doHandle(Filter.java:105)
      at org.restlet.Filter.handle(Filter.java:135)
      at org.restlet.Filter.doHandle(Filter.java:105)
      at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89)
      at org.restlet.Filter.handle(Filter.java:135)
      at org.restlet.Filter.doHandle(Filter.java:105)
      at org.restlet.Filter.handle(Filter.java:135)
      at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98)
      at org.restlet.Application.handle(Application.java:294)
      at org.restlet.Filter.doHandle(Filter.java:105)
      at org.restlet.Filter.handle(Filter.java:135)
      at org.restlet.Router.handle(Router.java:445)
      at org.restlet.Filter.doHandle(Filter.java:105)
      at org.restlet.Filter.handle(Filter.java:135)
      at org.restlet.Router.handle(Router.java:445)
      at org.restlet.Filter.doHandle(Filter.java:105)
      at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89)
      at org.restlet.Filter.handle(Filter.java:135)
      at org.restlet.Filter.doHandle(Filter.java:105)
      at org.restlet.Filter.handle(Filter.java:135)
      at com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120)
      at org.restlet.Component.handle(Component.java:231)
      at org.restlet.Server.handle(Server.java:282)
      at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100)
      at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94)
      at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:398)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      at org.mortbay.jetty.Server.handle(Server.java:320)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
      2008-07-07 21:42:56.156 INFO [btpool0-10 - /nexus/service/local/repositories/aaa-hosted-repo:] - org.sonatype.nexus.proxy.registry.RepositoryRegistry:default: Removed repository id=aaa-hosted-repo
      2008-07-07 21:42:56.156 INFO [btpool0-10 - /nexus/service/local/repositories/aaa-hosted-repo:] - org.sonatype.nexus.configuration.NexusConfiguration:default: Applying Nexus Configuration...

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dip Dmitry Platonoff
              Reporter:
              koconnor Kristine O'Connor
              Last Updated By:
              Peter Lynch Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h

                    tigCommentSecurity.panel-title