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

CAData.data.keyvalidators field missing in CAData.data v23 after trunk upgrade

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: EJBCA 6.10.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Issue discovered during:
      Ad Hoc

      Description

      Roughly trunk was on par with 6.8alpha and updated to current 6.11alpha.

      NPE in front page of Admin GUI due to missing "keyvalidators" entry in CAData.data for an external CA (which also happened to be the first in the list of the Admin GUI).

      {{
      <java version="1.7.0_131" class="java.beans.XMLDecoder">
      <object class="org.cesecore.util.Base64PutHashMap">
      ...
      <void method="put">
      <string>version</string>
      <float>23.0</float>
      </void>
      ...
      </object>
      </java>
      }}

      Changed org.cesecore.certificates.ca.X509CA.LATEST_VERSION from "23" to "23.001f" and redeployed. CAData was properly upgraded this time and result was

      {{
      <java version="1.7.0_151" class="java.beans.XMLDecoder">
      <object class="org.cesecore.util.Base64PutHashMap">
      ...
      <void method="put">
      <string>version</string>
      <float>23.0001</float>
      </void>
      ...
      <void method="put">
      <string>keyvalidators</string>
      <object class="java.util.ArrayList"/>
      </void>
      </object>
      </java>
      }}

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              johan Johan Eklund
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: