eXpandFramework / eXpand

DevExpress XAF (eXpressApp) extension framework. ๐—น๐—ถ๐—ป๐—ธ๐—ฒ๐—ฑ๐—ถ๐—ป.๐—ฒ๐˜…๐—ฝ๐—ฎ๐—ป๐—ฑ๐—ณ๐—ฟ๐—ฎ๐—บ๐—ฒ๐˜„๐—ผ๐—ฟ๐—ธ.๐—ฐ๐—ผ๐—บ, ๐˜†๐—ผ๐˜‚๐˜๐˜‚๐—ฏ๐—ฒ.๐—ฒ๐˜…๐—ฝ๐—ฎ๐—ป๐—ฑ๐—ณ๐—ฟ๐—ฎ๐—บ๐—ฒ๐˜„๐—ผ๐—ฟ๐—ธ.๐—ฐ๐—ผ๐—บ and ๐˜๐˜„๐—ถ๐˜๐˜๐—ฒ๐—ฟ @๐—ฒ๐˜…๐—ฝ๐—ฎ๐—ป๐—ฑ๐—ณ๐—ฟ๐—ฎ๐—บ๐—ฒ๐˜„๐—ผ๐—ฟ๐—ธ and or simply ๐—ฆ๐˜๐—ฎ๐—ฟ/๐˜„๐—ฎ๐˜๐—ฐ๐—ต this repository and get notified from ๐—š๐—ถ๐˜๐—›๐˜‚๐—ฏ
http://expand.expandframework.com
Microsoft Public License
221 stars 115 forks source link

19.1.603 breaks due to Reactive.Logger dependency #571

Closed apobekiaris closed 4 years ago

apobekiaris commented 5 years ago

Thru Update from 602 to 603 I've following issue after login, can this concern to the #542 but its on standard Win App

Der Typ "DevExpress.Utils.Extensions.UtilsExtensions" in der Assembly "DevExpress.Utils.v19.1, Version=19.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" konnte nicht geladen werden.

