Upgrade to 9.7.1 failure with duplicate key- Big Impact

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube) upgrade to #9.7.1
  • what are you trying to achieve
    Upgrade to 9.7.1 from 9.6.1
  • what have you tried so far to achieve this
    java.lang.IllegalStateException: Duplicate key xxxxxxxxxxxxxxxxx(attempted merging values SnapshotDto{uuid=‘xxxxxxxxxxxxx’, componentUuid=‘xxxxxxxxxxxxxxx’, createdAt=1664777901797, buildDate=1664777955095, status=‘P’, last=true, projectVersion=‘not provided’, buildString=‘null’, periodMode=‘PREVIOUS_VERSION’, periodParam=‘null’, periodDate=1641784298002} and SnapshotDto{uuid=‘xxxxxxxxx’, componentUuid=‘xxxxxxxxxxxxxx’, createdAt=1664777954738, buildDate=1664778003709, status=‘P’, last=true, projectVersion=‘not provided’, buildString=‘null’, periodMode=‘PREVIOUS_VERSION’, periodParam=‘null’, periodDate=1641784298002})
1 Like

Hi,

Is this happening during the database upgrade or after upgrade, during server-side processing of your analysis report?

The full error, and a few lines leading up to it would be helpful.

 
Ann

1 Like