question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Init exception with latest Xamarin.Forms 3.4 / 3.6

See original GitHub issue

Description

I updated the Xamarin.Forms NuGet Package to the latest version and now I get an exception on OnCreate in Android (iOS untested so far).

Actual Behavior

Unhandled Exception:

System.TypeLoadException: VTable setup of type FFImageLoading.Forms.Platform.CachedImageFastRenderer failed

Basic Information

  • Version with issue: 2.4.3.840 with XF v3.4.0.1008975
  • Last known good version: 2.4.3.840 with XF v3.3.0.967583
  • Platform: Android, not sure about iOS

Reproduction Link / Code

In MainActivity, in OnCreate(), it happens on this line: FFImageLoading.Forms.Platform.CachedImageRenderer.Init(enableFastRenderer: true);

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:55
  • Comments:144 (16 by maintainers)

github_iconTop GitHub Comments

15reactions
daniel-luberdacommented, Mar 12, 2019

Please check 2.4.5.870-pre. Cheers.

10reactions
mackayncommented, Nov 16, 2018

@daniel-luberda

It’s definitely FFImageLoading that fails

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

FFImageLoading is throwing exception in Android with ...
There is an issue with the version of FFImageLoading you're using (v2.4.4.859) and Xamarin Forms version 3.6 (well, versions 3.4, 3.5 and 3.6)....
Read more >
Xamarin.Forms 4.3.0.851321-pre3 (4.3.0 Pre Release 3) ...
Release notes detailing new features, improvements, and issues fixed in Xamarin.Forms 4.3.0.851321-pre3 (4.3.0 Pre Release 3)
Read more >
Xamarin.Forms 4.3.0.778476-pre1 (4.3.0 Pre Release 1) ...
Release notes detailing new features, improvements, ... Github #7049 - "Null reference exception on some Android devices - Xamarin.Forms.
Read more >
SfDataGrid crashes on initialization when Theme is applied ...
I have tried grid with own DataGridStyle and still crashes. Tested with Xam 3.4 and 3.6, Sf 17.0.1.38, uwp and android. app.
Read more >
Xamarin.Forms 5.0.0.2612
Version Downloads Last updated 5.0.0.2612 7,950 11 days ago 5.0.0.2599‑pre1 13,321 3 months ago 5.0.0.2578 359,694 5 months ago
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found