Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-4115

Error when saving a content with a repeater and sub-repeater

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.8.12, 4.9.0
    • 4.8.3, 4.9.0
    • None
    • None

      See on a ODF 4.8.3 application.
      Edit a ELP and create repeater entries for acquiredSkills (first repeater with 2 entries, each first entries with 2 sub repeater entries)

      Try save

      Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null
      java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null
          at org.ametys.cms.workflow.EditContentFunction.lambda$_parseValues$15(EditContentFunction.java:776)
          at org.ametys.plugins.repository.model.ViewHelper.visitView(ViewHelper.java:77)
          at org.ametys.cms.workflow.EditContentFunction._parseValues(EditContentFunction.java:696)
          at org.ametys.cms.workflow.EditContentFunction.lambda$_parseValues$15(EditContentFunction.java:783)
          at org.ametys.plugins.repository.model.ViewHelper.visitView(ViewHelper.java:77)
          at org.ametys.cms.workflow.EditContentFunction._parseValues(EditContentFunction.java:696)
          at org.ametys.cms.workflow.EditContentFunction.lambda$_parseValues$16(EditContentFunction.java:790)
          at org.ametys.plugins.repository.model.ViewHelper.visitView(ViewHelper.java:82)
          at org.ametys.cms.workflow.EditContentFunction._parseValues(EditContentFunction.java:696)
          at org.ametys.cms.workflow.EditContentFunction.getValues(EditContentFunction.java:677)
          at org.ametys.cms.workflow.EditContentFunction.execute(EditContentFunction.java:287)
          at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:871)
          at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1044)
          at org.ametys.plugins.workflow.AbstractAmetysWorkflow.transitionWorkflow(AbstractAmetysWorkflow.java:213)
      

      Similar error to issue RUNTIME-3897

          [RUNTIME-4115] Error when saving a content with a repeater and sub-repeater

          Laurence Aumeunier made changes -
          Fix Version/s New: 4.8.12 [ 19602 ]
          Fix Version/s Original: 4.8.11 [ 19581 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.8.11 [ 19581 ]
          Fix Version/s Original: 4.8.10 [ 19481 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.8.10 [ 19481 ]
          Fix Version/s Original: 4.8.9 [ 19435 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.8.9 [ 19435 ]
          Fix Version/s Original: 4.8.8 [ 19424 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.8.8 [ 19424 ]
          Fix Version/s Original: 4.8.7 [ 19401 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.8.7 [ 19401 ]
          Fix Version/s Original: 4.8.6 [ 19380 ]
          Raphaël Franchet made changes -
          Fix Version/s New: 4.8.6 [ 19380 ]
          Fix Version/s New: 4.9.0 [ 18880 ]
          Laurence Aumeunier made changes -
          Description Original: See on a ODF 4.8.3 application.
          Edit a ELP and create repeater entries for acquiredSkills (first repeater with 2 entries, each first entries with 2 sub repeater entries)

          Try save
          {noformat}
          Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null
          java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null
              at org.ametys.cms.workflow.EditContentFunction.lambda$_parseValues$15(EditContentFunction.java:776)
              at org.ametys.plugins.repository.model.ViewHelper.visitView(ViewHelper.java:77)
              at org.ametys.cms.workflow.EditContentFunction._parseValues(EditContentFunction.java:696)
              at org.ametys.cms.workflow.EditContentFunction.lambda$_parseValues$15(EditContentFunction.java:783)
              at org.ametys.plugins.repository.model.ViewHelper.visitView(ViewHelper.java:77)
              at org.ametys.cms.workflow.EditContentFunction._parseValues(EditContentFunction.java:696)
              at org.ametys.cms.workflow.EditContentFunction.lambda$_parseValues$16(EditContentFunction.java:790)
              at org.ametys.plugins.repository.model.ViewHelper.visitView(ViewHelper.java:82)
              at org.ametys.cms.workflow.EditContentFunction._parseValues(EditContentFunction.java:696)
              at org.ametys.cms.workflow.EditContentFunction.getValues(EditContentFunction.java:677)
              at org.ametys.cms.workflow.EditContentFunction.execute(EditContentFunction.java:287)
              at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:871)
              at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1044)
              at org.ametys.plugins.workflow.AbstractAmetysWorkflow.transitionWorkflow(AbstractAmetysWorkflow.java:213)
          {noformat}


          New: See on a ODF 4.8.3 application.
          Edit a ELP and create repeater entries for acquiredSkills (first repeater with 2 entries, each first entries with 2 sub repeater entries)

          Try save
          {noformat}
          Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null
          java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null
              at org.ametys.cms.workflow.EditContentFunction.lambda$_parseValues$15(EditContentFunction.java:776)
              at org.ametys.plugins.repository.model.ViewHelper.visitView(ViewHelper.java:77)
              at org.ametys.cms.workflow.EditContentFunction._parseValues(EditContentFunction.java:696)
              at org.ametys.cms.workflow.EditContentFunction.lambda$_parseValues$15(EditContentFunction.java:783)
              at org.ametys.plugins.repository.model.ViewHelper.visitView(ViewHelper.java:77)
              at org.ametys.cms.workflow.EditContentFunction._parseValues(EditContentFunction.java:696)
              at org.ametys.cms.workflow.EditContentFunction.lambda$_parseValues$16(EditContentFunction.java:790)
              at org.ametys.plugins.repository.model.ViewHelper.visitView(ViewHelper.java:82)
              at org.ametys.cms.workflow.EditContentFunction._parseValues(EditContentFunction.java:696)
              at org.ametys.cms.workflow.EditContentFunction.getValues(EditContentFunction.java:677)
              at org.ametys.cms.workflow.EditContentFunction.execute(EditContentFunction.java:287)
              at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:871)
              at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1044)
              at org.ametys.plugins.workflow.AbstractAmetysWorkflow.transitionWorkflow(AbstractAmetysWorkflow.java:213)
          {noformat}

          Similar error to issue RUNTIME-3897
          Laurence Aumeunier made changes -
          Link New: This issue Référence RUNTIME-3897 [ RUNTIME-3897 ]
          Laurence Aumeunier made changes -
          Attachment New: screenshot-3.png [ 31167 ]

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: