You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the VersionQuery construct to query for a version of Deadline that does not exist, then the error message that you get does not clearly indicate what the problem is.
Reproduction Steps
Either VersionQuery with a non-existent Deadline version (ex: 10.1.99), or
In the RFDK repository, modify scripts/getSupportedDeadlineVersion.ts to add versionString: "10.1.99" to the props of the call to getVersionUris
From the jsii/superchain docker container in the root directory of the RFDK repo, run: node ./scripts/getSupportedDeadlineVersions.ts
Error Log
When using the VersionQuery:
Failed to create resource. Cannot convert undefined or null to object
TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at VersionProvider.getRequestedUriVersion (/var/task/lib/version-provider/version-provider.js:150:46)
at VersionProvider.getUrisForPlatform (/var/task/lib/version-provider/version-provider.js:117:21)
at VersionProvider.getVersionUris (/var/task/lib/version-provider/version-provider.js:44:40)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async VersionProviderResource.doCreate (/var/task/version-provider/handler.js:30:47)
at async VersionProviderResource.handler (/var/task/lib/custom-resource/simple-resource.js:41:27)
When using getSupportedDeadlineVersion.ts:
ERROR - Cannot convert undefined or null to object
Environment
CDK CLI Version : 1.75.0
CDK Framework Version: 1.75.0
RFDK Version: 0.21.0
Deadline Version: 10.1.11
Node.js Version: N/A
OS : Linux
Language (Version): all
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered:
When using the VersionQuery construct to query for a version of Deadline that does not exist, then the error message that you get does not clearly indicate what the problem is.
Reproduction Steps
Either VersionQuery with a non-existent Deadline version (ex: 10.1.99), or
scripts/getSupportedDeadlineVersion.ts
to addversionString: "10.1.99"
to the props of the call togetVersionUris
node ./scripts/getSupportedDeadlineVersions.ts
Error Log
When using the VersionQuery:
When using
getSupportedDeadlineVersion.ts
:Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: