iiasa / iiasa/Agrotutor

Fix System.ArgumentNullException: Value cannot be null. Parameter name: source in WeatherPageViewModel.LoadCurrent () (C:\code\Agrotutor2\Agrotutor\Agrotutor\Modules\Weather\ViewModels\WeatherPageViewModel.cs:361)

Open
#232 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Version 2.0.1(61) ###

### Stacktrace ###

Agrotutor.Modules.Weather.ViewModels.WeatherPageViewModel.LoadCurrent () [0x000e8] in C:\code\Agrotutor2\Agrotutor\Agrotutor\Modules\Weather\ViewModels\WeatherPageViewModel.cs:361;Agrotutor.Modules.Weather.ViewModels

### Reason ###

System.ArgumentNullException: Value cannot be null.
Parameter name: source

### Link to App Center ###

* [https://appcenter.ms/orgs/IIASA/apps/Agrotutor-Android/crashes/errors/305322685u](https://appcenter.ms/orgs/IIASA/apps/Agrotutor-Android/crashes/errors/305322685u)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting Agrotutor/Modules/Weather/ViewModels/WeatherPageViewModel.cs at LoadCurrent(), especially line 361 named in the stack trace, and trace which source is null. Reproduce the App Center crash if possible, then verify that the null-source exception no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.