Symptom
- When using cloudhotfolders-2211-20240705-020218.zip (or cloudhotfolders-2205-20240705-020218.zip if still using 2205 version of Commerce)) to introduce customization for cloud hot folders, below errors are observed during build or deployment.
Build errors:
error: incompatible types: Session<BlobClient> cannot be converted to Session<CloudBlob>error: incompatible types: BlobContainerClient cannot be converted to CloudBlobContainer
error: incompatible types: CloudBlobClient cannot be converted to String
error: incompatible types: OffsetDateTime cannot be converted to Date
Deployment error:
Cannot resolve reference to bean 'azureHotFolderBlobClient' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'azureHotFolderBlobClient' available
- When using cloudhotfolders-2211azuresdk12-20241029.zip (or cloudhotfolders-2205azuresdk12-20241029.zip if still using 2205 version of Commerce), below errors are observed during hotfolder processing
java.lang.IllegalArgumentException: The value of the parameter 'length' should be between 0 and 9223372036854775807.
at com.azure.storage.common.implementation.StorageImplUtils.assertInBounds(StorageImplUtils.java:196)
at com.azure.storage.blob.options.BlockBlobSimpleUploadOptions.<init>(BlockBlobSimpleUploadOptions.java:71)
at com.azure.storage.blob.specialized.BlockBlobClient.uploadWithResponse(BlockBlobClient.java:479)
at com.azure.storage.blob.specialized.BlockBlobClient.upload(BlockBlobClient.java:377)
at com.azure.storage.blob.specialized.BlockBlobClient.upload(BlockBlobClient.java:316)
at de.hybris.platform.cloud.azure.hotfolder.remote.session.AzureBlobSession.write(AzureBlobSession.java:140)
Read more...
Environment
- SAP Commerce Cloud 2211.28 and higher
- SAP Commerce Cloud 2205.29 or higher
Product
Keywords
Session<CloudBlob>, CloudBlobContainer, CloudBlobClient, OffsetDateTime , KBA , CEC-SCC-CLA-BUI , Build Process , CEC-SCC-CLA-DEP , Deployments , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview