Bug 27034 - Using value converter throws a TargetInvocationException
Summary: Using value converter throws a TargetInvocationException
Status: RESOLVED NORESPONSE
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.3.3
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-02-13 04:44 UTC by Prashant Cholachagudda
Modified: 2016-04-08 19:29 UTC (History)
6 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Prashant Cholachagudda 2015-02-13 04:44:57 UTC
The attached sample application is using a DataTemplate. Everything works fine until we use a ValueConverter in the DataTemplate. When, we use the value converter we get the below exception. 
The file that has the problem is FancyVMDataTemplate.xaml.

Stacktrace:

02-12 10:25:27.985 E/mono ( 1335): Unhandled Exception:
02-12 10:25:27.985 E/mono ( 1335): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Xamarin.Forms.Xaml.XamlParseException: Type DYMOResourceDictionary not found in xmlns http://xamarin.com/schemas/2014/forms
02-12 10:25:27.985 E/mono ( 1335): at Xamarin.Forms.Xaml.XamlParser.GetElementType (Xamarin.Forms.Xaml.XmlType xmlType, IXmlLineInfo xmlInfo) [0x00000] in <filename unknown>:0
02-12 10:25:27.985 E/mono ( 1335): at Xamarin.Forms.Xaml.StaticResourceExtension.LookupNamedResource (INode node, System.String key) [0x00000] in <filename unknown>:0
02-12 10:25:27.985 E/mono ( 1335): at Xamarin.Forms.Xaml.StaticResourceExtension.LookupNamedResource (INode node, System.String key) [0x00000] in <filename unknown>:0
The program 'Mono' has exited with code 0 (0x0).
Comment 3 Samantha Houts [MSFT] 2016-04-08 19:29:21 UTC
Thank you for your bug report. As we have not received the information requested, we cannot properly triage your bug and are marking it resolved.

Warm regards,
Xamarin Forms Team