Uploaded image for project: 'PUBLIC - OAuth2'
  1. PUBLIC - OAuth2
  2. OAUTH2-237

OAuth 2 Administration portlet is unavailable

    Details

    • Type: Regression Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fix Priority:
      5
    • Sprint:
      AS | Iteration 7, AS | Iteration 8, AS | Iteration 9

      Description

      Navigating to Control Panel > Configuration > OAuth 2 Administration, the OAuth 2 Administration portlet is unavailable with following error on the page: "OAuth 2 Administration is temporarily unavailable".

      This stacktrace appears in the logs:

      [exec] 09:59:02,101 ERROR [http-nio-8080-exec-8][PortletRequestDispatcherImpl:331] Unable to dispatch request: java.lang.IllegalArgumentException: Someone may be trying to circumvent the permission checker: {companyId=20099, name=com.liferay.oauth2.provider, primKey=com.liferay.oauth2.provider, scope=4} [exec] 09:59:02,103 ERROR [http-nio-8080-exec-8][PortletServlet:112] javax.portlet.PortletException: org.apache.jasper.JasperException: java.lang.IllegalArgumentException: Someone may be trying to circumvent the permission checker: {companyId=20099, name=com.liferay.oauth2.provider, primKey=com.liferay.oauth2.provider, scope=4} [exec] javax.portlet.PortletException: org.apache.jasper.JasperException: java.lang.IllegalArgumentException: Someone may be trying to circumvent the permission checker: {companyId=20099, name=com.liferay.oauth2.provider, primKey=com.liferay.oauth2.provider, scope=4} [exec] at com.liferay.portlet.internal.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:333) [exec] at com.liferay.portlet.internal.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:128) [exec] at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:589) [exec] at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:605) [exec] at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.doDispatch(MVCPortlet.java:489) [exec] at javax.portlet.GenericPortlet.render(GenericPortlet.java:291) [exec] at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.render(MVCPortlet.java:316) [exec] at com.liferay.portlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:127) [exec] at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:58) [exec] at com.liferay.portlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:124) [exec] at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71) [exec] at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:108) [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [exec] at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153) [exec] at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62) [exec] at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120) [exec] at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48) [exec] at com.liferay.portlet.internal.InvokerPortletImpl.invoke(InvokerPortletImpl.java:564) [exec] at com.liferay.portlet.internal.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:660) [exec] at com.liferay.portlet.internal.InvokerPortletImpl.render(InvokerPortletImpl.java:357) [exec] at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.lambda$render$0(MonitoringInvokerPortlet.java:280) [exec] at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet._render(MonitoringInvokerPortlet.java:383) [exec] at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.render(MonitoringInvokerPortlet.java:278) [exec] at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(Unknown Source) [exec] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [exec] at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64) [exec] at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl$IndirectRequestDispatcher.include(DirectRequestDispatcherFactoryImpl.java:202) [exec] at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:79) [exec] at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53) [exec] at com.liferay.portal.servlet.TransferHeadersHelperImpl$TransferHeadersRequestDispatcher.include(TransferHeadersHelperImpl.java:163) [exec] at com.liferay.portlet.internal.PortletContainerImpl._render(PortletContainerImpl.java:870) [exec] at com.liferay.portlet.internal.PortletContainerImpl.lambda$render$2(PortletContainerImpl.java:216) [exec] at com.liferay.portlet.internal.PortletContainerImpl._preserveGroupIds(PortletContainerImpl.java:395) [exec] at com.liferay.portlet.internal.PortletContainerImpl.render(PortletContainerImpl.java:205) [exec] at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:142) [exec] at com.liferay.portlet.RestrictPortletContainerWrapper.lambda$render$0(RestrictPortletContainerWrapper.java:126) [exec] at com.liferay.portlet.RestrictPortletContainerWrapper._render(RestrictPortletContainerWrapper.java:183) [exec] at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:124) [exec] at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:212) [exec] at com.liferay.portal.layoutconfiguration.util.velocity.TemplateProcessor.processMax(TemplateProcessor.java:181) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.lang.reflect.Method.invoke(Method.java:498) [exec] at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) [exec] at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) [exec] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) [exec] at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) [exec] at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342) [exec] at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) [exec] at org.apache.velocity.Template.merge(Template.java:328) [exec] at org.apache.velocity.Template.merge(Template.java:235) [exec] at com.liferay.portal.template.velocity.internal.VelocityTemplate.processTemplate(VelocityTemplate.java:99) [exec] at com.liferay.portal.template.AbstractSingleResourceTemplate.processTemplate(AbstractSingleResourceTemplate.java:78) [exec] at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doProcessTemplate(RuntimePageImpl.java:423) [exec] at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doDispatch(RuntimePageImpl.java:340) [exec] at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.getProcessedTemplate(RuntimePageImpl.java:109) [exec] at com.liferay.portal.kernel.layoutconfiguration.util.RuntimePageUtil.getProcessedTemplate(RuntimePageUtil.java:36) [exec] at com.liferay.application.list.taglib.display.context.logic.PanelAppContentHelper.writeContent(PanelAppContentHelper.java:85) [exec] at org.apache.jsp.application_005fcontent.page_jsp._jspService(page_jsp:156) [exec] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [exec] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411) [exec] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473) [exec] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377) [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [exec] at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:319) [exec] at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:330) [exec] at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153) [exec] at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62) [exec] at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120) [exec] at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48) [exec] at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:67) [exec] at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl$IndirectRequestDispatcher.include(DirectRequestDispatcherFactoryImpl.java:202) [exec] at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:79) [exec] at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53) [exec] at com.liferay.taglib.util.IncludeTag.includePage(IncludeTag.java:385) [exec] at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:362) [exec] at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:215) [exec] at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:89) [exec] at org.apache.jsp.layout.view.control_005fpanel_jsp._jspService(control_005fpanel_jsp:131) [exec] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [exec] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411) [exec] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473) [exec] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377) [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [exec] at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:319) [exec] at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:330) [exec] at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153) [exec] at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62) [exec] at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120) [exec] at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48) [exec] at com.liferay.portal.servlet.TransferHeadersHelperImpl$TransferHeadersRequestDispatcher.include(TransferHeadersHelperImpl.java:163) [exec] at com.liferay.portal.kernel.model.impl.BaseLayoutTypeControllerImpl.includeLayoutContent(BaseLayoutTypeControllerImpl.java:106) [exec] at com.liferay.portal.model.impl.LayoutImpl.includeLayoutContent(LayoutImpl.java:886) [exec] at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:407) [exec] at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:174) [exec] at com.liferay.portal.struts.PortalRequestProcessor._process(PortalRequestProcessor.java:561) [exec] at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:184) [exec] at com.liferay.portal.internal.servlet.MainServlet.doGet(MainServlet.java:207) [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) [exec] at com.liferay.portal.internal.servlet.MainServlet.service(MainServlet.java:626) [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [exec] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:103) [exec] at com.liferay.portal.apio.internal.architect.servlet.filter.APIDocumentationFilter.processFilter(APIDocumentationFilter.java:74) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112) [exec] at com.liferay.portal.servlet.filters.password.modified.PasswordModifiedFilter.processFilter(PasswordModifiedFilter.java:57) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144) [exec] at com.liferay.portal.servlet.filters.secure.BaseAuthFilter.processFilter(BaseAuthFilter.java:340) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144) [exec] at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:178) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:101) [exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [exec] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712) [exec] at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459) [exec] at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384) [exec] at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312) [exec] at com.liferay.friendly.url.internal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:372) [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [exec] at com.liferay.portal.servlet.ServletAdapter.service(ServletAdapter.java:98) [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [exec] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:103) [exec] at com.liferay.portal.apio.internal.architect.servlet.filter.APIDocumentationFilter.processFilter(APIDocumentationFilter.java:74) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144) [exec] at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:340) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144) [exec] at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:360) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112) [exec] at com.liferay.portal.servlet.filters.password.modified.PasswordModifiedFilter.processFilter(PasswordModifiedFilter.java:57) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144) [exec] at com.liferay.portal.servlet.filters.secure.BaseAuthFilter.processFilter(BaseAuthFilter.java:340) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144) [exec] at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:88) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144) [exec] at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:260) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144) [exec] at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144) [exec] at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:263) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144) [exec] at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:178) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96) [exec] at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) [exec] at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) [exec] at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) [exec] at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389) [exec] at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65) [exec] at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96) [exec] at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:101) [exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [exec] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) [exec] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [exec] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491) [exec] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [exec] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [exec] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [exec] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [exec] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) [exec] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [exec] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:764) [exec] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1388) [exec] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [exec] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [exec] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [exec] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [exec] at java.lang.Thread.run(Thread.java:745) [exec] Caused by: org.apache.jasper.JasperException: java.lang.IllegalArgumentException: Someone may be trying to circumvent the permission checker: {companyId=20099, name=com.liferay.oauth2.provider, primKey=com.liferay.oauth2.provider, scope=4} [exec] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:440) [exec] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473) [exec] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377) [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [exec] at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:319) [exec] at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:330) [exec] at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153) [exec] at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62) [exec] at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120) [exec] at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48) [exec] at com.liferay.portlet.internal.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:318) [exec] ... 234 more [exec] Caused by: java.lang.IllegalArgumentException: Someone may be trying to circumvent the permission checker: {companyId=20099, name=com.liferay.oauth2.provider, primKey=com.liferay.oauth2.provider, scope=4} [exec] at com.liferay.portal.security.permission.AdvancedPermissionChecker._hasUserPermissionImpl(AdvancedPermissionChecker.java:1485) [exec] at com.liferay.portal.security.permission.AdvancedPermissionChecker._hasPermissionImpl(AdvancedPermissionChecker.java:1443) [exec] at com.liferay.portal.security.permission.AdvancedPermissionChecker.hasPermission(AdvancedPermissionChecker.java:300) [exec] at com.liferay.staging.security.internal.permission.StagingPermissionChecker.hasPermission(StagingPermissionChecker.java:161) [exec] at com.liferay.staging.security.internal.permission.StagingPermissionChecker.hasPermission(StagingPermissionChecker.java:177) [exec] at com.liferay.oauth2.provider.web.internal.display.context.BaseOAuth2PortletDisplayContext.hasAddApplicationPermission(BaseOAuth2PortletDisplayContext.java:83) [exec] at org.apache.jsp.admin.view_jsp._jspService(view_jsp:372) [exec] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [exec] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411) [exec] ... 244 more [exec] Caused by: com.liferay.portal.kernel.exception.NoSuchResourcePermissionException: {companyId=20099, name=com.liferay.oauth2.provider, primKey=com.liferay.oauth2.provider, scope=4} [exec] at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.hasResourcePermission(ResourcePermissionLocalServiceImpl.java:1044) [exec] at sun.reflect.GeneratedMethodAccessor1191.invoke(Unknown Source) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.lang.reflect.Method.invoke(Method.java:498) [exec] at com.liferay.portal.spring.aop.AopMethod.invoke(AopMethod.java:88) [exec] at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:96) [exec] at com.liferay.portal.spring.transaction.DefaultTransactionExecutor._execute(DefaultTransactionExecutor.java:129) [exec] at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:52) [exec] at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:66) [exec] at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:93) [exec] at com.liferay.portal.spring.aop.ServiceBeanAopInvocationHandler.invoke(ServiceBeanAopInvocationHandler.java:45) [exec] at com.sun.proxy.$Proxy33.hasResourcePermission(Unknown Source) [exec] at com.liferay.portal.service.impl.ResourceLocalServiceImpl.hasUserPermissions(ResourceLocalServiceImpl.java:406) [exec] at sun.reflect.GeneratedMethodAccessor1190.invoke(Unknown Source) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.lang.reflect.Method.invoke(Method.java:498) [exec] at com.liferay.portal.spring.aop.AopMethod.invoke(AopMethod.java:88) [exec] at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:96) [exec] at com.liferay.portal.spring.aop.ServiceBeanAopInvocationHandler.invoke(ServiceBeanAopInvocationHandler.java:45) [exec] at com.sun.proxy.$Proxy47.hasUserPermissions(Unknown Source) [exec] at com.liferay.portal.kernel.service.ResourceLocalServiceUtil.hasUserPermissions(ResourceLocalServiceUtil.java:327) [exec] at com.liferay.portal.security.permission.AdvancedPermissionChecker.doCheckPermission(AdvancedPermissionChecker.java:477) [exec] at com.liferay.portal.security.permission.AdvancedPermissionChecker._hasUserPermissionImpl(AdvancedPermissionChecker.java:1474) [exec] ... 253 more [exec] 09:59:02,112 ERROR [http-nio-8080-exec-8][render_portlet_jsp:131] null [exec] com.liferay.portal.kernel.exception.NoSuchResourcePermissionException: {companyId=20099, name=com.liferay.oauth2.provider, primKey=com.liferay.oauth2.provider, scope=4} [exec] at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.hasResourcePermission(ResourcePermissionLocalServiceImpl.java:1044) [exec] at com.liferay.portal.spring.aop.AopMethod.invoke(AopMethod.java:88) [exec] at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:96) [exec] at com.liferay.portal.spring.transaction.DefaultTransactionExecutor._execute(DefaultTransactionExecutor.java:129) [exec] at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:52) [exec] at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:66) [exec] at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:93) [exec] at com.liferay.portal.spring.aop.ServiceBeanAopInvocationHandler.invoke(ServiceBeanAopInvocationHandler.java:45) [exec] at com.liferay.portal.service.impl.ResourceLocalServiceImpl.hasUserPermissions(ResourceLocalServiceImpl.java:406) [exec] at com.liferay.portal.spring.aop.AopMethod.invoke(AopMethod.java:88) [exec] at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:96) [exec] at com.liferay.portal.spring.aop.ServiceBeanAopInvocationHandler.invoke(ServiceBeanAopInvocationHandler.java:45) [exec] at com.liferay.portal.kernel.service.ResourceLocalServiceUtil.hasUserPermissions(ResourceLocalServiceUtil.java:327) [exec] at com.liferay.portal.security.permission.AdvancedPermissionChecker.doCheckPermission(AdvancedPermissionChecker.java:477) [exec] at com.liferay.portal.security.permission.AdvancedPermissionChecker._hasUserPermissionImpl(AdvancedPermissionChecker.java:1474) [exec] at com.liferay.portal.security.permission.AdvancedPermissionChecker._hasPermissionImpl(AdvancedPermissionChecker.java:1443) [exec] at com.liferay.portal.security.permission.AdvancedPermissionChecker.hasPermission(AdvancedPermissionChecker.java:300) [exec] at com.liferay.staging.security.internal.permission.StagingPermissionChecker.hasPermission(StagingPermissionChecker.java:161) [exec] at com.liferay.staging.security.internal.permission.StagingPermissionChecker.hasPermission(StagingPermissionChecker.java:177) [exec] at com.liferay.oauth2.provider.web.internal.display.context.BaseOAuth2PortletDisplayContext.hasAddApplicationPermission(BaseOAuth2PortletDisplayContext.java:83)
      

      Bug is likely caused by this PR as the OAuth2 functional test failed for the first time in this PR's relevant suite:
      https://github.com/brianchandotcom/liferay-portal/pull/65384#issuecomment-442523677

      Additionally, we ran the OAuth2 functional test on the hash directly prior to the commits introduced in this PR which passed.

      Reproduced on:
      Portal master Git SHA: 06cba80735e6677be9be35cc1d143ed01397f0ea

      Not reproduced on:
      Portal master Git SHA: 622a387cd7517ee29a540a0b18de659224aa71c9

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package