{"record":{"id":"020dd78bbf8aebe4","repo":"AlistGo/alist","slug":"nil-object","errorCode":null,"errorMessage":"nil object","messagePattern":"nil object","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/doubao_new/driver.go","lineNumber":203,"sourceCode":"\t\t}\n\t}\n\n\tif obj, ok := srcObj.(*Object); ok {\n\t\tclone := *obj\n\t\tclone.Name = newName\n\t\treturn &clone, nil\n\t}\n\treturn srcObj, nil\n}\n\nfunc (d *DoubaoNew) Copy(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) {\n\t// TODO copy obj, optional\n\treturn nil, errs.NotImplement\n}\n\nfunc (d *DoubaoNew) Remove(ctx context.Context, obj model.Obj) error {\n\tif obj == nil {\n\t\treturn errors.New(\"nil object\")\n\t}\n\ttoken := obj.GetID()\n\tif token == \"\" {\n\t\tif o, ok := obj.(*Object); ok {\n\t\t\ttoken = o.ObjToken\n\t\t}\n\t}\n\tif token == \"\" {\n\t\treturn errors.New(\"missing object token\")\n\t}\n\treturn d.removeObj(ctx, []string{token})\n}\n\nfunc (d *DoubaoNew) Put(ctx context.Context, dstDir model.Obj, file model.FileStreamer, up driver.UpdateProgress) (model.Obj, error) {\n\tif file == nil {\n\t\treturn nil, errors.New(\"nil file\")\n\t}\n\tif file.GetSize() <= 0 {","sourceCodeStart":185,"sourceCodeEnd":221,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/doubao_new/driver.go#L185-L221","documentation":"Error \"nil object\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/doubao_new/driver.go:203 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"}