Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Danial Mustofa Habibi
an-unexpected-system-error-occurred Liferay 6
April 29, 2012 7:26 AM
Answer

Danial Mustofa Habibi

Rank: Regular Member

Posts: 139

Join Date: November 1, 2011

Recent Posts


an-unexpected-system-error-occurred

com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=10132, classNameId=10046, classPK=11419}

Hi there sometime I'm Always got error like that any idea why??I didn't do something ...I'm just trying to login using my registered user...a few minute before this error occured,It works normally
here my error Log

  114:21:59,202 ERROR [jsp:?] User ID 11419
  214:21:59,202 ERROR [jsp:?] Current URL /c
  314:21:59,203 ERROR [jsp:?] Referer http://localhost:8080/web/guest/home?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=%2Flogin%2Flogin
  414:21:59,203 ERROR [jsp:?] Remote address 127.0.0.1
  514:21:59,204 ERROR [jsp:?] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=10132, classNameId=10046, classPK=11419}
  6com.liferay.portal.kernel.events.ActionException: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=10132, classNameId=10046, classPK=11419}
  7    at com.liferay.portal.events.ServicePreAction.run(ServicePreAction.java:147)
  8    at com.liferay.portal.events.EventsProcessorImpl.processEvent(EventsProcessorImpl.java:81)
  9    at com.liferay.portal.events.EventsProcessorImpl.process(EventsProcessorImpl.java:58)
 10    at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:53)
 11    at com.liferay.portal.servlet.MainServlet.processServicePre(MainServlet.java:1064)
 12    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:449)
 13    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 14    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 15    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 16    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 17    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
 18    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 19    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 20    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 21    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
 22    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 23    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 24    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 25    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:261)
 26    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
 27    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 28    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 29    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 30    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
 31    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 32    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 33    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 34    at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:110)
 35    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
 36    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 37    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 38    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 39    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
 40    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
 41    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 42    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 43    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 44    at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:81)
 45    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
 46    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 47    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 48    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 49    at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:179)
 50    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
 51    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 52    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 53    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 54    at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:185)
 55    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
 56    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 57    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 58    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 59    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
 60    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 61    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 62    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 63    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
 64    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 65    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 66    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
 67    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 68    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 69    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 70    at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:35)
 71    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
 72    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 73    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 74    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 75    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 76    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
 77    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 78    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 79    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 80    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 81    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
 82    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
 83    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
 84    at java.lang.Thread.run(Thread.java:619)
 85Caused by: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=10132, classNameId=10046, classPK=11419}
 86    at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByC_C_C(GroupPersistenceImpl.java:1941)
 87    at com.liferay.portal.service.impl.GroupLocalServiceImpl.getUserGroup(GroupLocalServiceImpl.java:649)
 88    at sun.reflect.GeneratedMethodAccessor1189.invoke(Unknown Source)
 89    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 90    at java.lang.reflect.Method.invoke(Method.java:597)
 91    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
 92    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
 93    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
 94    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
 95    at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44)
 96    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 97    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 98    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 99    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
