null reference error when attempting recursive delete

Đang mở
#105 9 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
aws, csharp
Lĩnh vực
backend, cloud

Hướng nghiên cứu

Start by reading AwsS3DirectoryBrowser.DeleteRecursiveAsync and the call path from AwsS3BlobStorage.DeleteAsync; the stack trace shows Enumerable.Select receives a null source during recursive deletion. Then inspect the AWS package references and restore output for the AWSSDK.Core downgrade when using OpenTelemetry.Instrumentation.AWS 1.12.0. Done when recursive deletion handles the reported case and the dependency versions restore without a downgrade warning.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

[25-05-12 20:50:53.201 ERR] DefaultHealthCheckService: Health check Storage with status Unhealthy completed after 113.6429ms with message 'null'
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   at FluentStorage.AWS.Blobs.AwsS3DirectoryBrowser.DeleteRecursiveAsync(String fullPath, CancellationToken cancellationToken)
   at FluentStorage.AWS.Blobs.AwsS3BlobStorage.DeleteAsync(String fullPath, AmazonS3Client client, CancellationToken cancellationToken)
   at FluentStorage.AWS.Blobs.AwsS3BlobStorage.DeleteAsync(IEnumerable`1 fullPaths, CancellationToken cancellationToken)
   at GZCTF.Services.HealthCheck.StorageHealthCheck.CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken) in /home/runner/work/GZCTF/GZCTF/src/GZCTF/Services/HealthCheck/StorageHealthCheck.cs:line 27

and I want to use newer OpenTelemetry.Instrumentation.AWS

Warning As Error: Detected package downgrade: AWSSDK.Core from 4.0.0 to 3.7.402.56. Reference the package directly from the project to select a different version.
GZCTF -> OpenTelemetry.Instrumentation.AWS 1.12.0 -> AWSSDK.Core (>= 4.0.0 && < 5.0.0)
GZCTF -> AWSSDK.Core (>= 3.7.402.56)
Ngôn ngữ chính
C#
Star
464
Fork
78
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của robinrodricks/FluentStorage

Tất cả issue của robinrodricks/FluentStorage

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.