Community Sample -Survey Portlet

Hi All,

I want to use survey portlet on my company's portal. I use Sun portal server7 with web application on x86 Solaris

Then, I try to use "Survey Portlet" from community sample on Enterprise Sample. But it doesn't work. It show some errors like this :

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: java.lang.IllegalArgumentException: ID string is not valid format: test

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.portal.community.CommunityId.<init>(CommunityId.java:63)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.portal.app.collab.survey.util.SurveyUtil.getCommunityId(SurveyUtil.java:91)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.portal.app.collab.survey.faces.SummaryBackingBean.getSummaries(SummaryBackingBean.java:125)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at java.lang.reflect.Method.invoke(Method.java:585)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:79)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.web.ui.faces.UIComponentPropertyResolver.getValue(UIComponentPropertyResolver.java:84)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.web.ui.faces.DataProviderPropertyResolver.getValue(DataProviderPropertyResolver.java:150)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.web.ui.component.TableRowGroupBase.getSourceData(TableRowGroupBase.java:2149)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.web.ui.component.TableRowGroup.getTableRowDataProvider(TableRowGroup.java:838)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.web.ui.component.TableRowGroup.getRowKey(TableRowGroup.java:759)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.web.ui.component.TableRowGroup.getClientId(TableRowGroup.java:1562)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:434)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at _jsps._WEB_0002dINF._jsp._surveys._summary_jsp._jspService(_summary_jsp.java:383)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:628)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:539)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.portal.portlet.impl.RequestDispatcherImpl.include(RequestDispatcherImpl.java:95)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.faces.portlet.ExternalContextImpl.dispatch(ExternalContextImpl.java:124)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.faces.portlet.ViewHandlerImpl.renderView(ViewHandlerImpl.java:125)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.faces.portlet.LifecycleImpl$RenderResponsePhase.execute(LifecycleImpl.java:690)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.faces.portlet.LifecycleImpl.phase(LifecycleImpl.java:322)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.faces.portlet.LifecycleImpl.render(LifecycleImpl.java:246)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.faces.portlet.FacesPortlet.render(FacesPortlet.java:314)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.portal.portletappengine.PortletAppEngineServlet.service(PortletAppEngineServlet.java:324)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:628)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:539)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.portal.container.portlet.impl.PortletContainer.invokePAE(PortletContainer.java:586)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.portal.container.portlet.impl.PortletContainer.getMarkup(PortletContainer.java:203)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.portal.providers.window.WindowProvider.getPortletContent(WindowProvider.java:388)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.portal.providers.window.WindowProvider.getContentInternal(WindowProvider.java:236)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.portal.providers.window.WindowProvider.getContent(WindowProvider.java:199)

[04/May/2006:15:21:28] warning ( 2273): CORE3283: stderr: at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:164)

[04/May/2006:15:21:28] failure ( 2273):for host 192.168.180.173 trying to GET /portal/dt, service-j2ee reports: ApplicationDispatcher[/surveys] WEB2649: Servlet.service()for servlet jsp threw exception

javax.faces.el.EvaluationException: javax.faces.el.EvaluationException: Error getting property'summaries' from bean of type com.sun.portal.app.collab.survey.faces.SummaryBackingBean: java.lang.NullPointerException

at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)

at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)

at com.sun.web.ui.component.TableRowGroupBase.getSourceData(TableRowGroupBase.java:2149)

at com.sun.web.ui.component.TableRowGroup.getTableRowDataProvider(TableRowGroup.java:838)

at com.sun.web.ui.component.TableRowGroup.getRowKey(TableRowGroup.java:759)

at com.sun.web.ui.component.TableRowGroup.getClientId(TableRowGroup.java:1562)

at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:434)

at _jsps._WEB_0002dINF._jsp._surveys._summary_jsp._jspService(_summary_jsp.java:383)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)

at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)

at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)

at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:628)

at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:539)

at com.sun.portal.portlet.impl.RequestDispatcherImpl.include(RequestDispatcherImpl.java:95)

at com.sun.faces.portlet.ExternalContextImpl.dispatch(ExternalContextImpl.java:124)

at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)

at com.sun.faces.portlet.ViewHandlerImpl.renderView(ViewHandlerImpl.java:125)

at com.sun.faces.portlet.LifecycleImpl$RenderResponsePhase.execute(LifecycleImpl.java:690)

at com.sun.faces.portlet.LifecycleImpl.phase(LifecycleImpl.java:322)

at com.sun.faces.portlet.LifecycleImpl.render(LifecycleImpl.java:246)

at com.sun.faces.portlet.FacesPortlet.render(FacesPortlet.java:314)

at com.sun.portal.portletappengine.PortletAppEngineServlet.service(PortletAppEngineServlet.java:324)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)

at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:628)

at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:539)

at com.sun.portal.container.portlet.impl.PortletContainer.invokePAE(PortletContainer.java:586)

