- ago
I got this just after I selected "New DataSet..." option.
I didn't do something special before that, I guess, but deleted garbage datasets, I had created for tests or something.


CODE:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at (Object , Stream , ImageFormat ) at UtilsCollection.DestroyMultipartClass(Object , Stream , ImageFormat , UtilsCollection ) at WealthLab.WPF.ImageExtensions.ToBitmapSource(Image image) at InstanceToken.PatchPrinter(Image , InstanceToken ) at WealthLab.Data.DataProviderListItem..ctor(ProviderBase prov, Boolean useCheckBox) at WealthLab.Data.DataProviderListBox.PrepareItem() at WealthLab.Data.DataProviderListBox..ctor() --- End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean wrapExceptions, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& hasNoDefaultCtor) at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean publicOnly, Boolean wrapExceptions, Boolean fillCache) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, Boolean wrapExceptions) at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) at System.Activator.CreateInstance(Type type, Object[] args) at System.Xaml.Schema.SafeReflectionInvoker.CreateInstanceCritical(Type type, Object[] arguments) at System.Xaml.Schema.XamlTypeInvoker.CreateInstance(Object[] arguments) at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance(XamlType xamlType, Object[] args) at System.Xaml.XamlObjectWriter.Logic_CreateAndAssignToParentStart(ObjectWriterContext ctx) at System.Xaml.XamlObjectWriter.WriteStartMember(XamlMember property) at System.Windows.Markup.WpfXamlLoader.TransformNodes(XamlReader xamlReader, XamlObjectWriter xamlWriter, Boolean onlyLoadOneNode, Boolean skipJournaledProperties, Boolean shouldPassLineNumberInfo, IXamlLineInfo xamlLineInfo, IXamlLineInfoConsumer xamlLineInfoConsumer, XamlContextStack`1 stack, IStyleConnector styleConnector) at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator) at RulesWrapper.PopCode(Object , Uri , RulesWrapper ) at WealthLab7.NewDataSetWindow.InitializeComponent() at WealthLab7.NewDataSetWindow..ctor() at WealthLab7.ucDataSets.MoveDatabase(Object param, RoutedEventArgs map) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
0
353
Solved
8 Replies

Reply

Bookmark

Sort
- ago
#1
WL7 restarting doesn't help. Trying to reach Data Manager also leads to the exception... as well as trying to create a new dataset there).
0
Glitch8
 ( 8.41% )
- ago
#2
Do you have the BestData Extension installed? We need to publish an update for that one.
0
- ago
#3
QUOTE:
Do you have the BestData Extension installed?

Not very)



Mmm, BestData... maybe it's the second name for Data Extension...
0
- ago
#4
QUOTE:
Mmm, BestData... maybe it's the second name for Data Extension...

No, it's 3rd party extension for which we have to publish an update like Glitch said - https://www.wealth-lab.com/extension/detail/finantic.BestData
0
- ago
#5
I see, I don't have one installed then.
0
- ago
#6
Double check the program folder for bestData's DLLs. Having done so, make sure that your custom and other (Russian) data providers are recompiled for the breaking API change in B42. I guess that's the reason this exception is being thrown.
0
Best Answer
- ago
#7
Yes, deleding custom Alor HDP, SDP etc. helped. Or something else helped). No exeptions any more.
0
- ago
#8
These providers have to be recompiled in order to work in B43 and higher. Sorry for the inconvenience.
1

Reply

Bookmark

Sort