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 Apereo Issues by Gary Maxwell, 1 year ago
=PortletTypeImpl [internalId=1, name=Portlet, descr=Adapter for JSR-168 Portlets, cpdUri=/org/jasig/portal/portlets/GenericPortlet.cpd.xml]]]]' threw an exception while executing serveResource.
via Apereo Issues by Gary Maxwell, 2 years ago
=PortletTypeImpl [internalId=1, name=Portlet, descr=Adapter for JSR-168 Portlets, cpdUri=/org/jasig/portal/portlets/GenericPortlet.cpd.xml]]]]' threw an exception while executing serveResource.
via jasig.org by Unknown author, 2 years ago
=PortletTypeImpl [internalId=1, name=Portlet, descr=Adapter JSR-168 Portlets, cpdUri=/org/jasig/portal/portlets/GenericPortlet.cpd.xml]]]]' threw an exception executing serveResource.
org.jasig.portal.portlet.PortletDispatchException: The portlet window 'PortletWindow [portletWindowId=76_n21_4, delegationParentId=null, portletMode=view, windowState=normal, expirationCache=null, renderParameters={}, publicRenderParameters={}, portletEntity=PortletEntity [portletEntityId=76_n21_4, layoutNodeId=n21, userId=4, portletDefinition=PortletDefinition [portletDefinitionId=76, fname=gatewayportlet, portletDescriptorKey=PortletDescriptorKey [frameworkPortlet=false, webAppName=/gatewayportlet, portletName=GatewayPortlet], portletType=PortletTypeImpl [internalId=1, name=Portlet, descr=Adapter for JSR-168 Portlets, cpdUri=/org/jasig/portal/portlets/GenericPortlet.cpd.xml]]]]' threw an exception while executing serveResource. at org.jasig.portal.portlet.rendering.PortletRendererImpl.doServeResource(PortletRendererImpl.java:442) at org.jasig.portal.portlet.rendering.worker.PortletResourceExecutionWorker.callInternal(PortletResourceExecutionWorker.java:50) at org.jasig.portal.portlet.rendering.worker.PortletResourceExecutionWorker.callInternal(PortletResourceExecutionWorker.java:31) at org.jasig.portal.portlet.rendering.worker.PortletExecutionWorker$1.call(PortletExecutionWorker.java:145) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)Caused by: javax.portlet.PortletException: java.lang.IllegalStateException: getOutputStream() has already been called for this response at org.apache.pluto.container.impl.PortletRequestDispatcherImpl.doDispatch(PortletRequestDispatcherImpl.java:185) at org.apache.pluto.container.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:222) at edu.fortlewis.portlet.GatewayPortlet.GatewayController.serveResource(GatewayController.java:165) at org.jasig.portal.portlet.container.FilterChainImpl.doFilter(FilterChainImpl.java:212) at org.jasig.portal.portlet.container.FilterChainImpl.processFilter(FilterChainImpl.java:84) at org.jasig.portal.portlet.container.FilterManagerImpl.processFilter(FilterManagerImpl.java:103) at org.apache.pluto.container.driver.PortletServlet.dispatch(PortletServlet.java:350) at org.apache.pluto.container.driver.PortletServlet.doGet(PortletServlet.java:261) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) 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:646) 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 org.apache.pluto.driver.container.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:229) at org.apache.pluto.driver.container.DefaultPortletInvokerService.serveResource(DefaultPortletInvokerService.java:149) at org.apache.pluto.container.impl.PortletContainerImpl.doServeResource(PortletContainerImpl.java:203) at org.jasig.portal.portlet.rendering.PortletRendererImpl.doServeResource(PortletRendererImpl.java:418) ... 8 moreCaused by: java.lang.IllegalStateException: getOutputStream() has already been called for this response at org.apache.catalina.connector.Response.getWriter(Response.java:611) at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:198) at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:112) at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:112) at org.jasig.portal.portlet.rendering.worker.GuardingHttpServletResponse.getWriter(GuardingHttpServletResponse.java:257) at org.jasig.portal.utils.web.AbstractHttpServletResponseWrapper.getWriter(AbstractHttpServletResponseWrapper.java:106) at org.jasig.portal.portlet.container.PortletMimeResponseContextImpl.getWriter(PortletMimeResponseContextImpl.java:176) at org.apache.pluto.container.impl.MimeResponseImpl.getWriter(MimeResponseImpl.java:148) at org.apache.pluto.container.impl.ResourceResponseImpl.getWriter(ResourceResponseImpl.java:81) at org.apache.pluto.container.impl.HttpServletPortletResponseWrapper.getWriter(HttpServletPortletResponseWrapper.java:262) at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125) at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:118) at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:180) at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:118) at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:77) at org.apache.jsp.WEB_002dINF.jsp.dynamicForm_jsp._jspService(dynamicForm_jsp.java:165) 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:388) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) 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:646) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488) at org.apache.pluto.container.impl.PortletRequestDispatcherImpl.doDispatch(PortletRequestDispatcherImpl.java:174) ... 27 more