[ https://issues.apache.org/jira/browse/SYNCOPE-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò updated SYNCOPE-380: ------------------------------------------- Summary: Deleting a role from admin console throws an exception (was: Deleting a role from the console throws tan exception on glassfish appserver ) > Deleting a role from admin console throws an exception > ------------------------------------------------------ > > Key: SYNCOPE-380 > URL: https://issues.apache.org/jira/browse/SYNCOPE-380 > Project: Syncope > Issue Type: Bug > Components: console > Affects Versions: 1.1.1 > Environment: -bash-4.1# cat /etc/*ease* > CentOS release 6.3 (Final) > cat: /etc/lsb-release.d: Is a directory > CentOS release 6.3 (Final) > CentOS release 6.3 (Final) > cpe:/o:centos:linux:6:GA > -bash-4.1# > Reporter: Nik Tetteh-Lartey > Priority: Minor > > deleting a role from the console throws the following exception: > Unexpected RuntimeException > Last cause: Unable to find component with id 'container' in > [TransparentWebMarkupContainer [Component id = wicket_extend6]] > Expected: 'wicket_child5:wicket_extend6.container'. > Found with similar names: '' > Markup > The problem is in > "file:/usr/glassfish-3.1/glassfish/domains/ussfactory/applications/syncope-console/WEB-INF/classes/org/apache/syncope/console/pages/ResultStatusModalPage.html": > <wicket:extend> > <wicket:fragment wicket:id="propagationResultFrag"> > <p class="ui-widget ui-corner-all ui-widget-header"> > <wicket:message key="operationResult"/> <span wicket:id="info"></span> > </p> > <div class="assignments"> > <div wicket:id="resources" class="assignment"> > <span wicket:id="attrhead">[Attributes head]</span> > <div class="profile"> > <span wicket:id="attributes"> > <div id="row"> > <div id="name"> > <span wicket:id="attrName">[Attribute name]</span> > </div> > <div id="value"> > <span wicket:id="beforeValue">[Before value]</span> > </div> > <div id="value"> > <span wicket:id="afterValue">[After value]</span> > </div> > </div> > </span> > </div> > </div> > </div> > </wicket:fragment> > <wicket:fragment wicket:id="userRequestResultFrag"> > <p><wicket:message key="selfResult"/></p> > </wicket:fragment> > <wicket:fragment wicket:id="remoteStatusFrag"> > <img wicket:id="status"/> > </wicket:fragment> > <wicket:fragment wicket:id="attrValueFrag"> > <span wicket:id="value">[After value]</span> > </wicket:fragment> > <wicket:fragment wicket:id="attrHeadFrag"> > <div class="header alt"> > <div id="resource"> > <div> > <span wicket:id="resource">[resource name]</span> > <img wicket:id="icon"/> > </div> > <div id="propagation"> > <wicket:message key="propresult">[propagation result message]</wicket:message> > > <span wicket:id="propagation">[propagation result]</span> > </div> > </div> > <div id="attrhead"> > <wicket:message key="before">[before]</wicket:message> > </div> > <div id="attrhead"> > <wicket:message key="after">[after]</wicket:message> > </div> > </div> > </wicket:fragment> > <wicket:fragment wicket:id="emptyAttrHeadFrag"> > <div class="header alt"> > <div id="resource"> > <div> > <span wicket:id="resource">[resource name]</span> > <img wicket:id="icon"/> > </div> > <div id="propagation"> > <wicket:message key="propresult">[propagation result message]</wicket:message> > > <span wicket:id="propagation">[propagation result]</span> > </div> > </div> > </div> > </wicket:fragment> > <wicket:fragment wicket:id="emptyFrag"> > </wicket:fragment> > <div wicket:id="container" id="users-contain" class="ui-widget" > style="margin:30px; width:inherit"> > <span wicket:id="resultFrag"></span> > <a class="ui-button ui-widget ui-state-default ui-corner-all > ui-button-text-only" wicket:id="close"> > <wicket:message key="close"/> > </a> > </div> > </wicket:extend> > Stacktrace > Root cause: > Unable to find component with id 'container' in > [TransparentWebMarkupContainer [Component id = wicket_extend6]] > Expected: 'wicket_child5:wicket_extend6.container'. > Found with similar names: '' > MarkupStream: [markup = > file:/usr/glassfish-3.1/glassfish/domains/ussfactory/applications/syncope-console/WEB-INF/classes/org/apache/syncope/console/pages/ResultStatusModalPage.html > <wicket:extend> > <wicket:fragment wicket:id="propagationResultFrag"> > <p class="ui-widget ui-corner-all ui-widget-header"> > <wicket:message key="operationResult"/> <span wicket:id="info"></span> > </p> > <div class="assignments"> > <div wicket:id="resources" class="assignment"> > <span wicket:id="attrhead">[Attributes head]</span> > <div class="profile"> > <span wicket:id="attributes"> > <div id="row"> > <div id="name"> > <span wicket:id="attrName">[Attribute name]</span> > </div> > <div id="value"> > <span wicket:id="beforeValue">[Before value]</span> > </div> > <div id="value"> > <span wicket:id="afterValue">[After value]</span> > </div> > </div> > </span> > </div> > </div> > </div> > </wicket:fragment> > <wicket:fragment wicket:id="userRequestResultFrag"> > <p><wicket:message key="selfResult"/></p> > </wicket:fragment> > <wicket:fragment wicket:id="remoteStatusFrag"> > <img wicket:id="status"/> > </wicket:fragment> > <wicket:fragment wicket:id="attrValueFrag"> > <span wicket:id="value">[After value]</span> > </wicket:fragment> > <wicket:fragment wicket:id="attrHeadFrag"> > <div class="header alt"> > <div id="resource"> > <div> > <span wicket:id="resource">[resource name]</span> > <img wicket:id="icon"/> > </div> > <div id="propagation"> > <wicket:message key="propresult">[propagation result message]</wicket:message> > > <span wicket:id="propagation">[propagation result]</span> > </div> > </div> > <div id="attrhead"> > <wicket:message key="before">[before]</wicket:message> > </div> > <div id="attrhead"> > <wicket:message key="after">[after]</wicket:message> > </div> > </div> > </wicket:fragment> > <wicket:fragment wicket:id="emptyAttrHeadFrag"> > <div class="header alt"> > <div id="resource"> > <div> > <span wicket:id="resource">[resource name]</span> > <img wicket:id="icon"/> > </div> > <div id="propagation"> > <wicket:message key="propresult">[propagation result message]</wicket:message> > > <span wicket:id="propagation">[propagation result]</span> > </div> > </div> > </div> > </wicket:fragment> > <wicket:fragment wicket:id="emptyFrag"> > </wicket:fragment> > <div wicket:id="container" id="users-contain" class="ui-widget" > style="margin:30px; width:inherit"> > <span wicket:id="resultFrag"></span> > <a class="ui-button ui-widget ui-state-default ui-corner-all > ui-button-text-only" wicket:id="close"> > <wicket:message key="close"/> > </a> > </div> > </wicket:extend>, index = 103, current = '<div wicket:id="container" > id="users-contain" class="ui-widget" style="margin:30px; width:inherit">' > (line 0, column 0)] > at > org.apache.wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:526) > at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1435) > at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1554) > at > org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1529) > at > org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1484) > at > org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:71) > at org.apache.wicket.Component.internalRenderComponent(Component.java:2548) > at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1493) > at org.apache.wicket.Component.internalRender(Component.java:2378) > at org.apache.wicket.Component.render(Component.java:2306) > at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1390) > at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1554) > at > org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1529) > at > org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1484) > at > org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:71) > at org.apache.wicket.Component.internalRenderComponent(Component.java:2548) > at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1493) > at org.apache.wicket.Component.internalRender(Component.java:2378) > at org.apache.wicket.Component.render(Component.java:2306) > at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1390) > at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1554) > at org.apache.wicket.Page.onRender(Page.java:876) > at org.apache.wicket.markup.html.WebPage.onRender(WebPage.java:142) > at org.apache.wicket.Component.internalRender(Component.java:2378) > at org.apache.wicket.Component.render(Component.java:2306) > at org.apache.wicket.Page.renderPage(Page.java:1010) > at > org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:116) > at > org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:196) > at > org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:165) > at > org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:861) > at > org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) > at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261) > at > org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218) > at > org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289) > at > org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259) > at > org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201) > at > org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > at > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) > at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161) > at > org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331) > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231) > at > com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317) > at > com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195) > at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849) > at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746) > at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045) > at > com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228) > at > com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) > at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) > at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) > at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) > at > com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) > at > com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) > at com.sun.grizzly.ContextTask.run(ContextTask.java:71) > at > com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) > at > com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) > at java.lang.Thread.run(Thread.java:662) > Page > [Stateless Page] | render time: | n/a: > # Path Render time (ms) Size Type Model Object > WORKAROUND: > curl -u admin:password -H "Content-Type: application/json" -X DELETE > http://10.0.0.183:9090/syncope/cxf/roles/{XXX} works with no issues -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira