You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2009/04/02 05:45:12 UTC

[jira] Created: (MRM-1166) Search using a some character keyword (asterisk, comma, double quote, colon) results to HTTP Error: 500

Search using a some character keyword (asterisk, comma, double quote, colon) results to HTTP Error: 500
-------------------------------------------------------------------------------------------------------

                 Key: MRM-1166
                 URL: http://jira.codehaus.org/browse/MRM-1166
             Project: Archiva
          Issue Type: Bug
            Reporter: Maria Odea Ching


When searching for '*', the resulting error message is:

HTTP ERROR: 500

maxClauseCount is set to 1024

RequestURI=/archiva/quickSearch.action
Caused by:

org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024
	at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:163)
	at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:154)
	at org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:63)
	at org.apache.lucene.search.WildcardQuery.rewrite(WildcardQuery.java:54)
	at org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:383)
	at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:162)
	at org.apache.lucene.search.Query.weight(Query.java:94)
	at org.apache.lucene.search.Hits.(Hits.java:85)
	at org.apache.lucene.search.Searcher.search(Searcher.java:61)



While searching for the other characters results to the following error:
HTTP ERROR: 500

Index: 0, Size: 0

RequestURI=/archiva/quickSearch.action
Caused by:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.RangeCheck(ArrayList.java:546)
	at java.util.ArrayList.get(ArrayList.java:321)
	at org.sonatype.nexus.index.DefaultQueryCreator.constructQuery(DefaultQueryCreator.java:207)
	at org.sonatype.nexus.index.DefaultNexusIndexer.constructQuery(DefaultNexusIndexer.java:468)
	at org.apache.archiva.indexer.search.NexusRepositorySearch.constructQuery(NexusRepositorySearch.java:188)
	at org.apache.archiva.indexer.search.NexusRepositorySearch.search(NexusRepositorySearch.java:74)
	at org.apache.maven.archiva.web.action.SearchAction.quickSearch(SearchAction.java:288)

-- 
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-1166) Search using a some character keyword (asterisk, comma, double quote, colon) results to HTTP Error: 500

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

Maria Odea Ching updated MRM-1166:
----------------------------------

          Description: 
When searching for '*', the resulting error message is:

HTTP ERROR: 500

maxClauseCount is set to 1024

RequestURI=/archiva/quickSearch.action
Caused by:

org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024
	at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:163)
	at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:154)
	at org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:63)
	at org.apache.lucene.search.WildcardQuery.rewrite(WildcardQuery.java:54)
	at org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:383)
	at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:162)
	at org.apache.lucene.search.Query.weight(Query.java:94)
	at org.apache.lucene.search.Hits.(Hits.java:85)
	at org.apache.lucene.search.Searcher.search(Searcher.java:61)


-----------
While searching for the other characters results to the following error:
HTTP ERROR: 500

Index: 0, Size: 0

RequestURI=/archiva/quickSearch.action
Caused by:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.RangeCheck(ArrayList.java:546)
	at java.util.ArrayList.get(ArrayList.java:321)
	at org.sonatype.nexus.index.DefaultQueryCreator.constructQuery(DefaultQueryCreator.java:207)
	at org.sonatype.nexus.index.DefaultNexusIndexer.constructQuery(DefaultNexusIndexer.java:468)
	at org.apache.archiva.indexer.search.NexusRepositorySearch.constructQuery(NexusRepositorySearch.java:188)
	at org.apache.archiva.indexer.search.NexusRepositorySearch.search(NexusRepositorySearch.java:74)
	at org.apache.maven.archiva.web.action.SearchAction.quickSearch(SearchAction.java:288)

  was:
When searching for '*', the resulting error message is:

HTTP ERROR: 500

maxClauseCount is set to 1024

RequestURI=/archiva/quickSearch.action
Caused by:

