Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1.2
-
Component/s: Web Interface
-
Labels:None
-
Number of attachments :
Description
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)
Attached a patch for the issue, added params searchResultsOnly and completeQueryString in the <ww:url of previous and next icons.