{"record":{"id":"1a6cf120a7196555","repo":"AlistGo/alist","slug":"nil-destination-dir","errorCode":null,"errorMessage":"nil destination dir","messagePattern":"nil destination dir","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/doubao_new/driver.go","lineNumber":145,"sourceCode":"\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\n\t\tclone.Path = dstDir.GetID()\n\t\treturn &clone, nil\n\t}","sourceCodeStart":127,"sourceCodeEnd":163,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/doubao_new/driver.go#L127-L163","documentation":"Error \"nil destination dir\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/doubao_new/driver.go:145 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"}