Click magnifying glass error in search portlet

Description

1. Add a search portlet in page.
2. search "test" in search portlet.

when click magnifying glass i can see the error message in console.But i can see the search portlet is working.

Error message:

04:40:02,580 ERROR [BeanPropertiesImpl:429] jodd.bean.BeanException: Simple property 'uID' not found. Invalid property: 'DocumentImpl#uID' (actual:'DocumentImpl#uID', forced=false)

jodd.bean.BeanException: Simple property 'uID' not found. Invalid property: 'DocumentImpl#uID' (actual:'DocumentImpl#uID', forced=false)
at jodd.bean.BeanUtil.getSimpleProperty(BeanUtil.java:186)
at jodd.bean.BeanUtil.getIndexProperty(BeanUtil.java:278)
at jodd.bean.BeanUtil.getProperty(BeanUtil.java:510)
at com.liferay.portal.bean.BeanPropertiesImpl.getString(BeanPropertiesImpl.java:424)
at com.liferay.portal.bean.BeanPropertiesImpl.getString(BeanPropertiesImpl.java:416)
at com.liferay.portal.kernel.bean.BeanPropertiesUtil.getString(BeanPropertiesUtil.java:205)
at com.liferay.taglib.ui.SearchContainerRowTag.processRow(SearchContainerRowTag.java:285)
at com.liferay.taglib.ui.SearchContainerRowTag.doStartTag(SearchContainerRowTag.java:146)
at org.apache.jsp.html.portlet.search.search_jsp._jspService(search_jsp.java:1472)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)

UPDATE EXCEPTION:
18:31:56,387 ERROR [IncludeTag:426] Current URL /web/guest/home?p_p_id=3&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&p_p_col_id=column-1&_3_struts_action=%2Fsearch%2Fsearch&_3_keywords=test&_3_groupId=0 generates exception: org.apache.jasper.JasperException: javax.servlet.ServletException: com.liferay.portlet.asset.NoSuchEntryException: No AssetEntry exists with the key {classNameId=13, classPK=938}
18:31:56,390 ERROR [IncludeTag:154] com.liferay.portlet.asset.NoSuchEntryException: No AssetEntry exists with the key {classNameId=13, classPK=938}
at com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceImpl.findByC_C(AssetEntryPersistenceImpl.java:2288)
at com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl.getEntry(AssetEntryLocalServiceImpl.java:225)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:204)
at com.liferay.portlet.asset.service.AssetEntryLocalServiceUtil.getEntry(AssetEntryLocalServiceUtil.java:350)
at org.apache.jsp.html.portlet.search.main_005fsearch_005fresult_005fform_jsp._jspService(main_005fsearch_005fresult_005fform_jsp.java:671)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

Environment

Tomcat 7.0.21. + MySQL 5. 6.1.x Revision 95227.

Activity

Show:

Justin ChoiDecember 9, 2011 at 11:53 AM

Reproduced on:
Tomcat 7.0 + MySQL 5. 6.1.x Revision: 95227.

  • I used a full database as well and got the same error: ERROR [IncludeTag:154] com.liferay.portlet.asset.NoSuchEntryException:

Michael SaechangOctober 3, 2011 at 3:42 PM

Okay I think I pin pointed the cause. You're probably testing it on the minimal database (admin user is test test). I am using the full database (admin user is joe bloggs). The issue doesn't seem to be happening using the minimal database and only affecting the full database. Hopefully that is it.

As for whether or not we should fix this ticket. I still think we should even though it's the full database because this is definitely a regression as it was not breaking before. Those are my thoughts at least.

Michael SaechangOctober 3, 2011 at 3:17 PM

I am doing some testing with the different database (minimal and full) to see if it has something to do with our full database. I think this could be the cause. I will let you know in a bit.

Barrie SelackOctober 3, 2011 at 1:06 PM

We're not quite there yet.. I created a new database/search index (deleted data folder), and I don't get the "test" error. So there is still some strangeness.

Michael SaechangOctober 3, 2011 at 12:36 PM

I'm glad we were able to get to the bottom of this. Thanks Barrie!

No Longer Reproducible
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Bug Type

Regression Bug

Affects versions

Priority

Zendesk Support

Created September 27, 2011 at 9:43 PM
Updated June 24, 2023 at 3:35 PM
Resolved April 11, 2012 at 2:25 PM