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

RaMasterApi dispatches non-serializable objects

    Details

    • Issue discovered during:
      Testing
    • Sprint:
      EJBCA Sprint 16

      Description

      During ECA-6685 new methods were added, and some modified in RaMasterApi. This seems to have caused some objects to be serialized incorrectly for RA Proxying.

      The following method fails on invocation from an external instance:

      getCertificatesByUsername()
      getCertificatesByExpirationTime()
      getCertificatesByExpirationTimeAndType()
      getCertificatesByExpirationTimeAndIssuer()

      The common error message is:

       Failed invocation of master api: java.util.TreeMap$Values: java.io.NotSerializableException: java.util.TreeMap$Values.

      The error affects a number of methods in EjbcaWS and REST API (/expire)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hsunmark Henrik Sunmark
              Reporter:
              hsunmark Henrik Sunmark
              Verified by:
              Mike Agrenius Kushner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Time Spent - 3 hours Remaining Estimate - 5 hours
                  5h
                  Logged:
                  Time Spent - 3 hours Remaining Estimate - 5 hours
                  3h