Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via liferay.com by Unknown author, 2 years ago
com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.NoSuchUserException: No User exists with the primary key 10159
via liferay.com by Unknown author, 1 year ago
com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.NoSuchUserException: No User exists with the primary key 10159
com.liferay.portal.NoSuchUserException: No User exists with the primary key 10159	at com.liferay.portal.service.persistence.UserPersistenceImpl.findByPrimaryKey(UserPersistenceImpl.java:7199)	at com.liferay.portal.service.persistence.UserPersistenceImpl.findByPrimaryKey(UserPersistenceImpl.java:7217)	at com.liferay.portal.service.impl.UserLocalServiceImpl.getUserById(UserLocalServiceImpl.java:2677)	at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	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.sun.proxy.$Proxy105.getUserById(Unknown Source)	at com.liferay.portal.service.UserLocalServiceUtil.getUserById(UserLocalServiceUtil.java:2140)	at com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskInstanceTokenFinderImpl.getSearchByUserRoleIds(KaleoTaskInstanceTokenFinderImpl.java:514)	at com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskInstanceTokenFinderImpl.getSearchByUserRoles(KaleoTaskInstanceTokenFinderImpl.java:556)	at com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskInstanceTokenFinderImpl.buildKaleoTaskInstanceTokenQuerySQL(KaleoTaskInstanceTokenFinderImpl.java:192)	at com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskInstanceTokenFinderImpl.countKaleoTaskInstanceTokens(KaleoTaskInstanceTokenFinderImpl.java:76)	at sun.reflect.GeneratedMethodAccessor313.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:320)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)	at com.liferay.portal.dao.shard.advice.ShardPersistenceAdvice.invoke(ShardPersistenceAdvice.java:54)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)	at com.sun.proxy.$Proxy470.countKaleoTaskInstanceTokens(Unknown Source)	at com.liferay.portal.workflow.kaleo.service.impl.KaleoTaskInstanceTokenLocalServiceImpl.searchCount(KaleoTaskInstanceTokenLocalServiceImpl.java:575)	at com.liferay.portal.workflow.kaleo.service.impl.KaleoTaskInstanceTokenLocalServiceImpl.searchCount(KaleoTaskInstanceTokenLocalServiceImpl.java:538)	at com.liferay.portal.workflow.kaleo.service.impl.KaleoTaskInstanceTokenLocalServiceImpl.searchCount(KaleoTaskInstanceTokenLocalServiceImpl.java:525)	at sun.reflect.GeneratedMethodAccessor606.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	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.sun.proxy.$Proxy468.searchCount(Unknown Source)	at com.liferay.portal.workflow.kaleo.service.KaleoTaskInstanceTokenLocalServiceUtil.searchCount(KaleoTaskInstanceTokenLocalServiceUtil.java:511)	at com.liferay.portal.workflow.kaleo.WorkflowTaskManagerImpl.getWorkflowTaskCountByUserRoles(WorkflowTaskManagerImpl.java:354)	at sun.reflect.GeneratedMethodAccessor291.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:320)	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:48)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)	at com.sun.proxy.$Proxy480.getWorkflowTaskCountByUserRoles(Unknown Source)	at sun.reflect.GeneratedMethodAccessor291.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:85)	at com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:51)	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)	at com.liferay.portal.kernel.messaging.SynchronousDestination.send(SynchronousDestination.java:41)	at com.liferay.portal.kernel.messaging.sender.DirectSynchronousMessageSender.send(DirectSynchronousMessageSender.java:54)	at com.liferay.portal.kernel.messaging.sender.DefaultSingleDestinationSynchronousMessageSender.send(DefaultSingleDestinationSynchronousMessageSender.java:42)	at com.liferay.portal.kernel.messaging.proxy.BaseProxyBean.synchronousSend(BaseProxyBean.java:51)	at com.liferay.portal.messaging.proxy.MessagingProxyInvocationHandler.invoke(MessagingProxyInvocationHandler.java:47)	at com.sun.proxy.$Proxy283.getWorkflowTaskCountByUserRoles(Unknown Source)	at sun.reflect.GeneratedMethodAccessor291.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:320)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)	at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)	at com.liferay.portal.workflow.WorkflowPermissionAdvice.invoke(WorkflowPermissionAdvice.java:49)	at sun.reflect.GeneratedMethodAccessor324.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)	at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)	at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)	at com.sun.proxy.$Proxy284.getWorkflowTaskCountByUserRoles(Unknown Source)	at com.liferay.portal.kernel.workflow.WorkflowTaskManagerUtil.getWorkflowTaskCountByUserRoles(WorkflowTaskManagerUtil.java:126)	at com.liferay.portal.workflow.MyWorkflowTasksControlPanelEntry.hasPermissionImplicitlyGranted(MyWorkflowTasksControlPanelEntry.java:40)	at com.liferay.portlet.BaseControlPanelEntry.hasAccessPermission(BaseControlPanelEntry.java:52)	at com.liferay.portal.service.permission.PortletPermissionImpl.hasControlPanelAccessPermission(PortletPermissionImpl.java:507)	at com.liferay.portal.service.permission.PortletPermissionUtil.hasControlPanelAccessPermission(PortletPermissionUtil.java:305)	at com.liferay.portal.util.PortalImpl.filterControlPanelPortlets(PortalImpl.java:7353)	at com.liferay.portal.util.PortalImpl.getControlPanelPortlets(PortalImpl.java:1636)	at com.liferay.portal.util.PortalImpl.getFirstMyAccountPortlet(PortalImpl.java:2419)	at com.liferay.portal.util.PortalUtil.getFirstMyAccountPortlet(PortalUtil.java:600)	at com.liferay.portal.events.ServicePreAction.initThemeDisplay(ServicePreAction.java:1210)	at com.liferay.portal.events.ServicePreAction.servicePre(ServicePreAction.java:2187)	at com.liferay.portal.events.ServicePreAction.run(ServicePreAction.java:1317)	at com.liferay.portal.events.EventsProcessorImpl.processEvent(EventsProcessorImpl.java:83)	at com.liferay.portal.events.EventsProcessorImpl.process(EventsProcessorImpl.java:59)	at com.liferay.portal.ee.license.EventsProcessorImpl.process(Unknown Source)	at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:40)	at com.liferay.portal.servlet.MainServlet.processServicePre(MainServlet.java:1130)	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:490)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:156)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:359)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:243)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:267)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:226)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)	at java.lang.Thread.run(Unknown Source)