You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Gwen Harold Autencio (JIRA)" <ji...@codehaus.org> on 2008/09/03 09:09:48 UTC

[jira] Updated: (MRM-932) Error 500 when clicking the Next or Previous icon of the results of a search, if user is trying to search for java classes, packages or methods.

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

Gwen Harold Autencio updated MRM-932:
-------------------------------------

    Attachment: MRM-932.patch

Attached a patch for the issue, added params  searchResultsOnly and completeQueryString in the <ww:url of previous and next icons.

> Error 500 when clicking the Next or Previous icon of the results of a search, if user is trying to search for java classes, packages or methods.
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-932
>                 URL: http://jira.codehaus.org/browse/MRM-932
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>            Reporter: Gwen Harold Autencio
>         Attachments: MRM-932.patch
>
>
> When user tries to search for java classes, packages or methods.
> User types "bytecode:xxx" , the results will display but when user clicks the next or previous icon of the results.
> Page will then display
> HTTP ERROR: 500
> INTERNAL_SERVER_ERROR
> RequestURI=/quickSearch.action
> Caused by:
> java.lang.NullPointerException
> 	at org.apache.maven.archiva.web.action.SearchAction.isEqualToPreviousSearchTerm(SearchAction.java:254)
> 	at org.apache.maven.archiva.web.action.SearchAction.quickSearch(SearchAction.java:153)
> 	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)
> 	at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358)

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