Hi,I just tried to open a wpf-window which contains a xamdayview-control. The designer won't open and throws following exception (sorry, german language):NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.Stacktracebei Infragistics.Controls.Schedules.ListScheduleDataConnector.ValidateSettings(List`1 errorList) bei Infragistics.Controls.Schedules.ScheduleDataConnectorBase.ValidateSettings() bei Infragistics.DeferredOperation.InvokePendingOperation() bei Infragistics.DeferredOperation.OnAsyncCallback(Object state) bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)The errorlist shows Der Typeninitialisierer für "Info" hat eine Ausnahme verursacht. (Something like "The type initializer for "Info" threw an exception.")So I created a new wpf-project and tried to add xamdayview to the empty window. VS 2010 as well as VS 2012 throw the same exception with the same error description/stacktraceWhen I try to run the programm I get following error messagesDer Typeninitialisierer für "Info" hat eine Ausnahme verursacht.bei Infragistics.Controls.Schedules.Resource.StorageProps.Info.get_Instance() bei Infragistics.Controls.Schedules.Resource.get_Storage() bei Infragistics.Controls.Schedules.Resource.SetValueHelper[T](Int32 property, T newVal) bei Infragistics.Controls.Schedules.Resource.set_Id(String value) bei NM_HV_WPF.frmMain.KTB_InitKalender() in C:\ws\Main\nm\frmMain.xaml.vb:Zeile 1395. bei Infragistics.Controls.Schedules.Resource.StorageProps.Info.get_Instance() bei Infragistics.Controls.Schedules.Resource.get_Storage() bei Infragistics.Controls.Schedules.Resource.SetValueHelper[T](Int32 property, T newVal) bei Infragistics.Controls.Schedules.Resource.set_Id(String value) bei NM_HV_WPF.frmMain.InitStundenplan() in C:\ws\Main\nm\frmMain.xaml.vb:Zeile 789.and a lengthy one starting with ... bei Infragistics.Controls.Schedules.Appointment.StorageProps.Info.get_Instance() bei Infragistics.Controls.Schedules.Appointment.get_PropsInfo() bei Infragistics.Controls.Schedules.ActivityBase.get_Storage() bei Infragistics.Controls.Schedules.ActivityBase.SetValueHelper[T](Int32 property, T newVal) bei Infragistics.Controls.Schedules.ScheduleControlBase.InitializeTemplatePanel(Canvas templatePanel) bei Infragistics.Controls.Schedules.ScheduleTimeControlBase.InitializeTemplatePanel(Canvas templatePanel) bei Infragistics.Controls.Schedules.ScheduleControlBase.OnApplyTemplate() bei Infragistics.Controls.Schedules.ScheduleTimeControlBase.OnApplyTemplate() bei Infragistics.Controls.Schedules.XamDayView.OnApplyTemplate() bei System.Windows.FrameworkElement.ApplyTemplate() bei System.Windows.FrameworkElement.MeasureCore(Size availableSize) bei System.Windows.UIElement.Measure(Size availableSize) bei System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV) bei System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
Can anyone help me with this issue?
Thanks
Stephan
I got a similiar exception using the InfragisticsWPF4.Controls.Schedules.v12.1 within VS 2010 and Windows 8.
According to
http://es.infragistics.com/community/forums/p/72795/368370.aspx
this seems to be a problem with .NET 4.5
and also the StackTrace shows a problem at ClrObjectRuntime.CreateInstanceWithCtor
bei Infragistics.Controls.Schedules.Appointment.StorageProps.Info.get_Instance() bei Infragistics.Controls.Schedules.AppointmentListManager..ctor(IScheduleDataConnector connector) bei Infragistics.Controls.Schedules.ListScheduleDataConnector..ctor() bei System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.InvokeDelegate(Action`1 action, Object argument) bei System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.CallCtorDelegate(XamlTypeInvoker type) bei System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.CreateInstance(XamlTypeInvoker type) bei System.Xaml.Schema.XamlTypeInvoker.CreateInstance(Object[] arguments) bei MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstanceWithCtor(XamlType xamlType, Object[] args) bei MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance(XamlType xamlType, Object[] args)
Our customers running on Windows 8 have no intention to downgrade to Windows 7 or .NET 4.0