By: Kurt Gerrish user 27 Aug 2015 at 10:33 a.m. CDT

8 Responses
Kurt Gerrish gravatar
I am not able to delete an attribute mapping on our Dev server. I want to delete ("opeid" -> "opeidnumber"), when I click the X to the right of the mapping I receive this error "System Error. Please try again or contact a Gluu administrator for help." I have attached a screenshot of the error.

By Mohib Zico staff 27 Aug 2015 at 10:39 a.m. CDT

Mohib Zico gravatar
We will check.. most probably that's a bug.

By Aliaksandr Samuseu staff 27 Aug 2015 at 10:43 a.m. CDT

Aliaksandr Samuseu gravatar
Confirmed of 2.3.3-1 CE Here is a relevant log fragment: 2015-08-26 15:02:03,675 ERROR [org.jboss.seam.exception.Exceptions] handled and logged exception javax.servlet.ServletException: Cannot convert SimpleDoubleProperty [value1=displayname, value2=displayname] of type class org.gluu.oxtrust.model.SimpleDoubleProperty to class org.xdi.model.SimpleCustomProperty at javax.faces.webapp.FacesServlet.service(FacesServlet.java:606) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338) at org.jboss.seam.web.RewriteFilter.process(RewriteFilter.java:98) at org.jboss.seam.web.RewriteFilter.doFilter(RewriteFilter.java:57) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73) at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73) at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException: Cannot convert SimpleDoubleProperty [value1=displayname, value2=displayname] of type class org.gluu.oxtrust.model.SimpleDoubleProperty to class org.xdi.model.SimpleCustomProperty at org.jboss.el.lang.ELSupport.coerceToType(ELSupport.java:360) at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:328) at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:280) at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59) at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65) at org.jboss.el.parser.AstValue.invoke(AstValue.java:96) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105) at com.sun.faces.facelets.el.ContextualCompositeMethodExpression.invoke(ContextualCompositeMethodExpression.java:177) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) at javax.faces.component.UICommand.broadcast(UICommand.java:315) at org.richfaces.component.RowKeyContextEventWrapper.broadcast(RowKeyContextEventWrapper.java:104) at org.richfaces.component.UIDataAdaptor.broadcast(UIDataAdaptor.java:448) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:792) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1257) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) ... 40 more

By Mohib Zico staff 04 Sep 2015 at 2:03 p.m. CDT

Mohib Zico gravatar
Hi Kurt, Where is this `openidnumber` attribute located? I am searching Dev but seems like I am missing that...

By Kurt Gerrish user 04 Sep 2015 at 2:08 p.m. CDT

Kurt Gerrish gravatar
I setup an SP and was having issues, I needed to troubleshoot and wasn't sure if that mapping was causing the problem so I ended up renaming the entry in the 'Attributes mapping' section under the Cache Refresh. I changed it from ("opeid" -> "opeidnumber") to ("cannot" -> "cannotdelete"). The attribute opeid is actually being pulled from the AD and is now being used for an SP. I hope that doesn't cause an issue.

By Mohib Zico staff 04 Sep 2015 at 2:17 p.m. CDT

Mohib Zico gravatar
Alright. Then is there anything else you want us to do in this ticket?

By Kurt Gerrish user 04 Sep 2015 at 2:18 p.m. CDT

Kurt Gerrish gravatar
Is there anything I can do about deleting the entry out of the attributes mapping list, if I create an entry later and want to delete how do I go about doing that since I get a System Error whenever I click any of the "x" links to the right of the mappings.

By Mohib Zico staff 04 Sep 2015 at 3:01 p.m. CDT

Mohib Zico gravatar
Most probably it's a bug. Alex, can you please report this in github. Let's open it in https://github.com/GluuFederation/oxTrust Kurt, We have to remove this manually for now; feel free to let us know when you need that.. we will do that for you.

By Aliaksandr Samuseu staff 13 Sep 2015 at 7:06 a.m. CDT

Aliaksandr Samuseu gravatar
Hi, Zico. Sorry for delayed response, I've just reported the issue on github: [https://github.com/GluuFederation/oxTrust/issues/115](https://github.com/GluuFederation/oxTrust/issues/115)