[
http://jira.jboss.com/jira/browse/JBPORTAL-516?page=comments#action_12363287 ]
Miguel Quesada commented on JBPORTAL-516:
-----------------------------------------
This is still happening in JBoss Portal 2.4 on top of JBoss AS 4.0.4 GA
After logging out and back in the error goes away and the Portlet can be viewed
succesfully.
Clicking Destroy for a Portlet instance in a page throws an exception
and clears the manager
--------------------------------------------------------------------------------------------
Key: JBPORTAL-516
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-516
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Portal Core
Environment: Java 1.4.3, JBoss AS 4.0.3 SP1, JBoss Portal 2.2 RC1, Windows XP
Reporter: jamie mccrindle
Assigned To: Julien Viet
Priority: Minor
Fix For: 2.2 Final
When selecting a portlet instance that I've added to portlet page in the management
console and then clicking destroy, it throws an exception and clears the management
portlet. I get the following error:
16:55:55,516 ERROR [[/portal-core]] Encountered a node [0:0:4] + with an illogic
al state. Node is expanded but it is also considered a leaf (a leaf cannot be c
onsidered expanded.
java.lang.IllegalStateException: Encountered a node [0:0:4] + with an illogical
state. Node is expanded but it is also considered a leaf (a leaf cannot be cons
idered expanded.
at org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeNavigation(Htm
lTreeRenderer.java:463)
at org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeCurrentNode(Ht
mlTreeRenderer.java:346)
at org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeTree(HtmlTreeR
enderer.java:248)
at org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeTree(HtmlTreeR
enderer.java:276)
at org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeTree(HtmlTreeR
enderer.java:276)
at org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeChildren(HtmlT
reeRenderer.java:196)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.
java:319)
at org.apache.myfaces.renderkit.RendererUtils.renderChild(RendererUtils.
java:444)
at org.apache.myfaces.renderkit.RendererUtils.renderChildren(RendererUti
ls.java:427)
at org.apache.myfaces.renderkit.RendererUtils.renderChild(RendererUtils.
java:448)
at org.apache.myfaces.renderkit.RendererUtils.renderChildren(RendererUti
ls.java:427)
at org.apache.myfaces.renderkit.html.HtmlGroupRendererBase.encodeEnd(Htm
lGroupRendererBase.java:62)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:
331)
at org.apache.myfaces.renderkit.RendererUtils.renderChild(RendererUtils.
java:450)
at org.apache.myfaces.renderkit.html.HtmlGridRendererBase.renderChildren
(HtmlGridRendererBase.java:203)
at org.apache.myfaces.renderkit.html.HtmlGridRendererBase.encodeEnd(Html
GridRendererBase.java:85)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:
331)
at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandle
r.java:547)
at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandle
r.java:544)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav
a:450)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:
300)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesG
enericPortlet.java:396)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGeneri
cPortlet.java:266)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:154)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:394)
at org.jboss.portal.portlet.PortletContainer.invokeRender(PortletContain
er.java:499)
at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.j
ava:416)
at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInv
ocation.java:66)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:127)
at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke
(TransactionInterceptor.java:59)
at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
rceptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(Head
erInterceptor.java:37)
at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
rceptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.server.aspects.component.NavigationInterceptor.invok
e(NavigationInterceptor.java:63)
at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
rceptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(Cac
heInterceptor.java:98)
at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
rceptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(Mod
esInterceptor.java:38)
at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
rceptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.inv
oke(WindowStatesInterceptor.java:32)
at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
rceptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.ja
va:36)
at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
rceptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterce
ptor.invoke(SessionPostDispatchInterceptor.java:71)
at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
rceptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.server.aspects.component.ContextDispatcherIntercepto
r$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:116)
at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.j
ava:88)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
ispatcher.java:539)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
patcher.java:499)
at org.jboss.portal.server.app.impl.AbstractRequestContext.include(Abstr
actRequestContext.java:234)
at org.jboss.portal.server.aspects.component.ContextDispatcherIntercepto
r$1.include(ContextDispatcherInterceptor.java:60)
at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet
.java:68)
at org.jboss.portal.server.aspects.component.ContextDispatcherIntercepto
r.invoke(ContextDispatcherInterceptor.java:66)
at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
rceptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.portlet.aspects.component.SessionPreDispatchIntercep
tor.invoke(SessionPreDispatchInterceptor.java:97)
at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
rceptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.i
nvoke(ContextTrackerInterceptor.java:36)
at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
rceptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor
.invoke(SecureTransportInterceptor.java:56)
at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
rceptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(Va
lveInterceptor.java:51)
at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
rceptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:
162)
at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindo
wCommand.java:71)
at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCo
mmand.java:65)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:127)
at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.
invoke(EventBroadcasterInterceptor.java:72)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
eptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor
.invoke(PolicyEnforcementInterceptor.java:156)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
eptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke
(PortalNodeInterceptor.java:48)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
eptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke
(NavigationInterceptor.java:55)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
eptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:
162)
at org.jboss.portal.core.command.CommandContext.execute(CommandContext.j
ava:94)
at org.jboss.portal.core.command.CommandContext.chain(CommandContext.jav
a:128)
at org.jboss.portal.core.command.RenderPageCommand.renderPortlets(Render
PageCommand.java:218)
at org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCom
mand.java:151)
at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCo
mmand.java:65)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:127)
at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.
invoke(EventBroadcasterInterceptor.java:72)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
eptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor
.invoke(PolicyEnforcementInterceptor.java:156)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
eptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke
(PortalNodeInterceptor.java:48)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
eptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke
(NavigationInterceptor.java:45)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterc
eptor.java:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:
162)
at org.jboss.portal.core.command.CommandContext.execute(CommandContext.j
ava:94)
at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionConte
xt.java:80)
at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionConte
xt.java:64)
at org.jboss.portal.core.CoreController.handle(CoreController.java:177)
at sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.ja
va:273)
at $Proxy133.handle(Unknown Source)
at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.ja
va:63)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:127)
at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.in
voke(SubjectAssociationInterceptor.java:35)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.inv
oke(PolicyAssociationInterceptor.java:40)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(
ContentTypeInterceptor.java:55)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleI
nterceptor.java:58)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInter
ceptor.java:171)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.
invoke(SessionInvalidatorInterceptor.java:74)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(Tr
ansactionInterceptor.java:62)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:25)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:117)
at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:
162)
at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.jav
a:208)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
ipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:159)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:482)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
kerThread.java:112)
at java.lang.Thread.run(Thread.java:534)
--
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