See 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/167/display/redirect?page=changes>

Changes:

[Gary D. Gregory] Use a Calendar constant instead of a magic number

[github] Bump github/codeql-action from 3.28.19 to 3.29.0


------------------------------------------
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on jenkins-win-azr-1 (Windows-Docker Windows) in workspace 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir 
 > <https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/.git> # 
 > timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://gitbox.apache.org/repos/asf/commons-net.git # timeout=10
Fetching upstream changes from 
https://gitbox.apache.org/repos/asf/commons-net.git
 > git --version # timeout=10
 > git --version # 'git version 2.14.3.windows.1'
 > git fetch --tags --progress -- 
 > https://gitbox.apache.org/repos/asf/commons-net.git 
 > +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse "refs/remotes/origin/master^{commit}" # timeout=10
Checking out Revision 5e1dc50e51b8f322a52c81b2d1fa8fe18ff76daa 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5e1dc50e51b8f322a52c81b2d1fa8fe18ff76daa # timeout=10
Commit message: "Merge pull request #352 from 
apache/dependabot/github_actions/github/codeql-action-3.29.0"
 > git rev-list --no-walk 02168efeda9f54cbf9da0ea8a240fe601bec6a04 # timeout=10
[EnvInject] - Injecting environment variables from a build step.
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
[EnvInject] - Injecting as environment variables the properties content 
JAVA_1_8_HOME=${JDK_1_8_LATEST_HOME}

[EnvInject] - Variables injected successfully.
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
Parsing POMs
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
Established TCP socket on 63484
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[commons-net-windows] $ java -cp 
f:\jenkins\jenkins-home\712657a4\maven35-agent.jar;f:\jenkins\tools\maven\latest\boot\plexus-classworlds-2.8.0.jar;f:\\jenkins\\tools\\maven\\latest/conf/logging
 jenkins.maven3.agent.Maven35Main f:\\jenkins\\tools\\maven\\latest 
F:\jenkins\jenkins-home\slave.jar 
f:\jenkins\jenkins-home\712657a4\maven35-interceptor.jar 
f:\jenkins\jenkins-home\712657a4\maven3-interceptor-commons.jar 63484
<===[JENKINS REMOTING CAPACITY]===>   channel started
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
Executing Maven:  -B -f 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/pom.xml> 
-V clean install --no-transfer-progress --batch-mode -Pjava-1.8
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: F:\jenkins\tools\maven\latest
Java version: 17.0.7, vendor: Eclipse Adoptium, runtime: 
F:\jenkins\tools\java\latest17
Default locale: en_US, platform encoding: Cp1252
OS name: "windows server 2019", version: "10.0", arch: "amd64", family: 
"windows"
[INFO] Scanning for projects...
[HUDSON] Collecting dependencies info
[INFO] 
[INFO] ----------------------< commons-net:commons-net >-----------------------
[INFO] Building Apache Commons Net 3.12.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
ERROR: No tool found matching JDK_1_7_LATEST__HOME
ERROR: Could not install JDK_1_8_LATEST_WINDOWS_HOME
java.lang.NullPointerException: Cannot invoke "hudson.model.Computer.getNode()" 
because the return value of "hudson.model.Computer.currentComputer()" is null
        at PluginClassLoader for 
toolenv//hudson.plugins.toolenv.ToolEnvBuildWrapper$1.buildEnvVars(ToolEnvBuildWrapper.java:47)
        at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:971)
        at PluginClassLoader for 
maven-plugin//hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:57)
        at PluginClassLoader for 
maven-plugin//hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:168)
        at PluginClassLoader for 
git//hudson.plugins.git.GitSCM.getParamExpandedRepos(GitSCM.java:511)
        at PluginClassLoader for 
git//hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:723)
        at PluginClassLoader for 
git//hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:688)
        at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:419)
        at hudson.scm.SCM.poll(SCM.java:436)
        at hudson.model.AbstractProject._poll(AbstractProject.java:1429)
        at hudson.model.AbstractProject.poll(AbstractProject.java:1335)
        at 
jenkins.triggers.SCMTriggerItem$SCMTriggerItems$Bridge.poll(SCMTriggerItem.java:151)
        at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:617)
        at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:664)
        at 
hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:123)
        at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
[INFO] 
[INFO] --- clean:3.4.1:clean (default-clean) @ commons-net ---
[INFO] Deleting 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/target>
[INFO] 
[INFO] --- enforcer:3.5.0:enforce (enforce-maven-version) @ commons-net ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion 
passed
[INFO] 
[INFO] --- enforcer:3.5.0:enforce (enforce-java-version) @ commons-net ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] 
[INFO] --- apache-rat:0.16.1:check (rat-check) @ commons-net ---
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 350 licenses.
[INFO] 
[INFO] --- artifact:3.6.0:check-buildplan (check-buildplan) @ commons-net ---
[INFO] No known issue in 21 plugins
[INFO] 
[INFO] --- build-helper:3.6.0:parse-version (parse-version) @ commons-net ---
[INFO] 
[INFO] --- antrun:3.1.0:run (javadoc.resources) @ commons-net ---
[INFO] Executing tasks
[INFO]      [copy] Copying 2 files to 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/target\apidocs\META-INF>
[INFO] Executed tasks
[INFO] 
[INFO] --- remote-resources:3.3.0:process (process-resource-bundles) @ 
commons-net ---
[INFO] Skipping remote resources execution.
[INFO] 
[INFO] --- buildnumber:3.2.1:create (default) @ commons-net ---
[INFO] Executing: cmd.exe /X /C "git log -1 --no-merges "--format=format:%H %aI 
%aE %aN""
[INFO] Working directory: 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
[INFO] Storing buildNumber: null at timestamp: 1749796675093
[INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
[INFO] Working directory: 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: cmd.exe /X /C "git log -1 --no-merges "--format=format:%H %aI 
%aE %aN""
[INFO] Working directory: 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/>
[INFO] Storing scmBranch: UNKNOWN
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ commons-net ---
[INFO] Copying 1 resource from src\main\resources to target\classes
[INFO] Copying 2 resources from  to target\classes\META-INF
[INFO] 
[INFO] --- compiler:3.14.0:compile (default-compile) @ commons-net ---
[WARNING]  Parameter 'compilerVersion' (user property 
'maven.compiler.compilerVersion') is deprecated: This parameter is no longer 
evaluated by the underlying compilers, instead the actual version of the javac 
binary is automatically retrieved.
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 216 source files with javac [forked debug release 8] to 
target\classes
[WARNING] Attempt to (de-)serialize anonymous class 
org.jfrog.hudson.maven2.MavenDependenciesRecorder$1; see: 
https://jenkins.io/redirect/serialization-of-anonymous-classes/
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:08 min
[INFO] Finished at: 2025-06-13T06:38:02Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.14.0:compile (default-compile) 
on project commons-net: Fatal error compiling: Could not retrieve version from 
${JDK_1_8_LATEST_HOME}/bin/javac. Exit code 1, Output: The system cannot find 
the path specified. -> [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/MojoExecutionException
[JENKINS] Archiving 
<https://ci-builds.apache.org/job/Commons/job/commons-net-windows/ws/pom.xml> 
to commons-net/commons-net/3.12.0-SNAPSHOT/commons-net-3.12.0-SNAPSHOT.pom
Sending e-mails to: notifications@commons.apache.org
channel stopped
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8
ERROR: No tool found matching JDK_1_7_LATEST__HOME
Setting JDK_1_8_LATEST_WINDOWS_HOME=F:\jenkins\tools\java\latest1.8

Reply via email to