Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-330

Searching gives an HTTP 500

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.0-alpha-1
    • 1.0-alpha-1
    • browser
    • None

    Description

      To replicate:
      1. Click the Search link in the left navigation menu
      2. Enter any input valid or invalid
      3. Click the Submit button
      Result (snipped):
      HTTP ERROR: 500
      RequestURI=/quickSearch.action
      java.lang.IllegalArgumentException: Only supports managed repositories.
      at org.apache.maven.archiva.indexer.lucene.LuceneRepositoryContentIndexFactory.toIndexDir(LuceneRepositoryContentIndexFactory.java:77)
      at org.apache.maven.archiva.indexer.lucene.LuceneRepositoryContentIndexFactory.createBytecodeIndex(LuceneRepositoryContentIndexFactory.java:50)
      at org.apache.maven.archiva.indexer.search.DefaultCrossRepositorySearch.getBytecodeIndexes(DefaultCrossRepositorySearch.java:173)
      at org.apache.maven.archiva.indexer.search.DefaultCrossRepositorySearch.searchForTerm(DefaultCrossRepositorySearch.java:91)
      at org.apache.maven.archiva.web.action.SearchAction.quickSearch(SearchAction.java:74)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)

      Attachments

        Activity

          People

            joakime Joakim Erdfelt
            nramirez Nap Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: