Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
1.0-alpha-1
-
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)