{"record":{"id":"9ee88bc05d7a30b9","repo":"AlistGo/alist","slug":"protondrive-bridge-is-nil","errorCode":null,"errorMessage":"protonDrive bridge is nil","messagePattern":"protonDrive bridge is nil","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/proton_drive/driver.go","lineNumber":303,"sourceCode":"\t\treturn nil, fmt.Errorf(\"failed to create directory: %w\", err)\n\t}\n\n\tnewDir := &model.Object{\n\t\tName:     dirName,\n\t\tIsFolder: true,\n\t\tModified: time.Now(),\n\t}\n\treturn newDir, nil\n}\n\nfunc (d *ProtonDrive) Move(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) {\n\treturn d.DirectMove(ctx, srcObj, dstDir)\n}\n\nfunc (d *ProtonDrive) Rename(ctx context.Context, srcObj model.Obj, newName string) (model.Obj, error) {\n\n\tif d.protonDrive == nil {\n\t\treturn nil, fmt.Errorf(\"protonDrive bridge is nil\")\n\t}\n\n\treturn d.DirectRename(ctx, srcObj, newName)\n}\n\nfunc (d *ProtonDrive) Copy(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) {\n\tif srcObj.IsDir() {\n\t\treturn nil, fmt.Errorf(\"directory copy not supported\")\n\t}\n\n\tsrcLink, err := d.searchByPath(ctx, srcObj.GetPath(), false)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\treader, linkSize, fileSystemAttrs, err := d.protonDrive.DownloadFile(ctx, srcLink, 0)\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"failed to download source file: %w\", err)","sourceCodeStart":285,"sourceCodeEnd":321,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/proton_drive/driver.go#L285-L321","documentation":"Error \"protonDrive bridge is nil\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/proton_drive/driver.go:303 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the storage configuration and the provider's service status, fix the indicated cause, and retry the operation."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"843d9dc8149126976b2625911e45a4d3ffd6f2f5","analyzedAt":"2026-08-15T12:14:11.722Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}