Skip to main content

KI-137

Upgrade throws error Constructor not defined: [System.UUID].<Constructor>

Created date

02/13/2025

Updated date

02/13/2025

Status

Backlog

Related work item

MIC-3999

Description

When upgrading to MIC v15 from MIC v13 and below, the following error is generated:

ErrorApex compile failure, Details: Apex class CA_Office365ClientService: line 27, column 47: Constructor not defined: [System.UUID]. <Constructor>()

Apex compile failure, Details: Apex class CA_Office365ContentVersions: line 46, column 50: Constructor not defined: [System.UUID].<Constructor>()

Apex compile failure, Details: Apex class CM_DocumentAuditLog: line 8, column 51: Constructor not defined: [System.UUID].<Constructor>()

Apex compile failure, Details: Apex class CM_DocumentAuditLogConstants: line 5, column 51: Constructor not defined: [System.UUID].<Constructor>()

Apex compile failure, Details: Apex class CM_DocumentVersions: line 1074, column 51: Constructor not defined: [System.UUID].<Constructor>()

This is because the install of the mvn-content-authoring-private package is triggering a compile of Apex code that depends on it. This code was made invalid by the changes in the mvn-utilities package but will be fixed when the updated mvn-content-authoring package is installed.

Affects version(s)

MIC V13 and below

Impacted capabilities

Inquiry Management

Content Management

Steps to reproduce

  • Upgrade to MIC V15 from V13 or below.

Workaround

  1. Downgrade the mvn-utilities setting to “Compile only the Apex in the package” and “Mixed mode (default)”

  2. Install the latest mvn-content-authoring-privatemvn-content-authoring-private package

  3. Re-run the MIC upgrade

Fix version

Resolution notes

Update installer to make sure mvn-content-authoring-private is installed before mvn-utilities.