Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Victor Sk
No Group Exists With Primary Key ....
April 26, 2010 11:11 AM
Answer

Victor Sk

Rank: Junior Member

Posts: 28

Join Date: October 21, 2006

Recent Posts

Hi Everyone,

I have a difficult problem so I hope Liferay Jedi will use their force to help me.

In my catalina.out logs I get the following error. My apologies for it being so long but I thought it would help to see everything it says:

  1
  2
  317:30:51,639 ERROR [SearchPermissionCheckerImpl:91] com.liferay.portal.NoSuchGroupException: No Group exists with the primary key 11272
  4com.liferay.portal.NoSuchGroupException: No Group exists with the primary key 11272
  5    at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByPrimaryKey(GroupPersistenceImpl.java:626)
  6    at com.liferay.portal.service.impl.GroupLocalServiceImpl.getGroup(GroupLocalServiceImpl.java:451)
  7    at sun.reflect.GeneratedMethodAccessor143.invoke(Unknown Source)
  8    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  9    at java.lang.reflect.Method.invoke(Method.java:597)
 10    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
 11    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
 12    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
 13    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
 14    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
 15    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
 16    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
 17    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
 18    at $Proxy22.getGroup(Unknown Source)
 19    at com.liferay.portal.service.GroupLocalServiceUtil.getGroup(GroupLocalServiceUtil.java:84)
 20    at com.liferay.portal.search.SearchPermissionCheckerImpl.doAddPermissionFields_5(SearchPermissionCheckerImpl.java:149)
 21    at com.liferay.portal.search.SearchPermissionCheckerImpl.addPermissionFields(SearchPermissionCheckerImpl.java:79)
 22    at com.liferay.portal.kernel.search.SearchEngineUtil.updateDocument(SearchEngineUtil.java:169)
 23    at com.liferay.portlet.imagegallery.util.Indexer.updateImage(Indexer.java:124)
 24    at com.liferay.portlet.imagegallery.service.impl.IGImageLocalServiceImpl.reIndex(IGImageLocalServiceImpl.java:517)
 25    at sun.reflect.GeneratedMethodAccessor772.invoke(Unknown Source)
 26    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 27    at java.lang.reflect.Method.invoke(Method.java:597)
 28    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
 29    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
 30    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
 31    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
 32    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
 33    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
 34    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
 35    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
 36    at $Proxy182.reIndex(Unknown Source)
 37    at com.liferay.portlet.imagegallery.service.impl.IGFolderLocalServiceImpl.reIndexImages(IGFolderLocalServiceImpl.java:491)
 38    at com.liferay.portlet.imagegallery.service.impl.IGFolderLocalServiceImpl.reIndexFolders(IGFolderLocalServiceImpl.java:479)
 39    at com.liferay.portlet.imagegallery.service.impl.IGFolderLocalServiceImpl.reIndexFolders(IGFolderLocalServiceImpl.java:457)
 40    at com.liferay.portlet.imagegallery.service.impl.IGFolderLocalServiceImpl.reIndex(IGFolderLocalServiceImpl.java:278)
 41    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 42    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 43    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 44    at java.lang.reflect.Method.invoke(Method.java:597)
 45    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
 46    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
 47    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
 48    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
 49    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
 50    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
 51    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
 52    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
 53    at $Proxy180.reIndex(Unknown Source)
 54    at com.liferay.portlet.imagegallery.service.IGFolderLocalServiceUtil.reIndex(IGFolderLocalServiceUtil.java:234)
 55    at com.liferay.portlet.imagegallery.util.Indexer.reIndex(Indexer.java:165)
 56    at com.liferay.portal.search.lucene.LuceneIndexer.doReIndex(LuceneIndexer.java:155)
 57    at com.liferay.portal.search.lucene.LuceneIndexer.reIndex(LuceneIndexer.java:75)
 58    at com.liferay.portal.search.lucene.LuceneIndexer.reIndex(LuceneIndexer.java:68)
 59    at com.liferay.portlet.admin.action.EditServerAction.reIndex(EditServerAction.java:203)
 60    at com.liferay.portlet.admin.action.EditServerAction.processAction(EditServerAction.java:123)
 61    at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:180)
 62    at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:197)
 63    at com.sun.portal.portletcontainer.appengine.filter.FilterChainImpl.doFilter(FilterChainImpl.java:98)
 64    at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:57)
 65    at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:632)
 66    at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:664)
 67    at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:359)
 68    at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:604)
 69    at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:428)
 70    at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:195)
 71    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
 72    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
 73    at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:157)
 74    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 75    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
 76    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 77    at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:608)
 78    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:846)
 79    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 80    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 81    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 82    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
 83    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
 84    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
 85    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
 86    at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:143)
 87    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 88    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 89    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 90    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
 91    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:142)
 92    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
 93    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 94    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 95    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
 96    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)
 97    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 98    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 99    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
100    at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:140)
101    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
102    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
103    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
104    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
105    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:282)
106    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
107    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
108    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
109    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
110    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)
111    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
112    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
113    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
114    at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:425)
115    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
116    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
117    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
118    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
119    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:257)
120    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
121    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
122    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
123    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
124    at com.liferay.portal.servlet.filters.sso.opensso.OpenSSOFilter.processFilter(OpenSSOFilter.java:73)
125    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
126    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
127    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
128    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
129    at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:193)
130    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
131    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
132    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
133    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
134    at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:191)
135    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
136    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
137    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
138    at com.liferay.portal.servlet.filters.threadlocalcache.ThreadLocalCacheFilter.processFilter(ThreadLocalCacheFilter.java:55)
139    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
140    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
141    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
142    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
143    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)
144    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
145    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
146    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
147    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
148    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
149    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
150    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
151    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
152    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
153    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
154    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
155    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
156    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
157    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
158    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
159    at java.lang.Thread.run(Thread.java:619)


I had similar problem with No Primary key and I was able to fix it by executing "Reindex Search Indexes" in the Server Admin tool. However the aforementioned problem is not being fixed this way and I have no idea how to fix it.

Could somebody please help me with it? May the force be with you.

Victor.
Amos Fong
RE: No Group Exists With Primary Key ....
April 26, 2010 11:21 AM
Answer

Amos Fong

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1898

Join Date: October 7, 2008

Recent Posts

Hi Victor,

Looks like you have an image gallery image which is orphaned (belonged to a community/organization that was deleted). It could have happened by manual tinkering of database, possible bug when deleting a community not deleting images, etc.

Anyway, you can delete them image by searching your database for it:

I would first make a DB backup before manually changing the database.

SELECT * FROM IGImage where groupId=11272;

If you want to recover them to see what they might be...you can manipulate them like so (I would only do this if you know what you're doing):

UPDATE IGImage set groupId=[a real community Id], folderId=[a IGFolderId from that comminutiy] where groupId=11272;
Victor Sk
RE: No Group Exists With Primary Key ....
April 26, 2010 12:02 PM
Answer

Victor Sk

Rank: Junior Member

Posts: 28

Join Date: October 21, 2006

Recent Posts

Hi,

Thank you so much for your prompt reply. We most definitely perform some manual alteration of lportal to meet our business requirements. This might help others to know that we manually add new page and layout and attach portlets to those pages so all our users have a default extra page with portlets they can use. Unfortunately this error seems to stem from these modifications, but such is the requirement of our portal.

Thanks again for your advise emoticon

Victor.
Nikolay Chebukin
RE: No Group Exists With Primary Key ....
February 4, 2011 6:14 AM
Answer

Nikolay Chebukin

Rank: New Member

Posts: 3

Join Date: February 3, 2011

Recent Posts

I have such problem too - my Catalina log

13:57:08,864 INFO [PortalImpl:228] Portal lib url /C:/JavaWork/tomcat/webapps/R
OOT/WEB-INF/lib/portal-impl.jar!/com/liferay/portal/util/PortalImpl.class
13:57:08,864 INFO [PortalImpl:263] Portal lib directory /C:/JavaWork/tomcat/web
apps/ROOT/WEB-INF/lib/
Starting Liferay Portal 5.1.1 (Calvin / Build 5101 / August 11, 2008)
13:57:29,485 INFO [ServerDetector:76] Detected server tomcat
13:57:29,641 INFO [HotDeployUtil:76] Initializing hot deploy manager 9989191
13:57:32,359 INFO [PortletHotDeployListener:201] Registering portlets for sampl
e-jsp-portlet
13:57:32,375 INFO [PortletHotDeployListener:208] 1 portlets for sample-jsp-port
let are ready for registration
13:57:32,453 INFO [PortletHotDeployListener:284] 1 portlets for sample-jsp-port
let registered successfully
13:57:34,546 INFO [[/tunnel-web]:647] Initializing Spring FrameworkServlet 'Spr
ingServlet'
04.02.2011 13:57:36 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
04.02.2011 13:57:36 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
04.02.2011 13:57:36 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31 config=null
04.02.2011 13:57:36 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
04.02.2011 13:57:36 org.apache.catalina.startup.Catalina start
INFO: Server startup in 44194 ms
13:58:08,711 ERROR [jsp:52] com.liferay.portal.NoSuchGroupException: No Group ex
ists with the primary key 0
at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByPri
maryKey(GroupPersistenceImpl.java:303)
at com.liferay.portal.service.impl.GroupLocalServiceImpl.getGroup(GroupL
ocalServiceImpl.java:392)
at com.liferay.portal.service.GroupLocalServiceUtil.getGroup(GroupLocalS
erviceUtil.java:80)
at com.liferay.portlet.communities.action.EditPagesAction.checkPermissio
ns(EditPagesAction.java:298)
at com.liferay.portlet.communities.action.EditPagesAction.processAction(
EditPagesAction.java:121)
at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequ
estProcessor.java:178)
at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:19
7)
at com.sun.portal.portletcontainer.appengine.filter.FilterChainImpl.doFi
lter(FilterChainImpl.java:93)
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletF
ilterUtil.java:57)
at com.liferay.portlet.InvokerPortlet.invoke(InvokerPortlet.java:548)
at com.liferay.portlet.InvokerPortlet.invokeAction(InvokerPortlet.java:5
77)
at com.liferay.portlet.InvokerPortlet.processAction(InvokerPortlet.java:
313)
at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAc
tion.java:618)
at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.jav
a:403)
at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:188)

at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:236)
at com.liferay.portal.struts.PortalRequestProcessor.process(PortalReques
tProcessor.java:164)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
6)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)


13:58:29,519 INFO [PluginPackageUtil:76] Reloading repositories


What can it be? I hope my problem will be solve
Yaseen L Meridja
RE: No Group Exists With Primary Key ....
July 4, 2013 2:28 AM
Answer

Yaseen L Meridja

Rank: New Member

Posts: 22

Join Date: January 10, 2011

Recent Posts

Hey Amos,

I am having the same problem with a fresh install of Liferay 6.1.1 ce ga2, and I haven't touched the database at all, the problem could be with the Zoe themes that I am adding after the installation.

Your explanation above makes sense but the new schema is quite different, for example I can't find IGImage table you're referring to, there is an Image table but it doesn't have a groupId row.

Any ideas on how I should solve this problem in the Liferay 6.1.1?

Thanks
Llies
parikshit sharma
RE: No Group Exists With Primary Key ....
July 5, 2013 4:54 AM
Answer

parikshit sharma

Rank: Junior Member

Posts: 50

Join Date: October 18, 2012

Recent Posts

Hi Nikolay,
If you have re-indexed and clear the cache ,then check over your home page(or other page),have you used any template code in which you used the groupId without check groupId>0?
shitou web
RE: No Group exists with the key {companyId=10112, classNameId=10018, class
January 1, 2014 7:19 PM
Answer

shitou web

Rank: New Member

Posts: 3

Join Date: January 1, 2014

Recent Posts

com.liferay.portal.NoSuchGroupException: No Group exists with the key {companyId=10112, classNameId=10018, classPK=10005}
at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByC_C_C(GroupPersistenceImpl.java:1287)
at com.liferay.portal.service.impl.GroupLocalServiceImpl.getOrganizationGroup(GroupLocalServiceImpl.java:507)
at sun.reflect.GeneratedMethodAccessor343.invoke(Unknown Source)
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:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy22.getOrganizationGroup(Unknown Source)
at com.liferay.portal.service.GroupLocalServiceUtil.getOrganizationGroup(GroupLocalServiceUtil.java:193)
at com.liferay.portal.model.impl.OrganizationImpl.getGroup(OrganizationImpl.java:187)
at org.apache.jsp.html.portal.layout.view.control_005fpanel_jsp._jspService(control_005fpanel_jsp.java:1197)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
at com.liferay.portal.action.LayoutAction.includeLayoutContent(LayoutAction.java:294)
at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:471)
at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:195)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:157)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:608)
at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:143)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:142)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
at com.liferay.portal.servlet.filters.theme.ThemePreviewFilter.processFilter(ThemePreviewFilter.java:121)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:140)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:282)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:257)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:191)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
at com.liferay.portal.servlet.filters.threadlocalcache.ThreadLocalCacheFilter.processFilter(ThreadLocalCacheFilter.java:55)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)


Will you master the next, which is what ah? How to solve? Thank you!
Dounia Mikou
RE: No Group exists with the key {companyId=10112, classNameId=10018, class
December 18, 2014 2:09 AM
Answer

Dounia Mikou

Rank: New Member

Posts: 9

Join Date: October 21, 2014

Recent Posts

I am having the same problem with a fresh installation of Liferay 6.2 CE.
The difference is that I deleted the user Table from the Data base .
When I finish the instalaltion, i have an error in the portal page "This is i,nstance is not activated".
And in my log File I get the same error as said befor 'No group exists ....'

What do u advice to do ?
I thought about clean the database and start from the beginig but I don't know How
I have a Postgres database


thank u