Quantcast
Channel: Silverlight Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 801

Closed Issue: NullReferenceException occurs when using only FullViewDateTimeConverter [10219]

$
0
0
If you use only FullViewDateTimeConverter, NullReferenceException occurs. Part of callstack is below:

System.NullReferenceException was unhandled
Message=NullReferenceException
StackTrace:
at Microsoft.Phone.Controls.DateTimeFormatHelper.GetShortTime(DateTime dt)
at Microsoft.Phone.Controls.FullViewDateTimeConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
at System.Windows.Data.BindingExpression.ConvertToTarget(Object value)


I have not confirmed but I think the cause is DateTimeFormatHelper.formatInfo_GetSuperShortTime is not created when GetShortTime method is called. Looks like other converters don't have this issue.

Toolkit version is Nov 2011 release.
Comments:

If you grab the latest source this has been fixed. We hope to push out a new download and NuGet package for people soon.


Viewing all articles
Browse latest Browse all 801

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>