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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

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:

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?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8050d676-679d-42c4-a588-a0e5d0836092%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

Boyka Zhu
Having the same issue...

Have you got the root cause?

在 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:

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?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5b78c888-2792-487c-8953-a86c5581bd16%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

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

Boyka Zhu
In reply to this post by Rich Stephens
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:

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?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b45da661-aff4-43d6-9092-56ed49fbbe19%40googlegroups.com.