Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22972

Fix ClassCastException when saving configuration from Admin Center Setup tab

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0-HF42, 7.10-HF30, 8.10-HF12
    • Fix Version/s: 8.10-HF14, 9.3
    • Component/s: Update Center
    • Release Notes Summary:
      Saving the configuration in the Admin Setup tab works without ClassCastException
    • Sprint:
      nxcore 9.3.4
    • Story Points:
      2

      Description

      We still have some ClassCastException in Admin Center Setup tab, like the following:

      java.lang.ClassCastException: java.lang.Integer cannot be cast to java.math.BigDecimal
      at org.nuxeo.ecm.admin.setup.SetupWizardActionBean.checkDatabaseParameters(SetupWizardActionBean.java:328)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
      at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:79)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.nuxeo.ecm.platform.ui.web.util.NuxeoExceptionInterceptor.aroundInvoke(NuxeoExceptionInterceptor.java:80)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:35)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
      at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:196)
      at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:114)
      at org.nuxeo.ecm.admin.setup.SetupWizardActionBean_$$_javassist_seam_78.checkDatabaseParameters(SetupWizardActionBean_$$_javassist_seam_78.java)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335)
      at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348)
      at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
      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 javax.faces.validator.MethodExpressionValidator.validate(MethodExpressionValidator.java:106)
      at javax.faces.component.UIInput.validateValue(UIInput.java:1165)
      at javax.faces.component.UIInput.validate(UIInput.java:983)
      at javax.faces.component.UIInput.executeValidate(UIInput.java:1249)
      at javax.faces.component.UIInput.processValidators(UIInput.java:712)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIForm.processValidators(UIForm.java:253)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1258)
      at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1195)
      at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646) ... 62 more
      

      The issue was reported by https://github.com/nuxeo/nuxeo/pull/1069

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.