bei Xpand.XAF.Modules.Reactive.Logger.ModelReactiveModuleLogger.ReactiveLogger(IModelReactiveModules reactiveModules) bei Xpand.XAF.Modules.Reactive.Logger.ModelReactiveModuleLogger.<>c.b00(IModelReactiveModules modules) bei System.Reactive.Linq.ObservableImpl.Select`2.Selector..OnNext(TSource value) --- Ende der Stapelรผberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelรถst wurde --- bei System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) bei System.Reactive.ExceptionHelpers.Throw(Exception exception) bei System.Reactive.Stubs.<>c.<.cctor>b21(Exception ex) bei System.Reactive.AnonymousSafeObserver1.OnError(Exception error) bei System.Reactive.Sink1.ForwardOnError(Exception error) bei System.Reactive.HalfSerializer.ForwardOnError[T](ISink1 sink, Exception ex, Int32& wip, Exception& error) bei System.Reactive.Linq.ObservableImpl.TakeUntil2..OnError(Exception ex) bei System.Reactive.Sink2.OnError(Exception error) bei System.Reactive.Linq.ObservableImpl.Do1.Actions..OnError(Exception error) bei System.Reactive.Linq.ObservableImpl.Merge`1.Observables..InnerObserver.OnError(Exception error) bei System.Reactive.Linq.ObservableImpl.Merge1.Observables._.InnerObserver.OnError(Exception error) bei System.Reactive.Sink2.OnError(Exception error) bei System.Reactive.Sink1.ForwardOnError(Exception error) bei System.Reactive.Sink2.OnError(Exception error) bei System.Reactive.Sink1.ForwardOnError(Exception error) bei System.Reactive.Sink2.OnError(Exception error) bei System.Reactive.Sink1.ForwardOnError(Exception error) bei System.Reactive.Sink2.OnError(Exception error) bei System.Reactive.Sink1.ForwardOnError(Exception error) bei System.Reactive.Linq.ObservableImpl.Select2.Selector..OnNext(TSource value) bei System.Reactive.Sink1.ForwardOnNext(TTarget value) bei System.Reactive.Linq.ObservableImpl.Select2.Selector..OnNext(TSource value) bei System.Reactive.AutoDetachObserver1.OnNextCore(T value) bei System.Reactive.ObserverBase1.OnNext(T value) bei Xpand.XAF.Modules.Reactive.Extensions.TraceExtensions.<>cDisplayClass6_11.<Trace>b__2(TSource v) bei System.Reactive.AnonymousSafeObserver1.OnNext(T value) bei System.Reactive.Sink1.ForwardOnNext(TTarget value) bei System.Reactive.Linq.ObservableImpl.Select2.Selector._.OnNext(TSource value) bei System.Reactive.Subjects.Subject1.OnNext(T value) bei System.Reactive.Linq.ObservableImpl.FromEventPattern.Impl2.<>cDisplayClass3_0.b__1(Object sender, TEventArgs eventArgs) bei System.EventHandler`1.Invoke(Object sender, TEventArgs e) bei DevExpress.ExpressApp.XafApplication.OnLoggedOn(LogonEventArgs args) bei DevExpress.ExpressApp.XafApplication.Logon(PopupWindowShowActionExecuteEventArgs logonWindowArgs) bei DevExpress.ExpressApp.Win.WinApplication.Logon(PopupWindowShowActionExecuteEventArgs logonWindowArgs)

Originally posted by @rSeeFip in https://github.com/eXpandFramework/eXpand/issues/570#issuecomment-539516633

rSeeFip commented 5 years ago

no, is still the same with Reactive Logger 0.0.8.2

expand commented 5 years ago

The DevExpress.XAF repository includes commits that relate to this task:

Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.

If you do not use the Xpand.XAF.Modules directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.

Thanks a lot for your contribution.

krombipils commented 5 years ago

TypeLoadException is fixed for me in Reactive Logger 0.0.8.4

krombipils commented 5 years ago

I guess I'm wrong. Seems to be fixed if you reference only Reactive Logger. If eXpandSystem is referenced, updating only Reactive Logger to 0.0.8.4 does not fix the problem. I think we have to wait for eXpand 19.1.603.2?!

apobekiaris commented 5 years ago

yes the bot will update u again once packages are bumped still working on it

apobekiaris commented 5 years ago

this was an update on the DevExpress.XAF repo

apobekiaris commented 5 years ago

however u should be able to test be installing the package explicitly as it has larger version it should lead, let me know if u try it

krombipils commented 5 years ago

My solution references 19.1.603.1 and I added an explicit reference to Reactive Logger 0.0.8.4, but the problem persists. I think I also have to update Xpand.XAF.Modules.GridListEditor and Xpand.XAF.Modules.RefreshView?

apobekiaris commented 5 years ago

rationally thinking u should be able to use the latest version somehow like a binding redirect? which version is loaded?

krombipils commented 5 years ago

grafik

This dlls/versions are loaded when the exception is thrown. Because there are also fixes e.g. in GridListEditor module, I think I have to manually update all problematic modules?

apobekiaris commented 5 years ago

thnks i ll have a look in your solution before pushing

apobekiaris commented 5 years ago

ah yes there are many modules that where fixed

expand commented 5 years ago

eXpand.lab release 19.1.603.2 includes commit that relate to this task:

Please test if it addresses the problem. If you use nuget add our LAB NugetServer as a nuget package source in VS.

Thanks a lot for your contribution.

krombipils commented 5 years ago

For me TypeLoadException is now really fixed in 19.1.603.2. Thank you!

rSeeFip commented 5 years ago

Looks good. Thank you

rSeeFip commented 5 years ago

i've get now often an freeze by open an listview, or close an openview and activation of listview from background on step

ReactiveModule Information: 0 : XafApplicationRXExtensions.WhenListViewCreated(187): OnNext((SEE_4_U.Win.SEE_4_UWindowsFormsApplication, DevExpress.ExpressApp.ListViewCreatedEventArgs))

i got no issue ,nothing, just freezing of win app. In context with reactiveModule

apobekiaris commented 5 years ago

it is not possible to guess what happen before from the info u provided maybe the reactive client can help visualize the execution pipeline

rSeeFip commented 5 years ago

but logger client win i can install with nuget, because depency "akarnokd.reactive_extensions" can not resolved

apobekiaris commented 5 years ago

soory about it I am looking on it now #564

expand commented 5 years ago

The DevExpress.XAF repository includes commits that relate to this task:

Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.

If you do not use the Xpand.XAF.Modules directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.

Thanks a lot for your contribution.

apobekiaris commented 5 years ago

604.1 is out and includes this update @isatahiri

rSeeFip commented 5 years ago

About freezing i found out that XPAnd.XAF.Modules.Reactive.Win is missing, by loading oneview

image

apobekiaris commented 5 years ago

nice! tell us also please how u discover it

rSeeFip commented 5 years ago

By coincident, it's a guess because the file isn't in the package. Can I not test it

expand commented 5 years ago

The DevExpress.XAF repository includes commits that relate to this task:

Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.

If you do not use the Xpand.XAF.Modules directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.

Thanks a lot for your contribution.

rSeeFip commented 5 years ago

Hello,

with 604.2 i got following message after logon, The process can destabilize the runtime.

image

rSeeFip commented 5 years ago

out from logs:

Type: VerificationException Message: Dieser Vorgang kann die Laufzeit destabilisieren. Data: 0 entries Stack trace:

bei CreateWindow_Patch1(XafApplication context, TemplateContext controllers, ICollection`1 createAllControllers, Boolean isMain, Boolean view, View ) bei DevExpress.ExpressApp.Win.WinShowViewStrategyBase.CreateWindow(ShowViewParameters parameters, ShowViewSource showViewSource, Boolean isMain) bei DevExpress.ExpressApp.Win.WinShowViewStrategyBase.CreateExplorerWindow(ShowViewParameters parameters) bei DevExpress.ExpressApp.Win.WinShowViewStrategyBase.ShowStartupWindowCore() bei DevExpress.ExpressApp.Win.MdiShowViewStrategy.ShowStartupWindowCore() bei DevExpress.ExpressApp.Win.WinApplication.ShowStartupWindow() bei DevExpress.ExpressApp.Win.WinApplication.DoStartupLogic(IOverlaySplashScreenHandle overlayFormHandle) bei DevExpress.ExpressApp.Win.WinApplication.Logon(PopupWindowShowActionExecuteEventArgs logonWindowArgs) InnerException is null

apobekiaris commented 5 years ago

read this please https://github.com/eXpandFramework/eXpand/issues/513#issuecomment-523386924

if u can provide a sample we can work on something

rSeeFip commented 5 years ago

i think it comes out from here

Unable to create an instance of the "ModelApplicationCreatorInfo" type. Reason: "Die Methode "get_View" im Typ "ModelDevExpressXtraGridViewsGridCustomization_CustomizationForm" der Assembly "hz2j5sso, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" hat keine Implementierung."

apobekiaris commented 5 years ago

look like the ModelMapper.dll gets corrupted try cleanup bin, obj folders??

apobekiaris commented 5 years ago

there is a long chat on Gitter that relates to ModelMapper that u may want to follow https://gitter.im/xpandframework/community

expand commented 4 years ago

Closing issue for age. Feel free to reopen it at any time.

.Thank you for your contribution.