100    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
101    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
102    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
103    at $Proxy24.getUserGroup(Unknown Source)
104    at com.liferay.portal.service.GroupLocalServiceUtil.getUserGroup(GroupLocalServiceUtil.java:381)
105    at com.liferay.portal.model.impl.UserImpl.getGroup(UserImpl.java:188)
106    at com.liferay.portal.model.impl.UserImpl.getPrivateLayoutsPageCount(UserImpl.java:342)
107    at com.liferay.portal.model.impl.UserImpl.hasPrivateLayouts(UserImpl.java:556)
108    at com.liferay.portal.events.ServicePreAction.updateUserLayouts(ServicePreAction.java:1827)
109    at com.liferay.portal.events.ServicePreAction.servicePre(ServicePreAction.java:1136)
110    at com.liferay.portal.events.ServicePreAction.run(ServicePreAction.java:144)
111    ... 77 more
11214:22:45,488 ERROR [MainServlet:1084] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=10132, classNameId=10046, classPK=11419}
113com.liferay.portal.kernel.events.ActionException: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=10132, classNameId=10046, classPK=11419}
114    at com.liferay.portal.events.ServicePreAction.run(ServicePreAction.java:147)
115    at com.liferay.portal.events.EventsProcessorImpl.processEvent(EventsProcessorImpl.java:81)
116    at com.liferay.portal.events.EventsProcessorImpl.process(EventsProcessorImpl.java:58)
117    at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:53)
118    at com.liferay.portal.servlet.MainServlet.processServicePre(MainServlet.java:1064)
119    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:449)
120    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
121    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
122    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
123    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
124    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
125    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
126    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
127    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
128    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
129    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
130    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
131    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
132    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:261)
133    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
134    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
135    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
136    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
137    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
138    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
139    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
140    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
141    at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:110)
142    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
143    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
144    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
145    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
146    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
147    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
148    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
149    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
150    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
151    at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:81)
152    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
153    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
154    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
155    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
156    at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:179)
157    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
158    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
159    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
160    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
161    at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:185)
162    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
163    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
164    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
165    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
166    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
167    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
168    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
169    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
170    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
171    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
172    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
173    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
174    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
175    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
176    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
177    at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:35)
178    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
179    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
180    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
181    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
182    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
183    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
184    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
185    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
186    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
187    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
188    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
189    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
190    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
191    at java.lang.Thread.run(Thread.java:619)
192Caused by: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=10132, classNameId=10046, classPK=11419}
193    at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByC_C_C(GroupPersistenceImpl.java:1941)
194    at com.liferay.portal.service.impl.GroupLocalServiceImpl.getUserGroup(GroupLocalServiceImpl.java:649)
195    at sun.reflect.GeneratedMethodAccessor1189.invoke(Unknown Source)
196    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
197    at java.lang.reflect.Method.invoke(Method.java:597)
198    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
199    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
200    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
201    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
202    at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44)
203    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
204    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
205    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
206    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
207    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
208    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
209    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
210    at $Proxy24.getUserGroup(Unknown Source)
211    at com.liferay.portal.service.GroupLocalServiceUtil.getUserGroup(GroupLocalServiceUtil.java:381)
212    at com.liferay.portal.model.impl.UserImpl.getGroup(UserImpl.java:188)
213    at com.liferay.portal.model.impl.UserImpl.getPrivateLayoutsPageCount(UserImpl.java:342)
214    at com.liferay.portal.model.impl.UserImpl.hasPrivateLayouts(UserImpl.java:556)
215    at com.liferay.portal.events.ServicePreAction.updateUserLayouts(ServicePreAction.java:1827)
216    at com.liferay.portal.events.ServicePreAction.servicePre(ServicePreAction.java:1136)
217    at com.liferay.portal.events.ServicePreAction.run(ServicePreAction.java:144)
218    ... 77 more
21914:22:45,490 ERROR [jsp:?] User ID 11419
22014:22:45,490 ERROR [jsp:?] Current URL /c
22114:22:45,491 ERROR [jsp:?] Referer http://localhost:8080/web/guest/home?p_auth=YLarC3Dy&p_p_id=58&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=%2Flogin%2Flogin
22214:22:45,491 ERROR [jsp:?] Remote address 127.0.0.1
22314:22:45,492 ERROR [jsp:?] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=10132, classNameId=10046, classPK=11419}
224com.liferay.portal.kernel.events.ActionException: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=10132, classNameId=10046, classPK=11419}
225    at com.liferay.portal.events.ServicePreAction.run(ServicePreAction.java:147)
226    at com.liferay.portal.events.EventsProcessorImpl.processEvent(EventsProcessorImpl.java:81)
227    at com.liferay.portal.events.EventsProcessorImpl.process(EventsProcessorImpl.java:58)
228    at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:53)
229    at com.liferay.portal.servlet.MainServlet.processServicePre(MainServlet.java:1064)
230    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:449)
231    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
232    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
233    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
234    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
235    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
236    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
237    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
238    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
239    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
240    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
241    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
242    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
243    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:261)
244    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
245    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
246    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
247    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
248    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
249    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
250    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
251    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
252    at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:110)
253    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
254    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
255    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
256    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
257    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
258    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
259    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
260    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
261    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
262    at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:81)
263    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
264    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
265    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
266    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
267    at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:179)
268    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
269    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
270    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
271    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
272    at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:185)
273    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
274    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
275    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
276    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
277    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
278    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
279    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
280    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
281    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
282    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
283    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
284    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
285    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
286    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
287    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
288    at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:35)
289    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
290    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
291    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
292    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
293    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
294    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
295    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
296    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
297    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
298    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
299    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
300    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
301    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
302    at java.lang.Thread.run(Thread.java:619)
303Caused by: com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=10132, classNameId=10046, classPK=11419}
304    at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByC_C_C(GroupPersistenceImpl.java:1941)
305    at com.liferay.portal.service.impl.GroupLocalServiceImpl.getUserGroup(GroupLocalServiceImpl.java:649)
306    at sun.reflect.GeneratedMethodAccessor1189.invoke(Unknown Source)
307    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
308    at java.lang.reflect.Method.invoke(Method.java:597)
309    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
310    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
311    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
312    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
313    at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44)
314    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
315    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
316    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
317    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
318    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
319    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
320    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
321    at $Proxy24.getUserGroup(Unknown Source)
322    at com.liferay.portal.service.GroupLocalServiceUtil.getUserGroup(GroupLocalServiceUtil.java:381)
323    at com.liferay.portal.model.impl.UserImpl.getGroup(UserImpl.java:188)
324    at com.liferay.portal.model.impl.UserImpl.getPrivateLayoutsPageCount(UserImpl.java:342)
325    at com.liferay.portal.model.impl.UserImpl.hasPrivateLayouts(UserImpl.java:556)
326    at com.liferay.portal.events.ServicePreAction.updateUserLayouts(ServicePreAction.java:1827)
327    at com.liferay.portal.events.ServicePreAction.servicePre(ServicePreAction.java:1136)
328    at com.liferay.portal.events.ServicePreAction.run(ServicePreAction.java:144)
329    ... 77 more

