Java error at the end of otherwise normal build causing build failure

111 views
Skip to first unread message

Rich Stephens

unread,
Apr 26, 2019, 4:08:54 PM4/26/19
to Jenkins Users
I have a fully working build, but for some reason, after my build is actually complete, at the very end, Jenkins throws the following error:

FATAL: Argument value 0xfffffffffffffd8 exceeds native capacity (4 bytes) mask=0xffffffff00000000
java.lang.IllegalArgumentException: Argument value 0xfffffffffffffd8 exceeds native capacity (4 bytes) mask=0xffffffff00000000
	at com.sun.jna.IntegerType.setValue(IntegerType.java:104)
	at com.sun.jna.IntegerType.<init>(IntegerType.java:67)
	at com.sun.jna.NativeLong.<init>(NativeLong.java:49)
	at com.sun.jna.NativeLong.<init>(NativeLong.java:44)
	at hudson.util.ProcessTree$AIX$AIXProcess.getEnvironmentVariables(ProcessTree.java:1243)
	at hudson.util.ProcessTree$OSProcess.hasMatchingEnvVars(ProcessTree.java:320)
	at hudson.util.ProcessTree$Unix.killAll(ProcessTree.java:706)
	at hudson.Launcher$LocalLauncher.kill(Launcher.java:956)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510)
	at hudson.model.Run.execute(Run.java:1818)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)

Which causes Jenkins to believe the otherwise successful build failed (and send me an email telling me so).
Has anyone seen this odd Java error at the very end of their build?

Boyka Zhu

unread,
Mar 26, 2020, 8:58:24 AM3/26/20
to Jenkins Users
Having the same issue...

Have you got the root cause?

在 2019年4月27日星期六 UTC+8上午4:08:54,Rich Stephens写道:

Boyka Zhu

unread,
Mar 26, 2020, 8:58:25 AM3/26/20
to Jenkins Users
Finally got the cause, after change to java8 64 bit on AIX, the issue was gone.


在 2019年4月27日星期六 UTC+8上午4:08:54,Rich Stephens写道:
I have a fully working build, but for some reason, after my build is actually complete, at the very end, Jenkins throws the following error:
Reply all
Reply to author
Forward
0 new messages