Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-7402

Add synchronization to org.cesecore.util.ui.DynamicUiProperty.values

    Details

    • Sprint:
      EJBCA Sprint 21 Team Alice

      Description

      Customer has complained about issues with DynamicUIProperty:

      Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 1
              at java.util.ArrayList.rangeCheck(ArrayList.java:657) [rt.jar:1.8.0_162]
              at java.util.ArrayList.get(ArrayList.java:433) [rt.jar:1.8.0_162]
              at org.cesecore.util.ui.DynamicUiProperty.getValue(DynamicUiProperty.java:466) [cesecore-common.jar:]
              at org.cesecore.keybind.impl.OcspKeyBinding.getRequireTrustedSignature(OcspKeyBinding.java:160) [cesecore-common.jar:]
      

      From what we can tell, this seems to be some sort of a thread issue (while not being able to reproduce), so an initial fix is to synchronize on the member. 

        Attachments

          Activity

            People

            • Assignee:
              samuel Samuel Lidén Borell
              Reporter:
              mikek Mike Agrenius Kushner
              Verified by:
              Henrik Sunmark
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 20 minutes
                1d 20m