Is this A bug or what??Or is there something missing with my configuration>??
Danial Mustofa Habibi
RE: an-unexpected-system-error-occurred Liferay 6
April 30, 2012 6:09 PM
Answer

Danial Mustofa Habibi

Rank: Regular Member

Posts: 139

Join Date: November 1, 2011

Recent Posts

anyone please help....Now I'm counter this problem almost everytime I'm deploying some plugin...any ide why??
David H Nebinger
RE: an-unexpected-system-error-occurred Liferay 6
April 30, 2012 7:11 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6133

Join Date: September 1, 2006

Recent Posts

Well, the exception seems to indicate the group is not there. Can you find a matching row in the group_ table using the same values?
Danial Mustofa Habibi
RE: an-unexpected-system-error-occurred Liferay 6
April 30, 2012 7:59 PM
Answer

Danial Mustofa Habibi

Rank: Regular Member

Posts: 139

Join Date: November 1, 2011

Recent Posts

David H Nebinger:
Well, the exception seems to indicate the group is not there. Can you find a matching row in the group_ table using the same values?


Thank's For your answer
No there's no matching value and I didn't modify/add userGroup, or group,,Even After I'm trying fresh installataion, the error still occur, Any Idea?
Or should I report this as bug??

Regards

Danial
Jigar N Gajjar
RE: an-unexpected-system-error-occurred Liferay 6
April 30, 2012 11:34 PM
Answer

Jigar N Gajjar

Rank: Junior Member

Posts: 53

Join Date: December 24, 2009

Recent Posts

One of the workaround is to delete temp folder of tomcat, remove all plugins portlets, remove portlet xml file fromtomcat-6.0.32\conf\Catalina\localhost\*.xml dont remove ROOT.xml, restart tomcat server,
Amit Doshi
RE: an-unexpected-system-error-occurred Liferay 6
May 1, 2012 2:48 AM
Answer

Amit Doshi

Rank: Liferay Master

Posts: 543

Join Date: December 29, 2010

Recent Posts

Hi Danial,

It seems that you are trying to do something with the group whose entry is deleted but it's reference is still there in other table.
Check the table users_groups and users_usergroups.

Hope it helps.

Thanks & Regards,
Amit Doshi
David H Nebinger
RE: an-unexpected-system-error-occurred Liferay 6
May 1, 2012 5:09 AM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6133

Join Date: September 1, 2006

Recent Posts

Danial Mustofa Habibi:
David H Nebinger:
Well, the exception seems to indicate the group is not there. Can you find a matching row in the group_ table using the same values?


