You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Napoleon Esmundo C. Ramirez (JIRA)" <ji...@codehaus.org> on 2007/05/08 14:58:12 UTC

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

Searching gives an HTTP 500
---------------------------

                 Key: MRM-330
                 URL: http://jira.codehaus.org/browse/MRM-330
             Project: Archiva
          Issue Type: Bug
          Components: web application
            Reporter: Napoleon Esmundo C. Ramirez


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

        

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

Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MRM-330 stopped 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

        

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

Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joakim Erdfelt updated MRM-330:
-------------------------------

       Priority: Blocker  (was: Major)
    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)

  was:
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)


> Searching gives an HTTP 500
> ---------------------------
>
>                 Key: MRM-330
>                 URL: http://jira.codehaus.org/browse/MRM-330
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>            Reporter: Napoleon Esmundo C. Ramirez
>            Assignee: Joakim Erdfelt
>            Priority: Blocker
>
> 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

        

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

Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joakim Erdfelt updated MRM-330:
-------------------------------

    Affects Version/s: 1.0-alpha-1
        Fix Version/s: 1.0-alpha-1
          Component/s:     (was: web application)
                       browser

> 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

        

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

Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joakim Erdfelt closed MRM-330.
------------------------------

    Resolution: Fixed

Fixed in archiva trunk.
Functionality is now the same as what is present in archiva 0.9

> 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