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.

Getting StackOverflowError on fresh agent install #4462

ozonshak ·

Hello. I'm on v12.0.7 of Quickbuild and I've installed a fresh agent on a remote server (RHEL). It was working fine initially for a day or two, then I noticed the agent became "inactive" on the grid. When I looked at the server, the agent was still running, but generating this in the log:

2023-01-16 08:44:47,622 [Thread-10] ERROR com.pmease.quickbuild.Quickbuild - Error connecting server.
java.lang.StackOverflowError
at java.base/java.util.Collections$UnmodifiableCollection.isEmpty(Collections.java:1033)

I had to stop and restart the agent. With this particular server, it already had an older version of java (java version "1.6.0_41") running globally. Since that version is not compatible with v12 of Quickbuild, I installed "openjdk-11.0.2_linux-x64_bin.tar.gz" (openJDK v11) under the quickbuild directory ("/opt/quickbuild/jdk-11.0.2/") and referenced it from the QB config properties.

Is this error Java related or is there something else I would need to tweak with the QB settings? I have the same agent running on a different server (with java installed globally via "sudo yum -y install java-11-openjdk java-11-openjdk-devel") just fine. Not sure what is different about this particular server that would cause this error.

Thanks!

  • replies 1
  • views 189
  • stars 0
robinshen ADMIN ·

Hi, please see response via email.