CognitivZen / elasticray

Liferay elasticsearch integration
http://www.elasticray.com/
GNU Affero General Public License v3.0
12 stars 17 forks source link

" NoSuchentryException" in liferay 6.2 CE GA2 #28

Open Haritha1 opened 9 years ago

Haritha1 commented 9 years ago

Place Elasticray v1.3.0 version in liferay 6.2 CE GA2 deploy folder and Start liferay server

Next Go to Users and Organization portlet and Create user First name as "sample Test" etc and search users in users and organization page see below screen search displaying results .

image

Next Add search portlet in the Liferay Welcome page and search users using search portlet it is displaying error i.e "Nosuchentryexception" see below screen

image

Log Details::

09:45:30,263 ERROR [http-bio-8080-exec-5][IncludeTag:129] Current URL /web/guest/welcome?_3_formDate=1432891870973&p_p_id=3&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_3_struts_action=%2Fsearch%2Fsearch&_3_cur=1&_3_format=&_3_keywords=sample+Test&_3_groupId=0&_3_entryClassName=&_3_folderId=&_3_userId=&_3_modified=&_3_modifiedselection=0&_3_modifiedfrom=&_3_modifiedto= generates exception: com.liferay.portlet.asset.NoSuchEntryException: No AssetEntry exists with the key {classNameId=10009, classPK=10954} com.liferay.portlet.asset.NoSuchEntryException: No AssetEntry exists with the key {classNameId=10009, classPK=10954} at com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceImpl.findByC_C(AssetEntryPersistenceImpl.java:2979) at com.liferay.portal.security.lang.DoPrivilegedHandler$InvokePrivilegedExceptionAction.run(DoPrivilegedHandler.java:167) at com.liferay.portal.security.lang.DoPrivilegedHandler.doInvoke(DoPrivilegedHandler.java:100) at com.liferay.portal.security.lang.DoPrivilegedHandler.invoke(DoPrivilegedHandler.java:56) at com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl.getEntry(AssetEntryLocalServiceImpl.java:238) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62) at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111) at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175) at com.liferay.portal.security.pacl.PACLInvocationHandler$InvokePrivilegedExceptionAction.run(PACLInvocationHandler.java:109) at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationHandler.java:79) at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHandler.java:51) at com.liferay.portlet.asset.service.AssetEntryLocalServiceUtil.getEntry(AssetEntryLocalServiceUtil.java:645) at org.apache.jsp.html.portlet.search.main_005fsearch_005fresult_005fform_jsp._jspService(main_005fsearch_005fresult_005fform_jsp.java:736) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57) at com.liferay.portal.security.pacl.servlet.PACLRequestDispatcherWrapper$DispatchPrivilegedExceptionAction.run(PACLRequestDispatcherWrapper.java:111) at com.liferay.portal.security.pacl.servlet.PACLRequestDispatcherWrapper$DispatchPrivilegedExceptionAction.run(PACLRequestDispatcherWrapper.java:1)