Getting Error After Deployment through Docker

0
I am getting following error in front end after Docker deployment of my app {"message":"failure to get a peer from the ring-balancer"} Also, the stack trace from command prompt is as follows – ERROR: System.TypeInitializationException: The type initializer for 'Mendix.Modeler.WebUI.Forms.Widgets.LayoutWidgets.Tables.TableViewUtil' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0   at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)   at System.Drawing.GDIPlus..cctor () [0x000cc] in <1917aa1c39d94b1a91807b8cd9f03350>:0    --- End of inner exception stack trace ---   at System.Drawing.Image.InitFromStream (System.IO.Stream stream) [0x00077] in <1917aa1c39d94b1a91807b8cd9f03350>:0   at System.Drawing.Bitmap..ctor (System.IO.Stream stream, System.Boolean useIcm) [0x00006] in <1917aa1c39d94b1a91807b8cd9f03350>:0   at System.Drawing.Bitmap..ctor (System.IO.Stream stream) [0x00000] in <1917aa1c39d94b1a91807b8cd9f03350>:0   at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (System.IO.Stream)   at Mendix.Modeler.Theming.Icons.GetResourceValue (System.String resourceName, System.Func`2[T,TResult] iconConverter) [0x0000b] in <9d92b988bf45408eb6daec727b7f86c4>:0   at Mendix.Modeler.Theming.Icons+<>c.<.cctor>b__6405_1080 () [0x00000] in <9d92b988bf45408eb6daec727b7f86c4>:0   at System.Lazy`1[T].CreateValue () [0x00075] in <8f2c484307284b51944a1a13a14c0266>:0    --- End of inner exception stack trace ---   at Mendix.Modeler.WebUI.Forms.Tasks.CommonTasks.Init () [0x0000a] in <71e24f1c42bb432ebc6952c0c702beec>:0   at Mendix.Modeler.WebUI.WebUIPlugin.Init () [0x00000] in <71e24f1c42bb432ebc6952c0c702beec>:0   at Mendix.Modeler.Plugins.PluginBase`1[TSelf].Mendix.Modeler.Plugins.IPlugin.Init (Mendix.Modeler.Core.IModelerCore _modelerCore) [0x00007] in <1c8cef8a56854ba2ade9de72d6377ede>:0   at Mendix.Modeler.Plugins.PluginManager.Init (Mendix.Modeler.Core.IModelerCore modelerCore) [0x00014] in <1c8cef8a56854ba2ade9de72d6377ede>:0   at Mendix.Modeler.ModelerCore..ctor (Mendix.Modeler.Core.IProjectManager projectManager, Mendix.Modeler.Utility.IFileSystem fileSystem, Mendix.Modeler.Projects.Checks.IProjectChecker projectChecker, Mendix.Modeler.Plugins.IPluginManager pluginManager) [0x0003a] in <1c8cef8a56854ba2ade9de72d6377ede>:0   at Mendix.CommandLine.Shared.ApplicationContainerFactory.InitializeModelerCore (Mendix.Modeler.Utility.DIContainer.IContainer container) [0x00018] in <313017a0ad874cf6aee896abff6d5a6a>:0   at Mendix.CommandLine.Shared.ApplicationContainerFactory.Init (System.Reflection.Assembly[] extraAssemblies) [0x0000b] in <313017a0ad874cf6aee896abff6d5a6a>:0   at Mendix.CommandLine.Shared.ApplicationContainerFactory.GetInstance (System.Reflection.Assembly[] extraAssemblies) [0x00007] in <313017a0ad874cf6aee896abff6d5a6a>:0   at Mendix.CommandLine.Shared.ProgramHelper.InitializeAndRun[T] (System.Func`2[T,TResult] program, System.Reflection.Assembly[] extraAssemblies) [0x00005] in <313017a0ad874cf6aee896abff6d5a6a>:0 Unhandled Exception: System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0   at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)   at System.Drawing.GDIPlus..cctor () [0x000cc] in <1917aa1c39d94b1a91807b8cd9f03350>:0    --- End of inner exception stack trace ---   at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_generic_class_init (intptr)   at System.Drawing.Image.Dispose (System.Boolean disposing) [0x00000] in <1917aa1c39d94b1a91807b8cd9f03350>:0   at System.Drawing.Image.Finalize () [0x00000] in <1917aa1c39d94b1a91807b8cd9f03350>:0 ERROR: Could not read mxbuild error file Traceback (most recent call last):   File "/buildpack/bin/compile", line 226, in run_mx_build     subprocess.check_call(args, env=mono_env)   File "/usr/lib/python3.6/subprocess.py", line 311, in check_call     raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/tmp/opt/mono-4.6.2.16/bin/mono', '--config', '/tmp/opt/mono-4.6.2.16/etc/mono/config', '/build/.local/mxbuild/modeler/mxbuild.exe', '--target=package', '--output=/tmp/model.mda', '--java-home=/build/.local/usr/lib/jvm/jdk-8-oracle-x64', '--java-exe-path=/build/.local/usr/lib/jvm/jdk-8-oracle-x64/bin/java', '--write-errors=/tmp/builderrors.json', '/build/GE_Visibility.mpr']' returned non-zero exit status 255. During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/buildpack/bin/compile", line 255, in buildstatus_callback     with codecs.open(error_file, 'r', encoding='utf-8-sig') as b:   File "/usr/lib/python3.6/codecs.py", line 897, in open     file = builtins.open(filename, mode, buffering) FileNotFoundError: [Errno 2] No such file or directory: '/tmp/builderrors.json' ERROR: MxBuild returned errors: {"problems": [{"severity": "Error", "message": "Failed to build the model, please check application logs for details.", "locations": []}]} WARNING: No build status callback url set, so not going to submit the status Traceback (most recent call last):   File "/buildpack/bin/compile", line 285, in <module>     run_mx_build()   File "/buildpack/bin/compile", line 229, in run_mx_build     raise e   File "/buildpack/bin/compile", line 226, in run_mx_build     subprocess.check_call(args, env=mono_env)   File "/usr/lib/python3.6/subprocess.py", line 311, in check_call     raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/tmp/opt/mono-4.6.2.16/bin/mono', '--config', '/tmp/opt/mono-4.6.2.16/etc/mono/config', '/build/.local/mxbuild/modeler/mxbuild.exe', '--target=package', '--output=/tmp/model.mda', '--java-home=/build/.local/usr/lib/jvm/jdk-8-oracle-x64', '--java-exe-path=/build/.local/usr/lib/jvm/jdk-8-oracle-x64/bin/java', '--write-errors=/tmp/builderrors.json', '/build/GE_Visibility.mpr']' returned non-zero exit status 255.   Already researched but did not find proper fix. Please help. Thanks in advance.
asked
1 answers
0

We are having the same problem with mendix 8.2.2 since 5th November. Again, during the docker build process. 

There is also another user here with the same problem:

https://forum.mendix.com/link/questions/96759

answered