|
Rank: Newbie Groups: Member
Joined: 8/24/2023 Posts: 3
|
Hi All When i integrate Envision 4.0.0.0 with EO browser 23.3.4 getting the below console error, could you help? Quote:25 Aug 2023 17:08:27,901 [1] FATAL - ExceptionType:MissingMethodException ErrorMessage: Method not found: 'Void EO.Base.WaitableTask.OnDone(EO.Base.Action, Boolean)'. Stack Trace: at FMRCo.EquityPm.Controls.EoWebBrowser.EoJsHost.Navigate() at FMRCo.EquityPm.Controls.EoWebBrowser.EoWebBrowserControl.Navigate() at FMRCo.EquityPm.Controls.EoWebBrowser.EoWebBrowserControl.WebAddressPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi, Please try to recompile your code. Older version (before 23.2.21) only have this method:
Code: C#
WaitableTask.OnDone(EO.Base.Action action);
From 23.2.21 this method becomes:
Code: C#
WaitableTask.OnDone(EO.Base.Action action, bool runInSamethread = false);
These two have different signature but is compatible on source level because the second argument has a default value. However binary code compiled with older version won't run directly with newer version without recompiling because these two functions are not the same. Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 8/24/2023 Posts: 3
|
eo_support wrote:Hi, Please try to recompile your code. Older version (before 23.2.21) only have this method:
Code: C#
WaitableTask.OnDone(EO.Base.Action action);
From 23.2.21 this method becomes:
Code: C#
WaitableTask.OnDone(EO.Base.Action action, bool runInSamethread = false);
These two have different signature but is compatible on source level because the second argument has a default value. However binary code compiled with older version won't run directly with newer version without recompiling because these two functions are not the same. Thanks! Thanks for the above suggestion :) I am not able to find the particular file which is mentioned in the line of code which we need to replace. could you specify that as well?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi, The stack trace you posted showing that this function in your code calls our code and throws an exception:
Code: C#
at FMRCo.EquityPm.Controls.EoWebBrowser.EoJsHost.Navigate()
So that's what you need to look for in your code. Thanks!
|
|