org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024
	at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:163)
	at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:154)
	at org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:63)
	at org.apache.lucene.search.WildcardQuery.rewrite(WildcardQuery.java:54)
	at org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:383)
	at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:162)
	at org.apache.lucene.search.Query.weight(Query.java:94)
	at org.apache.lucene.search.Hits.(Hits.java:85)
	at org.apache.lucene.search.Searcher.search(Searcher.java:61)



While searching for the other characters results to the following error:
HTTP ERROR: 500

Index: 0, Size: 0

RequestURI=/archiva/quickSearch.action
Caused by:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.RangeCheck(ArrayList.java:546)
	at java.util.ArrayList.get(ArrayList.java:321)
	at org.sonatype.nexus.index.DefaultQueryCreator.constructQuery(DefaultQueryCreator.java:207)
	at org.sonatype.nexus.index.DefaultNexusIndexer.constructQuery(DefaultNexusIndexer.java:468)
	at org.apache.archiva.indexer.search.NexusRepositorySearch.constructQuery(NexusRepositorySearch.java:188)
	at org.apache.archiva.indexer.search.NexusRepositorySearch.search(NexusRepositorySearch.java:74)
	at org.apache.maven.archiva.web.action.SearchAction.quickSearch(SearchAction.java:288)

    Affects Version/s: 1.2
        Fix Version/s: 1.2.1
          Component/s: search

> Search using a some character keyword (asterisk, comma, double quote, colon) results to HTTP Error: 500
> -------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-1166
>                 URL: http://jira.codehaus.org/browse/MRM-1166
>             Project: Archiva
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.2
>            Reporter: Maria Odea Ching
>             Fix For: 1.2.1
>
>
> When searching for '*', the resulting error message is:
> HTTP ERROR: 500
> maxClauseCount is set to 1024
> RequestURI=/archiva/quickSearch.action
> Caused by:
> org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024
> 	at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:163)
> 	at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:154)
> 	at org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:63)
> 	at org.apache.lucene.search.WildcardQuery.rewrite(WildcardQuery.java:54)
> 	at org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:383)
> 	at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:162)
> 	at org.apache.lucene.search.Query.weight(Query.java:94)
> 	at org.apache.lucene.search.Hits.(Hits.java:85)
> 	at org.apache.lucene.search.Searcher.search(Searcher.java:61)
> -----------
> While searching for the other characters results to the following error:
> HTTP ERROR: 500
> Index: 0, Size: 0
> RequestURI=/archiva/quickSearch.action
> Caused by:
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> 	at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> 	at java.util.ArrayList.get(ArrayList.java:321)
> 	at org.sonatype.nexus.index.DefaultQueryCreator.constructQuery(DefaultQueryCreator.java:207)
> 	at org.sonatype.nexus.index.DefaultNexusIndexer.constructQuery(DefaultNexusIndexer.java:468)
> 	at org.apache.archiva.indexer.search.NexusRepositorySearch.constructQuery(NexusRepositorySearch.java:188)
> 	at org.apache.archiva.indexer.search.NexusRepositorySearch.search(NexusRepositorySearch.java:74)
> 	at org.apache.maven.archiva.web.action.SearchAction.quickSearch(SearchAction.java:288)

-- 
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] Commented: (MRM-1166) Search using some character keywords (asterisk, comma, double quote, colon) results to HTTP Error: 500

Posted by "Gwen Harold Autencio (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=184290#action_184290 ] 

Gwen Harold Autencio commented on MRM-1166:
-------------------------------------------

I didn't encounter this issue in 1.2.2-SNAPSHOT version.