Thank's For your answer
No there's no matching value and I didn't modify/add userGroup, or group,,Even After I'm trying fresh installataion, the error still occur, Any Idea?


Oh, sure. A fresh install does not also mean a fresh database. The problem is you've got some bad data in the database, and that will continue to fail as long as it's there. It's not a code bug since the database is saying go for group blah blah blah, but the group isn't there.

If you can do a fresh install, I'd suggest wiping the Liferay database and start over.

If you cannot do a fresh install, I'd manually insert the group into the database using the keys provided. Clearly at some point the data was there and it got deleted (probably inadvertently). Just re-create it and hopefully you can continue on...
Hitoshi Ozawa
RE: an-unexpected-system-error-occurred Liferay 6
May 1, 2012 6:14 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Danial, I hate to say this but there may be a bug in your portlet.
I've seen this problem when there is a UserLocalServiceUtil.deleteUser(user). This method only deletes from the user_ table without deleting the other related tables.
Thomas Berg
RE: an-unexpected-system-error-occurred Liferay 6
May 1, 2012 7:58 AM
Answer

Thomas Berg

Rank: Regular Member

Posts: 121

Join Date: September 7, 2009

Recent Posts

Hello Danial, I believe we have the same problem. I suspect that the problem is caused by the Lucene search index being corrupt.
Haven't had the chance to try Hitoshis suggestion yet but will post back any results in this thread.

Regards / Thomas
Danial Mustofa Habibi
RE: an-unexpected-system-error-occurred Liferay 6
May 1, 2012 2:57 PM
Answer

Danial Mustofa Habibi

Rank: Regular Member

Posts: 139

Join Date: November 1, 2011

Recent Posts

Hi David I've Tried it too with new database ,New Installation but still got that error maybe there's something wrong like BUG with my portlet just like Hitoshi Said, In my Portlet I'm calling 2 liferay service for User ...Like addUser
 1try{
 2            User user = UserLocalServiceUtil.addUser(creatorUserId,
 3            companyId, false, password1, password2, true    ,
 4            screenName, emailAddress, 0L, "", locale,
 5            firstName, "", lastName, 0, 0, male, 0, 1, 1970,
 6            "Penumpang", null, null, null, null, false,
 7            new ServiceContext());
 8                long id_liferay =user.getUserId();
 9               
10                penumpangs.setId_liferay(id_liferay);
11       
12        }catch (Exception e) {
13            e.printStackTrace();
14            // TODO: handle exception
15        }   

and update user password
1try{
2            UserLocalServiceUtil.updatePassword(idLiferay, penumpang.getPassword_penumpang(), penumpang.getPassword_penumpang(), Boolean.FALSE);

did I need to reindex everytime I created new User or just disable the lucene indexer just like Hitoshi Told in this Thread which one is better?

Thank's for your Help

Regards
Hitoshi Ozawa
RE: an-unexpected-system-error-occurred Liferay 6
May 1, 2012 4:04 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

You'll have to add codes to update Lucene index after adding an user.

Indexer indexer = IndexerRegistryUtil.getIndexer(User.class);
indexer.reindex(userId);

The other choice it to do manual reindex every time you add an user from the Control Panel -> Server Adminstration -> Reindex all search indexes. (but this really isn't the right way. lol )

BTW, liferay also indexes organizations. So if you're adding organizations, you'll have to reindex that too.
Danial Mustofa Habibi
RE: an-unexpected-system-error-occurred Liferay 6
May 2, 2012 11:25 AM
Answer

Danial Mustofa Habibi

Rank: Regular Member

Posts: 139

Join Date: November 1, 2011

Recent Posts

Hitoshi Ozawa:
You'll have to add codes to update Lucene index after adding an user.

Indexer indexer = IndexerRegistryUtil.getIndexer(User.class);
indexer.reindex(userId);

The other choice it to do manual reindex every time you add an user from the Control Panel -> Server Adminstration -> Reindex all search indexes. (but this really isn't the right way. lol )

BTW, liferay also indexes organizations. So if you're adding organizations, you'll have to reindex that too.



I see Thank's,,,I Guees I will following your advice to use indexer using Liferay Api...Better than manual method emoticon.....lol

Thank's Hithoshi

Regards