Fórumok

com.liferay.portal.NoSuchGroupException

Doug Molineux, módosítva 13 év-val korábban

com.liferay.portal.NoSuchGroupException

Junior Member Bejegyzések: 33 Csatlakozás dátuma: 2011.01.05. Legújabb bejegyzések
I believe that this error has happened because I added a new user, heres the error:

com.liferay.portal.NoSuchGroupException

I am using Tomcat, liferay. When I restart my server in eclipse I get this:


Caused by: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=1, classNameId=12, classPK=15101}
at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByC_C_C(GroupPersistenceImpl.java:1948)
at com.liferay.portal.service.impl.GroupLocalServiceImpl.getUserGroup(GroupLocalServiceImpl.java:648)
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:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:65)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy24.getUserGroup(Unknown Source)
at com.liferay.portal.service.GroupLocalServiceUtil.getUserGroup(GroupLocalServiceUtil.java:381)
at com.liferay.portal.model.impl.UserImpl.getGroup(UserImpl.java:188)
at com.liferay.portal.model.impl.UserImpl.getPrivateLayoutsPageCount(UserImpl.java:342)
at com.liferay.portal.model.impl.UserImpl.hasPrivateLayouts(UserImpl.java:556)
at com.liferay.portal.events.ServicePreAction.updateUserLayouts(ServicePreAction.java:1816)
at com.liferay.portal.events.ServicePreAction.servicePre(ServicePreAction.java:1132)
at com.liferay.portal.events.ServicePreAction.run(ServicePreAction.java:142)
... 135 more


Now I can't even access my console, please help!
Doug Molineux, módosítva 13 év-val korábban

RE: com.liferay.portal.NoSuchGroupException (Válasz)

Junior Member Bejegyzések: 33 Csatlakozás dátuma: 2011.01.05. Legújabb bejegyzések
When I cleared my browsers cache this error went away,

I think what happened was I was trying to login as a user that didn't exist??
Cai Jiang, módosítva 12 év-val korábban

RE: com.liferay.portal.NoSuchGroupException

New Member Bejegyzések: 6 Csatlakozás dátuma: 2011.04.29. Legújabb bejegyzések
I got the same issue.

Could anyone help me?
Roshan Qureshi, módosítva 12 év-val korábban

RE: com.liferay.portal.NoSuchGroupException

Regular Member Bejegyzések: 159 Csatlakozás dátuma: 2010.08.24. Legújabb bejegyzések
Hi All,

I had a same problem and got the solution which worked for me.
Solution:
1) Shutdown the server
2) Remove the folders from liferay\data\lucene
3) Restart the server
4) Login to the portal and go to control panel > Server > Server Administration > Reindex all search indexes
Click on Execute button.

This worked for me.
Let me know if anything.
Thanks to Jignesh Vachhani for guidance
thumbnail
Jignesh Vachhani, módosítva 12 év-val korábban

RE: com.liferay.portal.NoSuchGroupException

Liferay Master Bejegyzések: 803 Csatlakozás dátuma: 2008.03.10. Legújabb bejegyzések
Yes Right Roshan,

I think this will resolved the existing problem.

HTH,
Jignesh
www.liferaysolution.com
kirti mistry, módosítva 4 év-val korábban

RE: com.liferay.portal.NoSuchGroupException

New Member Bejegyzések: 4 Csatlakozás dátuma: 2016.06.02. Legújabb bejegyzések
​​​​​​​This is helpful. Thank you!