> Search using some character keywords (asterisk, comma, double quote, colon) results to HTTP Error: 500
> ------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-1166
>                 URL: http://jira.codehaus.org/browse/MRM-1166
>             Project: Archiva
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.2
>            Reporter: Maria Odea Ching
>             Fix For: 1.2.2
>
>
> When searching for '*', the resulting error message is:
> HTTP ERROR: 500
> maxClauseCount is set to 1024
> RequestURI=/archiva/quickSearch.action
> Caused by:
> org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024
> 	at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:163)
> 	at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:154)
> 	at org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:63)
> 	at org.apache.lucene.search.WildcardQuery.rewrite(WildcardQuery.java:54)
> 	at org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:383)
> 	at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:162)
> 	at org.apache.lucene.search.Query.weight(Query.java:94)
> 	at org.apache.lucene.search.Hits.(Hits.java:85)
> 	at org.apache.lucene.search.Searcher.search(Searcher.java:61)
> -----------
> While searching for the other characters results to the following error:
> HTTP ERROR: 500
> Index: 0, Size: 0
> RequestURI=/archiva/quickSearch.action
> Caused by:
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> 	at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> 	at java.util.ArrayList.get(ArrayList.java:321)
> 	at org.sonatype.nexus.index.DefaultQueryCreator.constructQuery(DefaultQueryCreator.java:207)
> 	at org.sonatype.nexus.index.DefaultNexusIndexer.constructQuery(DefaultNexusIndexer.java:468)
> 	at org.apache.archiva.indexer.search.NexusRepositorySearch.constructQuery(NexusRepositorySearch.java:188)
> 	at org.apache.archiva.indexer.search.NexusRepositorySearch.search(NexusRepositorySearch.java:74)
> 	at org.apache.maven.archiva.web.action.SearchAction.quickSearch(SearchAction.java:288)

-- 
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-1166) Search using some character keywords (asterisk, comma, double quote, colon) results to HTTP Error: 500

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

Maria Odea Ching updated MRM-1166:
----------------------------------

    Fix Version/s:     (was: 1.2.1)
                   1.2.2

> Search using some character keywords (asterisk, comma, double quote, colon) results to HTTP Error: 500
> ------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-1166
>                 URL: http://jira.codehaus.org/browse/MRM-1166
>             Project: Archiva
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.2
>            Reporter: Maria Odea Ching
>             Fix For: 1.2.2
>
>
> When searching for '*', the resulting error message is:
> HTTP ERROR: 500
> maxClauseCount is set to 1024
> RequestURI=/archiva/quickSearch.action
> Caused by:
> org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024
> 	at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:163)
> 	at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:154)
> 	at org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:63)
> 	at org.apache.lucene.search.WildcardQuery.rewrite(WildcardQuery.java:54)
> 	at org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:383)
> 	at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:162)
> 	at org.apache.lucene.search.Query.weight(Query.java:94)
> 	at org.apache.lucene.search.Hits.(Hits.java:85)
> 	at org.apache.lucene.search.Searcher.search(Searcher.java:61)
> -----------
> While searching for the other characters results to the following error:
> HTTP ERROR: 500
> Index: 0, Size: 0
> RequestURI=/archiva/quickSearch.action
> Caused by:
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> 	at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> 	at java.util.ArrayList.get(ArrayList.java:321)
> 	at org.sonatype.nexus.index.DefaultQueryCreator.constructQuery(DefaultQueryCreator.java:207)
> 	at org.sonatype.nexus.index.DefaultNexusIndexer.constructQuery(DefaultNexusIndexer.java:468)
> 	at org.apache.archiva.indexer.search.NexusRepositorySearch.constructQuery(NexusRepositorySearch.java:188)
> 	at org.apache.archiva.indexer.search.NexusRepositorySearch.search(NexusRepositorySearch.java:74)
> 	at org.apache.maven.archiva.web.action.SearchAction.quickSearch(SearchAction.java:288)

-- 
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-1166) Search using some character keywords (asterisk, comma, double quote, colon) results to HTTP Error: 500

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

Maria Odea Ching closed MRM-1166.
---------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 1.2.2)

I cannot reproduce this in 1.2.2-SNAPSHOT -r798060. This must have been fixed after upgrading the nexus indexer in Archiva 1.2.1.

