It's all about the answers!

Ask a question

Error searching with tags in RAM


Vijay Reddy Gaddam (562141) | asked Mar 26 '15, 2:50 a.m.
edited Mar 26 '15, 3:16 a.m.
 Hi,

I have problem while searching for assets using a tag. Can some help me out resolving this.

RAM Version: 7.5.1.1

Procedure I followed:
I go to the "asset" tab in RAM. In the tab I was displayed with many tags. When I clicked on one of the tags(say winstoc), I was displayed with many assets related to the tag(a group count of 50 (Make sure -- Group version of assets is clicked, Since I'm not getting this error in other ways)). Now when I click I get the error "An unexpected error has occurred","Specific details regarding this error have been recorded in the ramDebug.log file with the following ID: A283AF20-8B37-6328-046D-797598BCECA8".

Error Log related to it is:
[03/26/15 07:47:05 CET] CRRAM0001E  1309651354 ERROR web com.ibm.ram.repository.web.security.RAMServletFilter - ServletException thrown in processing request. User: vgdxwr1 URI:/ram/search/_rlvid.jsp.faces?_rap=_rlnn&_rvip=/search/index.jsp&n=1fTag%2Cwinkstoc&s=doc&d=desc&sart=false&sshdw=false&forum=false&page=1
[03/26/15 07:47:05 CET] CRRAM0001E  1309651473 ERROR web pagecode.error.Error                  - A283AF20-8B37-6328-046D-797598BCECA8 - URL: http://ram.colruyt.int/ram/search/_rlvid.jsp.faces?_rap=_rlnn&_rvip=/search/index.jsp&n=1fTag%2Cwinkstoc&s=doc&d=desc&sart=false&sshdw=false&forum=false&page=1 - javax.el.ELException: javax.faces.el.EvaluationException: javax.el.ELException: Error reading 'facetResults' on type pagecode.search.Index
	at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:92)
	at javax.faces.component.UIOutput.getValue(UIOutput.java:184)
	at com.ibm.ram.repository.web.jsf.components.UIFacetCounts2.getSearchFacets(UIFacetCounts2.java:212)
	at com.ibm.ram.repository.web.jsf.components.UIFacetCounts2.encodeBegin(UIFacetCounts2.java:267)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:934)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
	at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:292)
	at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:223)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:114)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
	at com.ibm.ram.repository.web.security.RAMServletFilter.doFilter(RAMServletFilter.java:529)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
	at com.ibm.ram.repository.web.filters.CSRFSecurityFilter.doFilter(CSRFSecurityFilter.java:66)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
	at com.ibm.ram.repository.web.filters.JavascriptSecurityFilter.doFilter(JavascriptSecurityFilter.java:29)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
	at com.ibm.ram.repository.web.filters.GZipFilter.doFilter(GZipFilter.java:42)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
	at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
	at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
	at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)
	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
	at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
Caused by: javax.faces.el.EvaluationException: javax.el.ELException: Error reading 'facetResults' on type pagecode.search.Index
	at com.sun.faces.application.ValueBindingValueExpressionAdapter.getValue(ValueBindingValueExpressionAdapter.java:117)
	at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:89)
	... 48 more
Caused by: javax.el.ELException: Error reading 'facetResults' on type pagecode.search.Index
	at javax.el.BeanELResolver.getValue(BeanELResolver.java:68)
	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:73)
	at org.apache.el.parser.AstValue.getValue(AstValue.java:102)
	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:263)
	at com.sun.faces.application.ValueBindingValueExpressionAdapter.getValue(ValueBindingValueExpressionAdapter.java:113)
	... 49 more
Caused by: java.lang.IndexOutOfBoundsException: Not a valid hit number: 119
	at org.apache.lucene.search.Hits.hitDoc(Hits.java:215)
	at org.apache.lucene.search.Hits.id(Hits.java:196)
	at com.ibm.fsearch.search.ResultList$ResultIterator.next(ResultList.java:485)
	at com.ibm.fsearch.search.ResultList.setGroupedVersionsMap(ResultList.java:165)
	at com.ibm.fsearch.search.DocListResultImpl.setGroupedVersionData(DocListResultImpl.java:73)
	at com.ibm.fsearch.search.SearchResultImpl.<init>(SearchResultImpl.java:47)
	at com.ibm.fsearch.search.FacetedSearch.search(FacetedSearch.java:388)
	at com.ibm.ram.repository.assets.AssetManager.searchAssets(AssetManager.java:1021)
	at com.ibm.ram.repository.assets.AssetManager.searchAssets(AssetManager.java:382)
	at pagecode.search.Index.search(Index.java:481)
	at pagecode.search.Index.getResults(Index.java:981)
	at pagecode.search.Index.getResults(Index.java:967)
	at pagecode.search.Index.getFacetResults(Index.java:2313)
	at sun.reflect.GeneratedMethodAccessor740.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at javax.el.BeanELResolver.getValue(BeanELResolver.java:64)
	... 54 more
	
	
	
	

Be the first one to answer this question!


Register or to post your answer.