Exception Loading 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)””

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 …

Thanks,

You have a Custom Script control in your view that doesn’t have any javascript entered for its Code property.