at com.sun.portal.container.portlet.impl.PortletContainer.getMarkup(PortletContainer.java:203)

at com.sun.portal.providers.window.WindowProvider.getPortletContent(WindowProvider.java:388)

at com.sun.portal.providers.window.WindowProvider.getContentInternal(WindowProvider.java:236)

at com.sun.portal.providers.window.WindowProvider.getContent(WindowProvider.java:199)

at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:164)

Caused by: javax.faces.el.EvaluationException: Error getting property'summaries' from bean of type com.sun.portal.app.collab.survey.faces.SummaryBackingBean: java.lang.NullPointerException

at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:89)

at com.sun.web.ui.faces.UIComponentPropertyResolver.getValue(UIComponentPropertyResolver.java:84)

at com.sun.web.ui.faces.DataProviderPropertyResolver.getValue(DataProviderPropertyResolver.java:150)

at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)

at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151)

at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(Expres

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: java.lang.IllegalArgumentException: ID string is not valid format: test

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.portal.community.CommunityId.<init>(CommunityId.java:63)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.portal.app.collab.survey.util.SurveyUtil.getCommunityId(SurveyUtil.java:91)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.portal.app.collab.survey.faces.SummaryBackingBean.getSummaries(SummaryBackingBean.java:125)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at java.lang.reflect.Method.invoke(Method.java:585)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:79)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.web.ui.faces.UIComponentPropertyResolver.getValue(UIComponentPropertyResolver.java:84)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.web.ui.faces.DataProviderPropertyResolver.getValue(DataProviderPropertyResolver.java:150)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.web.ui.component.TableRowGroupBase.getSourceData(TableRowGroupBase.java:2149)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.web.ui.component.TableRowGroup.getTableRowDataProvider(TableRowGroup.java:838)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.web.ui.component.TableRowGroup.getRowKey(TableRowGroup.java:759)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.web.ui.component.TableRowGroup.getClientId(TableRowGroup.java:1562)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:434)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at _jsps._WEB_0002dINF._jsp._surveys._summary_jsp._jspService(_summary_jsp.java:383)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:628)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:539)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.portal.portlet.impl.RequestDispatcherImpl.include(RequestDispatcherImpl.java:95)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.faces.portlet.ExternalContextImpl.dispatch(ExternalContextImpl.java:124)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.faces.portlet.ViewHandlerImpl.renderView(ViewHandlerImpl.java:125)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.faces.portlet.LifecycleImpl$RenderResponsePhase.execute(LifecycleImpl.java:690)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.faces.portlet.LifecycleImpl.phase(LifecycleImpl.java:322)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.faces.portlet.LifecycleImpl.render(LifecycleImpl.java:246)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.faces.portlet.FacesPortlet.render(FacesPortlet.java:314)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.portal.portletappengine.PortletAppEngineServlet.service(PortletAppEngineServlet.java:324)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:628)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:539)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.portal.container.portlet.impl.PortletContainer.invokePAE(PortletContainer.java:586)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.portal.container.portlet.impl.PortletContainer.getMarkup(PortletContainer.java:203)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.portal.providers.window.WindowProvider.getPortletContent(WindowProvider.java:388)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.portal.providers.window.WindowProvider.getContentInternal(WindowProvider.java:236)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.portal.providers.window.WindowProvider.getContent(WindowProvider.java:199)

[04/May/2006:15:22:02] warning ( 2273): CORE3283: stderr: at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:164)

[04/May/2006:15:22:02] failure ( 2273):for host 192.168.180.173 trying to GET /portal/dt, service-j2ee reports: ApplicationDispatcher[/surveys] WEB2649: Servlet.service()for servlet jsp threw exception

javax.faces.el.EvaluationException: javax.faces.el.EvaluationException: Error getting property'summaries' from bean of type com.sun.portal.app.collab.survey.faces.SummaryBackingBean: java.lang.NullPointerException

at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)

at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)

at com.sun.web.ui.component.TableRowGroupBase.getSourceData(TableRowGroupBase.java:2149)

at com.sun.web.ui.component.TableRowGroup.getTableRowDataProvider(TableRowGroup.java:838)

at com.sun.web.ui.component.TableRowGroup.getRowKey(TableRowGroup.java:759)

at com.sun.web.ui.component.TableRowGroup.getClientId(TableRowGroup.java:1562)

at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:434)

at _jsps._WEB_0002dINF._jsp._surveys._summary_jsp._jspService(_summary_jsp.java:383)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)

at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)

at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)

at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:628)

at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:539)

at com.sun.portal.portlet.impl.RequestDispatcherImpl.include(RequestDispatcherImpl.java:95)

at com.sun.faces.portlet.ExternalContextImpl.dispatch(ExternalContextImpl.java:124)

at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)

at com.sun.faces.portlet.ViewHandlerImpl.renderView(ViewHandlerImpl.java:125)

