[jboss-jira] [JBoss JIRA] Resolved: (JBPORTAL-2010) error after deleting a WSRP consumer
Thomas Heute (JIRA)
jira-events at lists.jboss.org
Fri May 9 03:59:21 EDT 2008
[ http://jira.jboss.com/jira/browse/JBPORTAL-2010?page=all ]
Thomas Heute resolved JBPORTAL-2010.
------------------------------------
Resolution: Done
Should be fine now
> error after deleting a WSRP consumer
> ------------------------------------
>
> Key: JBPORTAL-2010
> URL: http://jira.jboss.com/jira/browse/JBPORTAL-2010
> Project: JBoss Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Portal WSRP
> Affects Versions: 2.6.5 Final
> Reporter: Prabhat Jha
> Assigned To: Thomas Heute
> Fix For: 2.6.5 Final
>
>
> -Create a bea consumer
> - Create instance of hello world portlet
> - Delete bea consumer
> - Go to portlet definitions. you will get the following. This is not a WSRP problem. There should be a check if provider exists or not.
> javax.portlet.PortletException: /WEB-INF/jsf/portlets.xhtml: Exception getting value of property selectedPortlet of base of type : org.jboss.portal.core.admin.ui.PortletManagerBean
> at org.apache.myfaces.portlet.MyFacesGenericPortlet.handleExceptionFromLifecycle(MyFacesGenericPortlet.java:310)
> at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:502)
> at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:323)
> at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
> at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
> Caused by
> java.lang.NullPointerException
> at org.jboss.portal.core.admin.ui.PortletManagerBean.getSelectedPortlet(PortletManagerBean.java:340)
> at sun.reflect.GeneratedMethodAccessor726.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:457)
> at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:85)
> at org.jboss.portal.faces.el.DelegatingPropertyResolver.getValue(DelegatingPropertyResolver.java:166)
> at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:141)
> at com.sun.el.parser.AstValue.getValue(AstValue.java:96)
> at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:183)
> at com.sun.facelets.el.ELText$ELTextVariable.toString(ELText.java:160)
> at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:45)
> at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:34)
> at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
> at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
> at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
> at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:540)
> at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
> at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
> at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:498)
> at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:323)
> at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
> at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
> at org.jboss.portal.faces.loader.FacesPortlet.render(FacesPortlet.java:100)
> at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)
> at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405)
> at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
> at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
> at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeRequired$aop(TransactionInterceptor.java:106)
> at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
> at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
> at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
> at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
> at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
> at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
> at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
> at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeRequired(TransactionInterceptor.java)
> at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:72)
> at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
> at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
> at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
> at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
> at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
> at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58)
> at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
> at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
> at org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51)
> at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
> at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
> at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62)
> at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
> at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
> at org.jboss.portal.portlet.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:47)
> at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
> at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
> at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
> at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
> at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
> at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:80)
> at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
> at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
> at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:46)
> at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
> at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
> at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:104)
> at org.jboss.portal.web.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:74)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list