Fix: Improve null safety and error handling in findElementWithCmdURL#481
Open
Manas-Dikshit wants to merge 1 commit into
Open
Fix: Improve null safety and error handling in findElementWithCmdURL#481Manas-Dikshit wants to merge 1 commit into
Manas-Dikshit wants to merge 1 commit into
Jenkins – LibreOffice / Jenkins
failed
May 18, 2026 in 52s
Build: error in 'sh' step
Build / Shell Script
Error in sh step, with arguments mvn -DskipTests -DdryRun clean package.
script returned exit code 1
Build log
+ mvn -DskipTests -DdryRun clean package
Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/home/tdf/lode/jenkins/workspace/WollMux_PR-481@tmp/withMavene0341500/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/home/tdf/lode/jenkins/workspace/WollMux_PR-481@tmp/withMavene0341500"
[INFO] [jenkins-event-spy] Generate /home/tdf/lode/jenkins/workspace/WollMux_PR-481@tmp/withMavene0341500/maven-spy-20260518-140200-5129050309169755113624.log.tmp ...
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.libreoffice:lots:jar:19.0.2-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for com.googlecode.gettext-commons:gettext-maven-plugin is missing. @ line 79, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] LibreOffice Template System Parent [pom]
[INFO] LibreOffice Template System Interfaces [jar]
[INFO] LibreOffice Template System [jar]
[INFO] LibreOffice Template System Extension [jar]
[INFO]
[INFO] --------------------< org.libreoffice:lots-parent >---------------------
[INFO] Building LibreOffice Template System Parent 19.0.2-SNAPSHOT [1/4]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ lots-parent ---
[INFO]
[INFO] ------------------< org.libreoffice:lots-interfaces >-------------------
[INFO] Building LibreOffice Template System Interfaces 19.0.2-SNAPSHOT [2/4]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ lots-interfaces ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ lots-interfaces ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-release-versions) @ lots-interfaces ---
[INFO]
[INFO] --- maven-antrun-plugin:3.0.0:run (idl) @ lots-interfaces ---
[INFO] Executing tasks
[WARNING] [echo] Using UNO_PATH: /opt/libreoffice7.6/program
[WARNING] [echo] Create urd files
[WARNING] [echo] Create class files
[INFO] Executed tasks
[INFO]
[INFO] --- license-maven-plugin:2.0.0:update-file-header (check-file-header) @ lots-interfaces ---
[INFO] Adding a license repository jar:file:/home/tdf/lode/jenkins/workspace/WollMux_PR-481/.repo/org/codehaus/mojo/license-maven-plugin/2.0.0/license-maven-plugin-2.0.0.jar!/META-INF/licenses
[INFO] register GNU Free Documentation License (FDL) version 1.3
[INFO] register GNU General Lesser Public License (LGPL) version 3.0
[INFO] register GNU Affero General Public License (AGPL) version 3.0
[INFO] register GNU General Public License (GPL) version 3.0
[INFO] register GNU General Public License (GPL) version 2.0
[INFO] register GNU General Public License (GPL) version 1.0
[INFO] register Apache License version 2.0
[INFO] register Eclipse Public License - v 2.0 with Secondary License
[INFO] register Eclipse Public License - v 2.0
[INFO] register Eclipse Public License - v 1.0
[INFO] register Eclipse Public + Distribution License - v 1.0
[INFO] register COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
[INFO] register GNU General Lesser Public License (LGPL) version 2.1
[INFO] register MIT-License
[INFO] register BSD 2-Clause License
[INFO] register BSD 3-Clause License
[INFO] register European Union Public License v1.1
[INFO] Will search files to update from root /home/tdf/lode/jenkins/workspace/WollMux_PR-481/idl/src
[INFO] Will search files to update from root /home/tdf/lode/jenkins/workspace/WollMux_PR-481/idl/target/generated-sources
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for LibreOffice Template System Parent 19.0.2-SNAPSHOT:
[INFO]
[INFO] LibreOffice Template System Parent ................. SUCCESS [ 1.736 s]
[INFO] LibreOffice Template System Interfaces ............. FAILURE [ 21.852 s]
[INFO] LibreOffice Template System ........................ SKIPPED
[INFO] LibreOffice Template System Extension .............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.717 s
[INFO] Finished at: 2026-05-18T14:02:24Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated /home/tdf/lode/jenkins/workspace/WollMux_PR-481@tmp/withMavene0341500/maven-spy-20260518-140200-5129050309169755113624.log
[ERROR] Failed to execute goal org.codehaus.mojo:license-maven-plugin:2.0.0:update-file-header (check-file-header) on project lots-interfaces:
[ERROR] There are 9 file(s) with header to update:
[ERROR] /home/tdf/lode/jenkins/workspace/WollMux_PR-481/idl/src/main/idl/de/muenchen/allg/itd51/wollmux/interfaces/WollMux.idl
[ERROR] /home/tdf/lode/jenkins/workspace/WollMux_PR-481/idl/src/main/idl/de/muenchen/allg/itd51/wollmux/interfaces/XPALChangeEventBroadcaster.idl
[ERROR] /home/tdf/lode/jenkins/workspace/WollMux_PR-481/idl/src/main/idl/de/muenchen/allg/itd51/wollmux/interfaces/XPALChangeEventListener.idl
[ERROR] /home/tdf/lode/jenkins/workspace/WollMux_PR-481/idl/src/main/idl/de/muenchen/allg/itd51/wollmux/interfaces/XPALProvider.idl
[ERROR] /home/tdf/lode/jenkins/workspace/WollMux_PR-481/idl/src/main/idl/de/muenchen/allg/itd51/wollmux/interfaces/XPrintModel.idl
[ERROR] /home/tdf/lode/jenkins/workspace/WollMux_PR-481/idl/src/main/idl/de/muenchen/allg/itd51/wollmux/interfaces/XWollMux.idl
[ERROR] /home/tdf/lode/jenkins/workspace/WollMux_PR-481/idl/src/main/idl/de/muenchen/allg/itd51/wollmux/interfaces/XWollMuxDocument.idl
[ERROR] /home/tdf/lode/jenkins/workspace/WollMux_PR-481/idl/src/main/java/de/muenchen/allg/itd51/wollmux/interfaces/EmptyInterface.java
[ERROR] /home/tdf/lode/jenkins/workspace/WollMux_PR-481/idl/src/main/java/module-info.java
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :lots-interfaces
Details
- Declarative: Checkout SCM (11 sec)
- Declarative: Tool Install (2.8 sec)
- Build (28 sec)
Error: script returned exit code 1 - logs - Junit (2.8 sec)
- Quality Gate (2.7 sec)
- Declarative: Post Actions (2.8 sec)
- Build (28 sec)
- Declarative: Tool Install (2.8 sec)
Loading