{"record":{"id":"51f5ea029c8b900b","repo":"AlistGo/alist","slug":"nil-source-object","errorCode":null,"errorMessage":"nil source object","messagePattern":"nil source object","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/doubao_new/driver.go","lineNumber":142,"sourceCode":"\t\tObject: model.Object{\n\t\t\tID:       node.NodeToken,\n\t\t\tPath:     parentDir.GetID(),\n\t\t\tName:     node.Name,\n\t\t\tSize:     parseSize(node.Extra.Size),\n\t\t\tModified: time.Unix(node.EditTime, 0),\n\t\t\tCtime:    time.Unix(node.CreateTime, 0),\n\t\t\tIsFolder: true,\n\t\t},\n\t\tObjToken: node.ObjToken,\n\t\tNodeType: node.NodeType,\n\t\tObjType:  node.Type,\n\t\tURL:      node.URL,\n\t}, nil\n}\n\nfunc (d *DoubaoNew) Move(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) {\n\tif srcObj == nil {\n\t\treturn nil, errors.New(\"nil source object\")\n\t}\n\tif dstDir == nil {\n\t\treturn nil, errors.New(\"nil destination dir\")\n\t}\n\tsrcToken := srcObj.GetID()\n\tif srcToken == \"\" {\n\t\tif obj, ok := srcObj.(*Object); ok {\n\t\t\tsrcToken = obj.ObjToken\n\t\t}\n\t}\n\tif srcToken == \"\" {\n\t\treturn nil, errors.New(\"missing source token\")\n\t}\n\tif err := d.moveObj(ctx, srcToken, dstDir.GetID()); err != nil {\n\t\treturn nil, err\n\t}\n\tif obj, ok := srcObj.(*Object); ok {\n\t\tclone := *obj","sourceCodeStart":124,"sourceCodeEnd":160,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/doubao_new/driver.go#L124-L160","documentation":"Error \"nil source object\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/doubao_new/driver.go:142 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-15T17:31:12.345Z"}