System.ArgumentNullException: Value cannot be null.
See original GitHub issueHello, we are using FFImageLoading in a PCL Project and sometimes the FFImageLoading throw this exception: “System.ArgumentNullException: Value cannot be null”
this is the only stack that the problem gives to us…
<forms:CachedImage HorizontalOptions="Start"
VerticalOptions="Center"
WidthRequest="50"
HeightRequest="50"
DownsampleWidth="50"
DownsampleHeight="50"
DownsampleToViewSize = "true"
Source="{Binding MyImage">
<forms:CachedImage.Transformations>
<transformations:CircleTransformation />
</forms:CachedImage.Transformations>
</forms:CachedImage>
what we saw here is that when we are not using CircleTransformation the error is seems to not appear again…
thanks
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
c# - System.ArgumentNullException: Value cannot be null. ...
So as you see the method throws an ArgumentNullException instead of a NullReferenceException if source is null .
Read more >How to Handle the ArgumentNullException in C# | Rollbar
ArgumentNullException occurs when an invalid argument is passed to a method in C#. In this case, it refers to the passing of a...
Read more >Value cannot be null. Parameter name: dest - Unity Forum
I don't know what "ArgumentNullException: Value cannot be null. Parameter name: dest" means or how to fix it but my scene won't render....
Read more >FIX: ArgumentNullException exception error message ...
Consider the following scenario: ... System.ArgumentNullException exception is thrown together with the following error message: Value cannot be null. Note This ...
Read more >Value cannot be null (Parameter format) - Documentation
The error is caused by an outdated localization resource file ( .resx ), which is missing some localization keys. This exception will occur...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FFImageLoading 2.1.8-pre-146 nuget which contains discussed fixes released.
Thanks! It should be fixed with this: https://github.com/luberda-molinet/FFImageLoading/commit/073f4772ab3c4c71d2b2473691bfaff9a7149dcb