Error Showing Portlet

Hi,

Does anyone knows what can be causing this error:

[POP.001.0002] A “javax.portlet.PortletException” occurred with the Message “com.webmethods.portal.bizPolicy.BizException: [POP.001.0002] A “javax.portlet.PortletException” occurred with the Message “at com.webmethods.caf.faces.portlet.FacesPortlet.render(FacesPortlet.java:460)””

Stack trace -->

java.lang.NullPointerException
at java.io.PrintWriter.write(PrintWriter.java:401)
at com.webmethods.caf.faces.render.html.HTMLResponseWriter.write(HTMLResponseWriter.java:576)
at com.webmethods.caf.faces.render.html.script.CustomClientScriptRenderer.writeScriptContent(CustomClientScriptRenderer.java:32)
at com.webmethods.caf.faces.render.html.script.BaseScriptRenderer.encodeEnd(BaseScriptRenderer.java:80)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:83)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.view.BaseViewHandler.renderResponse(BaseViewHandler.java:258)
at com.webmethods.caf.faces.view.BaseViewHandler.renderView(BaseViewHandler.java:124)
at com.webmethods.portal.faces.view.PortalViewHandler.renderView(PortalViewHandler.java:99)
at com.webmethods.caf.faces.portlet.PortletLifecycle$RenderResponsePhase.execute(PortletLifecycle.java:676)
at com.webmethods.caf.faces.portlet.PortletLifecycle.phase(PortletLifecycle.java:247)
at com.webmethods.caf.faces.portlet.PortletLifecycle.render(PortletLifecycle.java:179)
at com.webmethods.caf.faces.portlet.FacesPortlet.render(FacesPortlet.java:417)
at com.webmethods.portal.framework.portletcontainer.impl.PortletApplicationHandler.process(PortletApplicationHandler.java:492)
at com.webmethods.portal.framework.portletcontainer.servlet.PortletServlet.service(PortletServlet.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:286)
at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:163)
at com.webmethods.portal.framework.portletcontainer.PortletContainer.dispatch(PortletContainer.java:220)
at com.webmethods.portal.framework.portletcontainer.PortletContainer.process(PortletContainer.java:129)
at com.webmethods.portal.framework.portletcontainer.PortletContainer.renderPortlet(PortletContainer.java:102)
at com.webmethods.portal.framework.portletcontainer.beans.PortletBean.processRequest(PortletBean.java:166)
at com.webmethods.portal.framework.portletcontainer.beans.PortletBean.getContentInternal(PortletBean.java:72)
at com.webmethods.portal.framework.portlet.beans.BasicPortletBean.getContent(BasicPortletBean.java:143)
at com.webmethods.portal.mech.portlet.impl.PortletMechanics.getPortletContent(PortletMechanics.java:95)
at com.webmethods.portal.bizPolicy.command.portlet.GetPortletContent.getPortletContent(GetPortletContent.java:58)
at com.webmethods.portal.framework.portletcontainer.impl.PortletApplicationHandler$PortletProviderImpl.renderPortlet(PortletApplicationHandler.java:190)
at com.webmethods.caf.faces.render.html.output.PortletIncludeRenderer.encodeEnd(PortletIncludeRenderer.java:41)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:83)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:80)
at com.webmethods.caf.faces.view.BaseViewHandler.renderResponse(BaseViewHandler.java:258)
at com.webmethods.caf.faces.view.BaseViewHandler.renderView(BaseViewHandler.java:124)
at com.webmethods.portal.faces.view.PortalViewHandler.renderView(PortalViewHandler.java:99)
at com.webmethods.caf.faces.portlet.PortletLifecycle$RenderResponsePhase.execute(PortletLifecycle.java:676)
at com.webmethods.caf.faces.portlet.PortletLifecycle.phase(PortletLifecycle.java:247)
at com.webmethods.caf.faces.portlet.PortletLifecycle.render(PortletLifecycle.java:179)
at com.webmethods.caf.faces.portlet.FacesPortlet.render(FacesPortlet.java:417)
at com.webmethods.portal.framework.portletcontainer.impl.PortletApplicationHandler.process(PortletApplicationHandler.java:492)
at com.webmethods.portal.framework.portletcontainer.servlet.PortletServlet.service(PortletServlet.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:286)
at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:163)
at com.webmethods.portal.framework.portletcontainer.PortletContainer.dispatch(PortletContainer.java:220)
at com.webmethods.portal.framework.portletcontainer.PortletContainer.process(PortletContainer.java:129)
at com.webmethods.portal.framework.portletcontainer.PortletContainer.renderPortlet(PortletContainer.java:102)
at com.webmethods.portal.framework.portletcontainer.beans.PortletBean.processRequest(PortletBean.java:166)
at com.webmethods.portal.framework.portletcontainer.beans.PortletBean.getContentInternal(PortletBean.java:72)
at com.webmethods.portal.framework.portlet.beans.BasicPortletBean.getContent(BasicPortletBean.java:143)
at com.webmethods.portal.mech.portlet.impl.PortletMechanics.getPortletContent(PortletMechanics.java:95)
at com.webmethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:403)
at com.webmethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:375)
at com.webmethods.portal.framework.presentation.renderers.FolderRenderer.renderPortlet(FolderRenderer.java:260)
at com.webmethods.portal.framework.presentation.renderers.FolderRenderer.renderColumn(FolderRenderer.java:203)
at com.webmethods.portal.framework.presentation.renderers.FolderRenderer.renderRow(FolderRenderer.java:164)
at com.webmethods.portal.framework.presentation.renderers.FolderRenderer.renderContent(FolderRenderer.java:91)
at com.webmethods.portal.framework.presentation.renderers.FolderRenderer.renderPageContent(FolderRenderer.java:68)
at com.webmethods.portal.framework.presentation.renderers.DefaultRenderer.render(DefaultRenderer.java:188)
at com.webmethods.portal.framework.presentation.PresentationManager.handlePres(PresentationManager.java:359)
at com.webmethods.portal.framework.dispatch.DispatchManager.pres(DispatchManager.java:618)
at com.webmethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:458)
at com.webmethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:371)
at com.webmethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:242)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.webmethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.webmethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:34)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at com.webmethods.portal.webApplication.WmWebAppContext.handle(WmWebAppContext.java:159)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

Thanks,

I usually get this kind of error when something is wrong with client side html scripts etc.

It was a blank script block.

Thanks!