Re: Appli mono multi-plateforme

Page principale

Répondre à ce message
Auteur: Frédéric
Date:  
À: Guilde
Sujet: Re: Appli mono multi-plateforme
Le mercredi 17 mars 2021, Frédéric a écrit :

> PS : c'est pour voir si je peux essayer de convaincre un dev. de faire en
> sorte que son appli soit utilisable sous linux. Au passage, j'ai testé
> avec wine et mono pour wine, mais ça foire.


À tout hasard, je vous met l'erreur, des fois que ça parle à quelqu'un, et
que ce soit réparable facilement, soit de mon côté, soit du côté du
dev. Je ne sais pas si c'est une lacune de Wine, ou un souci dans le code
du soft...

Unhandled Exception:
System.InvalidOperationException: WinForms_SeeInnerException ---> System.NullReferenceException: Object reference not set to an instance of an object
at Estlcam.Stringfunktionen.D2S (System.Double v, Estlcam.e_Unit Einheit, System.String Autowert, System.Boolean Append_Unit, System.Int32 Nachkommastellen, System.Boolean Allow_Fractions) [0x00013] in <7201e09138b544319034e91010c2c88b>:0
at Estlcam.my_ud.set_Value (System.Double v) [0x00096] in <7201e09138b544319034e91010c2c88b>:0
at Estlcam.my_ud.set__Max (System.Double v) [0x0000e] in <7201e09138b544319034e91010c2c88b>:0
at (wrapper remoting-invoke-with-check) Estlcam.my_ud.set__Max(double)
at Estlcam.mw.InitializeComponent () [0x01ef5] in <7201e09138b544319034e91010c2c88b>:0
at Estlcam.mw..ctor () [0x0008b] in <7201e09138b544319034e91010c2c88b>:0
at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <7713cb95b33244ed9608bf0b23fbdce9>:0
--- End of inner exception stack trace ---
at Estlcam.My.MyProject+MyForms.Create__Instance__[T] (T Instance) [0x000bf] in <7201e09138b544319034e91010c2c88b>:0
at Estlcam.My.MyProject+MyForms.get_mw () [0x00000] in <7201e09138b544319034e91010c2c88b>:0
at Estlcam.My.MyApplication.OnCreateMainForm () [0x00056] in <7201e09138b544319034e91010c2c88b>:0
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00010] in <4dcb7d1ddab44fa4bafe41122e645da4>:0
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00001] in <4dcb7d1ddab44fa4bafe41122e645da4>:0
at Estlcam.My.MyApplication.Main (System.String[] Args) [0x0000f] in <7201e09138b544319034e91010c2c88b>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: WinForms_SeeInnerException ---> System.NullReferenceException: Object reference not set to an instance of an object
at Estlcam.Stringfunktionen.D2S (System.Double v, Estlcam.e_Unit Einheit, System.String Autowert, System.Boolean Append_Unit, System.Int32 Nachkommastellen, System.Boolean Allow_Fractions) [0x00013] in <7201e09138b544319034e91010c2c88b>:0
at Estlcam.my_ud.set_Value (System.Double v) [0x00096] in <7201e09138b544319034e91010c2c88b>:0
at Estlcam.my_ud.set__Max (System.Double v) [0x0000e] in <7201e09138b544319034e91010c2c88b>:0
at (wrapper remoting-invoke-with-check) Estlcam.my_ud.set__Max(double)
at Estlcam.mw.InitializeComponent () [0x01ef5] in <7201e09138b544319034e91010c2c88b>:0
at Estlcam.mw..ctor () [0x0008b] in <7201e09138b544319034e91010c2c88b>:0
at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <7713cb95b33244ed9608bf0b23fbdce9>:0
--- End of inner exception stack trace ---
at Estlcam.My.MyProject+MyForms.Create__Instance__[T] (T Instance) [0x000bf] in <7201e09138b544319034e91010c2c88b>:0
at Estlcam.My.MyProject+MyForms.get_mw () [0x00000] in <7201e09138b544319034e91010c2c88b>:0
at Estlcam.My.MyApplication.OnCreateMainForm () [0x00056] in <7201e09138b544319034e91010c2c88b>:0
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00010] in <4dcb7d1ddab44fa4bafe41122e645da4>:0
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00001] in <4dcb7d1ddab44fa4bafe41122e645da4>:0
at Estlcam.My.MyApplication.Main (System.String[] Args) [0x0000f] in <7201e09138b544319034e91010c2c88b>:0 Cannot load assembly mscorlib
0009:err:mscoree:RuntimeHost_ExitProcess Process should have exited
0009:err:mscoree:expect_no_runtimes Process exited with a Mono runtime loaded.

-- 
    Frédéric