Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.8.1
-
None
-
Reviewed
Description
The LinuxContainerExecutor contains a number of code snippets like this:
} catch (PrivilegedOperationException e) { int exitCode = e.getExitCode();
PrivilegedOperationException#getExitCode can return null if the operation was interrupted, so when the JVM does auto-unboxing on that last line it can NPE if there was no exit code.