You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org> on 2007/05/25 01:21:58 UTC

[jira] Work started: (MRM-330) Searching gives an HTTP 500

     [ http://jira.codehaus.org/browse/MRM-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MRM-330 started by Joakim Erdfelt.

> Searching gives an HTTP 500
> ---------------------------
>
>                 Key: MRM-330
>                 URL: http://jira.codehaus.org/browse/MRM-330
>             Project: Archiva
>          Issue Type: Bug
>          Components: browser
>    Affects Versions: 1.0-alpha-1
>            Reporter: Napoleon Esmundo C. Ramirez
>            Assignee: Joakim Erdfelt
>            Priority: Blocker
>             Fix For: 1.0-alpha-1
>
>
> 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)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira