Debugging mxbuild errors (on linux + mono docker)

0
I get this error all of a “sudden” (okay, I had a crash on my mendix-builder server, and had to upgrade Debian and docker-ce) and in the process we also upgraded from a 8.14 to 8.18 (Postgresql 14 support) and now I’m stuck with this build error and I can’t seem to find  the reason why there is a PERMISSION error by Java??   "Buildfile: /model/deployment/build_core.xml BUILD FAILED java.lang.ExceptionInInitializerError at java.base/sun.nio.ch.FileChannelImpl.<init>(FileChannelImpl.java:123) at java.base/sun.nio.ch.FileChannelImpl.open(FileChannelImpl.java:145) at java.base/sun.nio.fs.UnixChannelFactory.newFileChannel(UnixChannelFactory.java:144) at java.base/sun.nio.fs.UnixChannelFactory.newFileChannel(UnixChannelFactory.java:156) at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:217) at java.base/java.nio.file.Files.newByteChannel(Files.java:371) at java.base/java.nio.file.Files.newByteChannel(Files.java:422) at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420) at java.base/java.nio.file.Files.newInputStream(Files.java:156) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:252) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:182) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93) at org.apache.tools.ant.Main.runBuild(Main.java:809) at org.apache.tools.ant.Main.startAnt(Main.java:223) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101) Caused by: java.io.IOException: Permission denied at java.base/sun.nio.ch.FileDispatcherImpl.init(Native Method) at java.base/sun.nio.ch.FileDispatcherImpl.<clinit>(FileDispatcherImpl.java:38) ... 16 more Where/how can I get mxbuild to give me an answer? command executed: root@mendix-builder:/data/hvt# docker run -it --rm --volume /data/output/ClientNameWeb/1432/:/output --volume /data/modeler/mxbuild-8.18.14.33751:/mxbuild --volume /data/jdk/11-openjdk-amd64:/java --volume /data/build:/model mono:5.20 mono /mxbuild/modeler/mxbuild.exe --java-home=/java --java-exe-path=/java/bin/java --target=package --output=/output/ClientName_202105v8Upgrade_1432.mda --project-name=ClientNameWeb /model/ClientName.mpr --write-errors=/output/test1 --check-java-dependencies __ __ ____ _ _ _ | \/ | | _ \ (_) | | | | \ / |_ _| |_) |_ _ _| | __| | | |\/| \ \/ / _ <| | | | | |/ _` | | | | |> <| |_) | |_| | | | (_| | |_| |_/_/\_\____/ \__,_|_|_|\__,_| v8.18.14.33751 Starting build for Mendix Project file: /model/ClientName.mpr Using the following options: * Build target: Package * Deployment package file: /output/ClientName_202105v8Upgrade_1432.mda * Project name: ClientNameWeb Reading project file... Building project... Executing step 'Synchronize with file system' * Synchronizing with file system... Executing step 'Initialize' * Preparing deployment... Executing step 'Check prerequisites' * Checking for errors... libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: cHRM chunk does not match sRGB Executing step 'Clean deployment directory' * Cleaning data broker files... * Cleaning deployment directory... ERROR: An error occurred while cleaning the deployment directory. Buildfile: /model/deployment/build_core.xml BUILD FAILED java.lang.ExceptionInInitializerError at java.base/sun.nio.ch.FileChannelImpl.<init>(FileChannelImpl.java:123) at java.base/sun.nio.ch.FileChannelImpl.open(FileChannelImpl.java:145) at java.base/sun.nio.fs.UnixChannelFactory.newFileChannel(UnixChannelFactory.java:144) at java.base/sun.nio.fs.UnixChannelFactory.newFileChannel(UnixChannelFactory.java:156) at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:217) at java.base/java.nio.file.Files.newByteChannel(Files.java:371) at java.base/java.nio.file.Files.newByteChannel(Files.java:422) at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420) at java.base/java.nio.file.Files.newInputStream(Files.java:156) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:252) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:182) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93) at org.apache.tools.ant.Main.runBuild(Main.java:809) at org.apache.tools.ant.Main.startAnt(Main.java:223) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101) Caused by: java.io.IOException: Permission denied at java.base/sun.nio.ch.FileDispatcherImpl.init(Native Method) at java.base/sun.nio.ch.FileDispatcherImpl.<clinit>(FileDispatcherImpl.java:38) ... 16 more Total time: 0 seconds java.lang.ExceptionInInitializerError at java.base/sun.nio.ch.FileChannelImpl.<init>(FileChannelImpl.java:123) at java.base/sun.nio.ch.FileChannelImpl.open(FileChannelImpl.java:145) at java.base/sun.nio.fs.UnixChannelFactory.newFileChannel(UnixChannelFactory.java:144) at java.base/sun.nio.fs.UnixChannelFactory.newFileChannel(UnixChannelFactory.java:156) at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:217) at java.base/java.nio.file.Files.newByteChannel(Files.java:371) at java.base/java.nio.file.Files.newByteChannel(Files.java:422) at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420) at java.base/java.nio.file.Files.newInputStream(Files.java:156) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:252) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:182) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93) at org.apache.tools.ant.Main.runBuild(Main.java:809) at org.apache.tools.ant.Main.startAnt(Main.java:223) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101) Caused by: java.io.IOException: Permission denied at java.base/sun.nio.ch.FileDispatcherImpl.init(Native Method) at java.base/sun.nio.ch.FileDispatcherImpl.<clinit>(FileDispatcherImpl.java:38) ... 16 more Writing list of project errors... * Project errors written to file '/output/test1' BUILD FAILED root@mendix-builder:/data/hvt#  
asked
0 answers