at com.sun.faces.portlet.LifecycleImpl$RenderResponsePhase.execute(LifecycleImpl.java:690)

at com.sun.faces.portlet.LifecycleImpl.phase(LifecycleImpl.java:322)

at com.sun.faces.portlet.LifecycleImpl.render(LifecycleImpl.java:246)

at com.sun.faces.portlet.FacesPortlet.render(FacesPortlet.java:314)

at com.sun.portal.portletappengine.PortletAppEngineServlet.service(PortletAppEngineServlet.java:324)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)

at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:628)

at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:539)

at com.sun.portal.container.portlet.impl.PortletContainer.invokePAE(PortletContainer.java:586)

at com.sun.portal.container.portlet.impl.PortletContainer.getMarkup(PortletContainer.java:203)

at com.sun.portal.providers.window.WindowProvider.getPortletContent(WindowProvider.java:388)

at com.sun.portal.providers.window.WindowProvider.getContentInternal(WindowProvider.java:236)

at com.sun.portal.providers.window.WindowProvider.getContent(WindowProvider.java:199)

at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:164)

Caused by: javax.faces.el.EvaluationException: Error getting property'summaries' from bean of type com.sun.portal.app.collab.survey.faces.SummaryBackingBean: java.lang.NullPointerException

at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:89)

at com.sun.web.ui.faces.UIComponentPropertyResolver.getValue(UIComponentPropertyResolver.java:84)

at com.sun.web.ui.faces.DataProviderPropertyResolver.getValue(DataProviderPropertyResolver.java:150)

at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)

at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151)

at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(Expres

Any suggestions?

Regards,

bento

[23795 byte] By [bento0013] at [2007-11-26 6:59:10]
# 1
Do you have this same problem with all communities?Could you confirm what are the URL query params of the request when you access the faulty community for the time?
madiot at 2007-7-6 15:36:40 > top of Java-index,Web & Directory Servers,Portal Servers...
# 2
Yes, It's same problem with all communities portlet. I separate it to use only survey portlet in my portal.What's "URL query params"? Where can i see the "URL query params"?
bento0013 at 2007-7-6 15:36:40 > top of Java-index,Web & Directory Servers,Portal Servers...
# 3

what do you mean by "i separate it to use only survey portlet"?

if you deployed the community sample portal, and create a new community, this community will appear in the community home's portlet "My Communities".

The link to the created community, contains query params. essentially all after the '?' in the URL

query params might be something like :

?CommunityParentContainer.selectedChannel=jdo__myCty_Container&com.sun.port al.desktop.current.membership=jdo__myCtymember&com.sun.portal.desktop.tem porary.membership=NONE

madiot at 2007-7-6 15:36:40 > top of Java-index,Web & Directory Servers,Portal Servers...
# 4

hi,

did you manually set the preference ps.communityId to "test", for the surveys portlet? the problem appears to be as the exception message indicates: "test" is not a valid community ID. the format of a community ID <type>__<name>. "type" indicates the data source, and "name" is a datasource type unique name. for example, the community sample creates communities w/ IDs like jdo__Foo, to indicate that the community exists within the JDO datasource.

assuming you've created the portlet channel in org, you should set the ps.communityId preference to something like:

am-org__o=XXX,dc=BLAH,dc=BLECK

where o=XXX,dc=BLAH,dc=BLECK is your organization. at runtime, this will control which survey database the portlet will access. so you can use this to control which groups of users in portal share the same surveys database. for example, you could override this pref in an AM role to some other role specific value, to give users in that role access to a common surveys database.

hope this helps.

farble1670 at 2007-7-6 15:36:40 > top of Java-index,Web & Directory Servers,Portal Servers...
# 5

Hi All

Thank you for all suggestions.

Now, survey portlet already show in Enterprise sample. I can create survey on enterprise sample but it isn't work ( When i click the survey's topic, it isn't show the survey's question)

Refer to :

hi,

did you manually set the preference ps.communityId to "test", for the surveys portlet? the problem appears to be as the exception message indicates: "test" is not a valid community ID. the format of a community ID <type>__<name>. "type" indicates the data source, and "name" is a datasource type unique name. for example, the community sample creates communities w/ IDs like"jdo__Foo" , to indicate that the community exists within the JDO datasource.

assuming you've created the portlet channel in org, you should set the ps.communityId preference to something like:

"am-org__o=XXX,dc=BLAH,dc=BLECK"

where o=XXX,dc=BLAH,dc=BLECK is your organization. at runtime, this will control which survey database the portlet will access. so you can use this to control which groups of users in portal share the same surveys database. for example, you could override this pref in an AM role to some other role specific value, to give users in that role access to a common surveys database.

hope this helps.

I already set the community id to "jdo__Dev". But where should I put the "am-org__o=XXX,dc=BLAH,dc=BLECK "

Any suggestion?

bento

bento0013 at 2007-7-6 15:36:40 > top of Java-index,Web & Directory Servers,Portal Servers...