Azure / Azure/azure-functions-host
JsonReader exceptions from functionswarmupsite
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
functionswarmupsite throwing a number of errors as mentioned below
```
Newtonsoft.Json.JsonReaderException : Error reading JObject from JsonReader. Path '', line 0, position 0.
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader,JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JObject.Parse(String json,JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JObject.Parse(String json)
at Microsoft.Azure.WebJobs.Script.Configuration.HostJsonFileConfigurationSource.HostJsonFileConfigurationProvider.LoadHostConfig(String configFilePath) at C:\azure-webjobs-sdk-script\src\WebJobs.Script\Config\HostJsonFileConfigurationSource.cs : 185
```
Contributor guide
Research direction
Start at src/WebJobs.Script/Config/HostJsonFileConfigurationSource.cs, especially LoadHostConfig at line 185, and trace the input reaching Newtonsoft.Json.Linq.JObject.Parse. Determine why functionswarmupsite supplies content that cannot be parsed as a JObject; done means the cause is identified and the reported JsonReaderException no longer occurs for that configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100