{"record":{"id":"f2f42f960f10ad99","repo":"microsoft/typescript-go","slug":"null-value-is-not-allowed-for-field-q","errorCode":null,"errorMessage":"null value is not allowed for field %q","messagePattern":"null value is not allowed for field %q","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/lsp/lsproto/lsp.go","lineNumber":92,"sourceCode":"\ntype HasLocations interface {\n\tGetLocations() *[]Location\n}\n\ntype HasLocation interface {\n\tGetLocation() Location\n}\n\ntype URI string // !!!\n\ntype Method string\n\nfunc errNotObject(k json.Kind) error {\n\treturn fmt.Errorf(\"expected object start, but encountered %v\", k)\n}\n\nfunc errNull(field string) error {\n\treturn fmt.Errorf(\"null value is not allowed for field %q\", field)\n}\n\nfunc errMissing(props []string) error {\n\treturn fmt.Errorf(\"missing required properties: %s\", strings.Join(props, \", \"))\n}\n\nfunc errInvalidKind(typeName string, got json.Kind) error {\n\treturn fmt.Errorf(\"invalid %s: got %v\", typeName, got)\n}\n\nfunc errInvalidValue(typeName string, data []byte) error {\n\treturn fmt.Errorf(\"invalid %s: %s\", typeName, data)\n}\n\nfunc errLiteralMismatch(typeName string, expected string, got []byte) error {\n\treturn fmt.Errorf(\"expected %s value %s, got %s\", typeName, expected, got)\n}\n","sourceCodeStart":74,"sourceCodeEnd":110,"githubUrl":"https://github.com/microsoft/typescript-go/blob/1bcfa18d79a3be41772223d5c05dfe4480e614ff/internal/lsp/lsproto/lsp.go#L74-L110","documentation":"Error \"null value is not allowed for field %q\" thrown in microsoft/typescript-go.","triggerScenarios":"Thrown at internal/lsp/lsproto/lsp.go:92 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"1bcfa18d79a3be41772223d5c05dfe4480e614ff","analyzedAt":"2026-08-16T02:12:00.115Z","schemaVersion":2},"datasetVersion":"2026-08-16T03:17:38.424Z"}