gocd: Agent Error occurred during loop NullPointerException: Cannot invoke "org.apache.http.Header.getValue()" because "md5Header" is null
Issue Type
- Bug Report
Summary
The GoCD Server inform that our two agents are idle but lot of task are pending waiting for an agent. The agent docker log of both ends with a serie of NullPointerException, more than twenty continuous errors of the fellow type:
` 2018-03-01 11:55:55,365 [stdout] - 2018-03-01 11:55:55,364 ERROR [loopThread] AgentController:91 - [Agent Loop] Error occurred during loop:
2018-03-01 11:55:55,365 [stdout] - java.lang.NullPointerException: null `
Environment
Basic environment details
Go Server Version: 18.1.0 (5937-8a847b96ee8d38173f80178ed1285f0e53a970e0) JVM version: 1.8.0_151 OS Information: Linux 4.9.76-3.78.amzn1.x86_64 Usable space in artifacts repository: 2.72 GB Database schema version: 1801007 Pipelines Count: 3
Additional Environment Details
We are using the official docker images.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 25 (13 by maintainers)
Commits related to this issue
- Log required information while agents performing upgrade check * NullPointerException happens during loop thread while performing upgrade check (verifying MD5) which causes agent not to ask for work *... — committed to GaneshSPatil/gocd by GaneshSPatil 6 years ago
- Log required information while agents performing upgrade check * NullPointerException happens during loop thread while performing upgrade check (verifying MD5) which causes agent not to ask for work *... — committed to GaneshSPatil/gocd by GaneshSPatil 6 years ago
- Log required information while agents performing upgrade check (#5212) * NullPointerException happens during loop thread while performing upgrade check (verifying MD5) which causes agent not to ask f... — committed to gocd/gocd by GaneshSPatil 6 years ago
- Remove agent upgrade related debug logs (#5212) (#4469) * These logs were added to debug NPE issue #4469. As the issue #4469 is fixed, these debug logs can be removed. — committed to GaneshSPatil/gocd by GaneshSPatil 5 years ago
- Remove agent upgrade related debug logs (#5212) (#4469) * These logs were added to debug NPE issue #4469. As the issue #4469 is fixed, these debug logs can be removed. — committed to gocd/gocd by GaneshSPatil 5 years ago
- Revert "Remove agent upgrade related debug logs (#5212) (#4469)" This reverts commit 2d3e0f13d5fe1e798b9d622ec78556eeec4e7e3a. — committed to arvindsv/gocd by arvindsv 5 years ago
- Revert "Remove agent upgrade related debug logs (#5212) (#4469)" This reverts commit 2d3e0f13d5fe1e798b9d622ec78556eeec4e7e3a. — committed to gocd/gocd by arvindsv 5 years ago
- Revert "Remove agent upgrade related debug logs (#5212) (#4469)" This reverts commit 2d3e0f13d5fe1e798b9d622ec78556eeec4e7e3a. — committed to bdpiprava/gocd by arvindsv 5 years ago
Thankyou