Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

It appears that there may be a mismatch in the library versions on the Windows 10 build agent. #4563

xema027 ·

OS : Windows10 Enterprise
Java : OpenJDK 17
QB version : 13.0.5

Publish > Artifacts 

Source Directory
${groovy: return "C:\\"}

Files To Publish

I have been using a build agent on a Linux environment without any problems.
However, when I set up the build agent on a Windows environment, it fails at a specific step.

I am attempting to recreate the steps mentioned, but I encounter an error like below.

<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 500 java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.lang.SystemUtils</title>
<body><h2>HTTP ERROR 500 java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.lang.SystemUtils</h2>
<tr><th>MESSAGE:</th><td>java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.lang.SystemUtils</td></tr>
<tr><th>CAUSED BY:</th><td>java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.lang.SystemUtils</td></tr>
<h3>Caused by:</h3><pre>java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.lang.SystemUtils
    at com.pmease.quickbuild.util.FileUtils.listFiles(
    at com.pmease.quickbuild.grid.FileTransferServlet.doGet(
    at javax.servlet.http.HttpServlet.service(
    at javax.servlet.http.HttpServlet.service(
    at org.eclipse.jetty.servlet.ServletHolder.handle(
    at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(
    at com.pmease.quickbuild.Quickbuild$DisableTraceFilter.doFilter(
    at org.eclipse.jetty.servlet.FilterHolder.doFilter(
    at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(
    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(
    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(
    at org.eclipse.jetty.servlet.ServletHandler.doScope(
    at org.eclipse.jetty.server.session.SessionHandler.doScope(
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(
    at org.eclipse.jetty.server.handler.HandlerCollection.handle(
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(
    at org.eclipse.jetty.server.Server.handle(
    at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(
    at org.eclipse.jetty.server.HttpChannel.dispatch(
    at org.eclipse.jetty.server.HttpChannel.handle(
    at org.eclipse.jetty.server.HttpConnection.onFillable(
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(
    at org.eclipse.jetty.util.thread.ReservedThreadExecutor$
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
    at org.eclipse.jetty.util.thread.QueuedThreadPool$
    at java.base/


It seems that QB internally uses an Apache library, which does not support Windows 10. (commons-lang-2.4.jar)

Is there another way to upgrade the build agent to a higher version or update the library version?

  • replies 5
  • views 282
  • stars 0
robinshen ADMIN ·

This works fine at my side. Probably some files of your windows build agent is corrupted. Please download and install agent again to see if it fixes the issue.

xema027 ·

I have finally found the cause of the error.
Previously, I was using the OpenJDK 17 version, but after downgrading to the OpenJDK 8 version with the Zulu build, it works normally.

It is believed that a particular Java build caused an exception throw in SystemUtils.getJavaVersionAsFloat() of Apache Lang, resulting in this issue.
I believe that this issue does not occur in Lang3, so I suggest migrating in the future.

robinshen ADMIN ·

Which openjdk distribution are you using? I tested with Oracle JDK 17 and it is working.

xema027 ·

I am using Oracle's OpenJDK as well. It appears that this was likely an environmental issue on our end. The problem has been resolved, so you may close this issue. Thank you for your assistance.

robinshen ADMIN ·

Thanks for the info.