> Search using some character keywords (asterisk, comma, double quote, colon) results to HTTP Error: 500
> ------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-1166
>                 URL: http://jira.codehaus.org/browse/MRM-1166
>             Project: Archiva
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.2
>            Reporter: Maria Odea Ching
>
> When searching for '*', the resulting error message is:
> HTTP ERROR: 500
> maxClauseCount is set to 1024
> RequestURI=/archiva/quickSearch.action
> Caused by:
> org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024
> 	at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:163)
> 	at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:154)
> 	at org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:63)
> 	at org.apache.lucene.search.WildcardQuery.rewrite(WildcardQuery.java:54)
> 	at org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:383)
> 	at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:162)
> 	at org.apache.lucene.search.Query.weight(Query.java:94)
> 	at org.apache.lucene.search.Hits.(Hits.java:85)
> 	at org.apache.lucene.search.Searcher.search(Searcher.java:61)
> -----------
> While searching for the other characters results to the following error:
> HTTP ERROR: 500
> Index: 0, Size: 0
> RequestURI=/archiva/quickSearch.action
> Caused by:
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> 	at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> 	at java.util.ArrayList.get(ArrayList.java:321)
> 	at org.sonatype.nexus.index.DefaultQueryCreator.constructQuery(DefaultQueryCreator.java:207)
> 	at org.sonatype.nexus.index.DefaultNexusIndexer.constructQuery(DefaultNexusIndexer.java:468)
> 	at org.apache.archiva.indexer.search.NexusRepositorySearch.constructQuery(NexusRepositorySearch.java:188)
> 	at org.apache.archiva.indexer.search.NexusRepositorySearch.search(NexusRepositorySearch.java:74)
> 	at org.apache.maven.archiva.web.action.SearchAction.quickSearch(SearchAction.java:288)

-- 
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-1166) Search using some character keywords (asterisk, comma, double quote, colon) results to HTTP Error: 500

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

Maria Odea Ching updated MRM-1166:
----------------------------------

    Summary: Search using some character keywords (asterisk, comma, double quote, colon) results to HTTP Error: 500  (was: Search using a some character keyword (asterisk, comma, double quote, colon) results to HTTP Error: 500)

> Search using some character keywords (asterisk, comma, double quote, colon) results to HTTP Error: 500
> ------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-1166
>                 URL: http://jira.codehaus.org/browse/MRM-1166
>             Project: Archiva
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.2
>            Reporter: Maria Odea Ching
>             Fix For: 1.2.1
>
>
> When searching for '*', the resulting error message is:
> HTTP ERROR: 500
> maxClauseCount is set to 1024
> RequestURI=/archiva/quickSearch.action
> Caused by:
> org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024
> 	at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:163)
> 	at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:154)
> 	at org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:63)
> 	at org.apache.lucene.search.WildcardQuery.rewrite(WildcardQuery.java:54)
> 	at org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:383)
> 	at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:162)
> 	at org.apache.lucene.search.Query.weight(Query.java:94)
> 	at org.apache.lucene.search.Hits.(Hits.java:85)
> 	at org.apache.lucene.search.Searcher.search(Searcher.java:61)
> -----------
> While searching for the other characters results to the following error:
> HTTP ERROR: 500
> Index: 0, Size: 0
> RequestURI=/archiva/quickSearch.action
> Caused by:
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> 	at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> 	at java.util.ArrayList.get(ArrayList.java:321)
> 	at org.sonatype.nexus.index.DefaultQueryCreator.constructQuery(DefaultQueryCreator.java:207)
> 	at org.sonatype.nexus.index.DefaultNexusIndexer.constructQuery(DefaultNexusIndexer.java:468)
> 	at org.apache.archiva.indexer.search.NexusRepositorySearch.constructQuery(NexusRepositorySearch.java:188)
> 	at org.apache.archiva.indexer.search.NexusRepositorySearch.search(NexusRepositorySearch.java:74)
> 	at org.apache.maven.archiva.web.action.SearchAction.quickSearch(SearchAction.java:288)

-- 
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