java.lang.NullPointerException

Atlassian JIRA | Kah Loun Foong [Atlassian] | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    h3. Summary When releasing JIRA Project version, it fail to send a request to Bamboo to run a build due to User Display Name have *cyrillic* character h3. Environment JIRA 7.0.0 h3. Steps to Reproduce # Create a JIRA user with Full Name "Александр" and username "alexander" # Login with this new user # Navigate to {{JIRA Project Administration >> Versions}} # Build and release a JIRA version h3. Expected Results It will trigger a build in Bamboo h3. Actual Results The below exception is thrown in the UI: {noformat} A system error has occurred. If this problem persists, contact your JIRA administrators. {noformat} atlassian-jira.log: {noformat} 2015-10-21 20:04:18,087 http-nio-8700-exec-2 ERROR alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [c.a.j.p.e.bamboo.release.ConfigureBambooRelease] Bamboo failed to trigger the release build for version 1.0 java.lang.NullPointerException at com.atlassian.jira.plugin.ext.bamboo.service.BambooRestServiceImpl.isResponseValid(BambooRestServiceImpl.java:490) at com.atlassian.jira.plugin.ext.bamboo.service.BambooRestServiceImpl.parseResponseForJsonObject(BambooRestServiceImpl.java:432) at com.atlassian.jira.plugin.ext.bamboo.service.BambooRestServiceImpl.parseResponseForJsonObject(BambooRestServiceImpl.java:415) at com.atlassian.jira.plugin.ext.bamboo.service.BambooRestServiceImpl.executeTrigger(BambooRestServiceImpl.java:386) {noformat} h3. Notes Enabling debug logging for "org.apache.http.wire" will show the following POST request: {noformat} 2015-10-21 20:04:18,076 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "POST /rest/api/latest/queue/BAM-GIT.json HTTP/1.1[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "X-Atlassian-Token: no-check[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "Content-Type: application/x-www-form-urlencoded[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "Authorization: OAuth oauth_token="rx8VrSRkaGFkYu1BhuI75mZ0tb01NaIP", oauth_consumer_key="jira%3A6b5fd7e9-3fe7-43b4-871a-47fe5517e2b2", oauth_signature_method="RSA-SHA1", oauth_timestamp="1445429058", oauth_nonce="24455369159320", oauth_version="1.0", oauth_signature="SmLvoeazJAQZiLaAtBc6qbs70K993xTBDjWwWvPux9kBKXwmj645giex6e%2BR%2BLYKlMRIyVp4fIIWaOpU4XnDQwz8hFZW3PY9KTgUPxF%2FHO3FvuZzE8GNIypGyV%2FF2W2lRqpUvOK%2Fqa2SPcDQ1%2FpQH%2FYgm2GsRiVxjMH%2BogBFWgA%3D"[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "Content-Length: 528[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "Host: localhost:8085[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "Connection: Keep-Alive[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "User-Agent: Apache-HttpClient/4.4.1 (Java/1.8.0_51)[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "Accept-Encoding: gzip,deflate[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "[\r][\n]" 2015-10-21 20:04:18,078 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "bamboo.triggerReason.jiraBaseUrl=http%3A%2F%2Flocalhost%3A8700&bamboo.triggerReason.jiraProjectName=test&bamboo.triggerReason.jiraVersion=1.0&bamboo.triggerReason.jiraVersionId=10000&bamboo.triggerReason.jiraUserDisplayName=%3F%3F%3F%3F%3F%3F%3F%3F%3F&bamboo.customTriggerReasonKey=com.atlassian.bamboo.plugin.jira%3AjiraReleaseTriggerReason&bamboo.triggerReason.jiraUsername=alexander&bamboo.customPlanTriggerKey=com.atlassian.bamboo.plugin.jira%3AjiraReleasePlanTrigger&bamboo.triggerReason.jiraProjectKey=TST" 2015-10-21 20:04:18,085 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "HTTP/1.1 401 Unauthorized[\r][\n]" 2015-10-21 20:04:18,086 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "Server: Apache-Coyote/1.1[\r][\n]" 2015-10-21 20:04:18,086 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "WWW-Authenticate: OAuth realm="http%3A%2F%2Flocalhost%3A8085"[\r][\n]" 2015-10-21 20:04:18,086 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "WWW-Authenticate: OAuth realm="http%3A%2F%2Flocalhost%3A8085", oauth_signature="SmLvoeazJAQZiLaAtBc6qbs70K993xTBDjWwWvPux9kBKXwmj645giex6e%2BR%2BLYKlMRIyVp4fIIWaOpU4XnDQwz8hFZW3PY9KTgUPxF%2FHO3FvuZzE8GNIypGyV%2FF2W2lRqpUvOK%2Fqa2SPcDQ1%2FpQH%2FYgm2GsRiVxjMH%2BogBFWgA%3D", oauth_signature_base_string="POST%26http%253A%252F%252Flocalhost%253A8085%252Frest%252Fapi%252Flatest%252Fqueue%252FBAM-GIT.json%26bamboo.customPlanTriggerKey%253Dcom.atlassian.bamboo.plugin.jira%25253AjiraReleasePlanTrigger%2526bamboo.customTriggerReasonKey%253Dcom.atlassian.bamboo.plugin.jira%25253AjiraReleaseTriggerReason%2526bamboo.triggerReason.jiraBaseUrl%253Dhttp%25253A%25252F%25252Flocalhost%25253A8700%2526bamboo.triggerReason.jiraProjectKey%253DTST%2526bamboo.triggerReason.jiraProjectName%253Dtest%2526bamboo.triggerReason.jiraUserDisplayName%253D%25253F%25253F%25253F%25253F%25253F%25253F%25253F%25253F%25253F%252520%25253F%25253F%25253F%25253F%25253F%25253F%25253F%2526bamboo.triggerReason.jiraUsername%253Dalexander%2526bamboo.triggerReason.jiraVersion%253D1.0%2526bamboo.triggerReason.jiraVersionId%253D10000%2526oauth_consumer_key%253Djira%25253A6b5fd7e9-3fe7-43b4-871a-47fe5517e2b2%2526oauth_nonce%253D24455369159320%2526oauth_signature_method%253DRSA-SHA1%2526oauth_timestamp%253D1445429058%2526oauth_token%253Drx8VrSRkaGFkYu1BhuI75mZ0tb01NaIP%2526oauth_version%253D1.0", oauth_problem="signature_invalid", oauth_signature_method="RSA-SHA1"[\r][\n]" 2015-10-21 20:04:18,086 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "Content-Type: application/x-www-form-urlencoded;charset=UTF-8[\r][\n]" 2015-10-21 20:04:18,086 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "Content-Length: 1355[\r][\n]" 2015-10-21 20:04:18,086 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "Date: Wed, 21 Oct 2015 12:04:18 GMT[\r][\n]" 2015-10-21 20:04:18,086 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "[\r][\n]" 2015-10-21 20:04:18,086 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "oauth_signature=SmLvoeazJAQZiLaAtBc6qbs70K993xTBDjWwWvPux9kBKXwmj645giex6e%2BR%2BLYKlMRIyVp4fIIWaOpU4XnDQwz8hFZW3PY9KTgUPxF%2FHO3FvuZzE8GNIypGyV%2FF2W2lRqpUvOK%2Fqa2SPcDQ1%2FpQH%2FYgm2GsRiVxjMH%2BogBFWgA%3D&oauth_signature_base_string=POST%26http%253A%252F%252Flocalhost%253A8085%252Frest%252Fapi%252Flatest%252Fqueue%252FBAM-GIT.json%26bamboo.customPlanTriggerKey%253Dcom.atlassian.bamboo.plugin.jira%25253AjiraReleasePlanTrigger%2526bamboo.customTriggerReasonKey%253Dcom.atlassian.bamboo.plugin.jira%25253AjiraReleaseTriggerReason%2526bamboo.triggerReason.jiraBaseUrl%253Dhttp%25253A%25252F%25252Flocalhost%25253A8700%2526bamboo.triggerReason.jiraProjectKey%253DTST%2526bamboo.triggerReason.jiraProjectName%253Dtest%2526bamboo.triggerReason.jiraUserDisplayName%253D%25253F%25253F%25253F%25253F%25253F%25253F%25253F%25253F%25253F%252520%25253F%25253F%25253F%25253F%25253F%25253F%25253F%2526bamboo.triggerReason.jiraUsername%253Dalexander%2526bamboo.triggerReason.jiraVersion%253D1.0%2526bamboo.triggerReason.jiraVersionId%253D10000%2526oauth_consumer_key%253Djira%25253A6b5fd7e9-3fe7-43b4-871a-47fe5517e2b2%2526oauth_nonce%253D24455369159320%2526oauth_signature_method%253DRSA-SHA1%2526oauth_timestamp%253D1445429058%2526oauth_token%253Drx8VrSRkaGFkYu1BhuI75mZ0tb01NaIP%2526oauth_version%253D1.0&oauth_problem=signature_invalid&oauth_signature_method=RSA-SHA1" {noformat} From the POST request, JIRA user Full Name is not encoded properly: {noformat} bamboo.triggerReason.jiraUserDisplayName=%3F%3F%3F%3F%3F%3F%3F%3F%3F {noformat} Have tested the same Full Name with JIRA 6.4.7 working fine (encoded properly)

    Atlassian JIRA | 1 year ago | Kah Loun Foong [Atlassian]
    java.lang.NullPointerException
  2. 0

    h3. Summary When releasing JIRA Project version, it fail to send a request to Bamboo to run a build due to User Display Name have *cyrillic* character h3. Environment JIRA 7.0.0 h3. Steps to Reproduce # Create a JIRA user with Full Name "Александр" and username "alexander" # Login with this new user # Navigate to {{JIRA Project Administration >> Versions}} # Build and release a JIRA version h3. Expected Results It will trigger a build in Bamboo h3. Actual Results The below exception is thrown in the UI: {noformat} A system error has occurred. If this problem persists, contact your JIRA administrators. {noformat} atlassian-jira.log: {noformat} 2015-10-21 20:04:18,087 http-nio-8700-exec-2 ERROR alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [c.a.j.p.e.bamboo.release.ConfigureBambooRelease] Bamboo failed to trigger the release build for version 1.0 java.lang.NullPointerException at com.atlassian.jira.plugin.ext.bamboo.service.BambooRestServiceImpl.isResponseValid(BambooRestServiceImpl.java:490) at com.atlassian.jira.plugin.ext.bamboo.service.BambooRestServiceImpl.parseResponseForJsonObject(BambooRestServiceImpl.java:432) at com.atlassian.jira.plugin.ext.bamboo.service.BambooRestServiceImpl.parseResponseForJsonObject(BambooRestServiceImpl.java:415) at com.atlassian.jira.plugin.ext.bamboo.service.BambooRestServiceImpl.executeTrigger(BambooRestServiceImpl.java:386) {noformat} h3. Notes Enabling debug logging for "org.apache.http.wire" will show the following POST request: {noformat} 2015-10-21 20:04:18,076 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "POST /rest/api/latest/queue/BAM-GIT.json HTTP/1.1[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "X-Atlassian-Token: no-check[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "Content-Type: application/x-www-form-urlencoded[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "Authorization: OAuth oauth_token="rx8VrSRkaGFkYu1BhuI75mZ0tb01NaIP", oauth_consumer_key="jira%3A6b5fd7e9-3fe7-43b4-871a-47fe5517e2b2", oauth_signature_method="RSA-SHA1", oauth_timestamp="1445429058", oauth_nonce="24455369159320", oauth_version="1.0", oauth_signature="SmLvoeazJAQZiLaAtBc6qbs70K993xTBDjWwWvPux9kBKXwmj645giex6e%2BR%2BLYKlMRIyVp4fIIWaOpU4XnDQwz8hFZW3PY9KTgUPxF%2FHO3FvuZzE8GNIypGyV%2FF2W2lRqpUvOK%2Fqa2SPcDQ1%2FpQH%2FYgm2GsRiVxjMH%2BogBFWgA%3D"[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "Content-Length: 528[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "Host: localhost:8085[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "Connection: Keep-Alive[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "User-Agent: Apache-HttpClient/4.4.1 (Java/1.8.0_51)[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "Accept-Encoding: gzip,deflate[\r][\n]" 2015-10-21 20:04:18,077 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "[\r][\n]" 2015-10-21 20:04:18,078 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 >> "bamboo.triggerReason.jiraBaseUrl=http%3A%2F%2Flocalhost%3A8700&bamboo.triggerReason.jiraProjectName=test&bamboo.triggerReason.jiraVersion=1.0&bamboo.triggerReason.jiraVersionId=10000&bamboo.triggerReason.jiraUserDisplayName=%3F%3F%3F%3F%3F%3F%3F%3F%3F&bamboo.customTriggerReasonKey=com.atlassian.bamboo.plugin.jira%3AjiraReleaseTriggerReason&bamboo.triggerReason.jiraUsername=alexander&bamboo.customPlanTriggerKey=com.atlassian.bamboo.plugin.jira%3AjiraReleasePlanTrigger&bamboo.triggerReason.jiraProjectKey=TST" 2015-10-21 20:04:18,085 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "HTTP/1.1 401 Unauthorized[\r][\n]" 2015-10-21 20:04:18,086 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "Server: Apache-Coyote/1.1[\r][\n]" 2015-10-21 20:04:18,086 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "WWW-Authenticate: OAuth realm="http%3A%2F%2Flocalhost%3A8085"[\r][\n]" 2015-10-21 20:04:18,086 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "WWW-Authenticate: OAuth realm="http%3A%2F%2Flocalhost%3A8085", oauth_signature="SmLvoeazJAQZiLaAtBc6qbs70K993xTBDjWwWvPux9kBKXwmj645giex6e%2BR%2BLYKlMRIyVp4fIIWaOpU4XnDQwz8hFZW3PY9KTgUPxF%2FHO3FvuZzE8GNIypGyV%2FF2W2lRqpUvOK%2Fqa2SPcDQ1%2FpQH%2FYgm2GsRiVxjMH%2BogBFWgA%3D", oauth_signature_base_string="POST%26http%253A%252F%252Flocalhost%253A8085%252Frest%252Fapi%252Flatest%252Fqueue%252FBAM-GIT.json%26bamboo.customPlanTriggerKey%253Dcom.atlassian.bamboo.plugin.jira%25253AjiraReleasePlanTrigger%2526bamboo.customTriggerReasonKey%253Dcom.atlassian.bamboo.plugin.jira%25253AjiraReleaseTriggerReason%2526bamboo.triggerReason.jiraBaseUrl%253Dhttp%25253A%25252F%25252Flocalhost%25253A8700%2526bamboo.triggerReason.jiraProjectKey%253DTST%2526bamboo.triggerReason.jiraProjectName%253Dtest%2526bamboo.triggerReason.jiraUserDisplayName%253D%25253F%25253F%25253F%25253F%25253F%25253F%25253F%25253F%25253F%252520%25253F%25253F%25253F%25253F%25253F%25253F%25253F%2526bamboo.triggerReason.jiraUsername%253Dalexander%2526bamboo.triggerReason.jiraVersion%253D1.0%2526bamboo.triggerReason.jiraVersionId%253D10000%2526oauth_consumer_key%253Djira%25253A6b5fd7e9-3fe7-43b4-871a-47fe5517e2b2%2526oauth_nonce%253D24455369159320%2526oauth_signature_method%253DRSA-SHA1%2526oauth_timestamp%253D1445429058%2526oauth_token%253Drx8VrSRkaGFkYu1BhuI75mZ0tb01NaIP%2526oauth_version%253D1.0", oauth_problem="signature_invalid", oauth_signature_method="RSA-SHA1"[\r][\n]" 2015-10-21 20:04:18,086 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "Content-Type: application/x-www-form-urlencoded;charset=UTF-8[\r][\n]" 2015-10-21 20:04:18,086 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "Content-Length: 1355[\r][\n]" 2015-10-21 20:04:18,086 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "Date: Wed, 21 Oct 2015 12:04:18 GMT[\r][\n]" 2015-10-21 20:04:18,086 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "[\r][\n]" 2015-10-21 20:04:18,086 http-nio-8700-exec-2 DEBUG alexander 1204x565x1 4lajru 0:0:0:0:0:0:0:1 /secure/SubmitBambooRelease.jspa [o.apache.http.wire] http-outgoing-37 << "oauth_signature=SmLvoeazJAQZiLaAtBc6qbs70K993xTBDjWwWvPux9kBKXwmj645giex6e%2BR%2BLYKlMRIyVp4fIIWaOpU4XnDQwz8hFZW3PY9KTgUPxF%2FHO3FvuZzE8GNIypGyV%2FF2W2lRqpUvOK%2Fqa2SPcDQ1%2FpQH%2FYgm2GsRiVxjMH%2BogBFWgA%3D&oauth_signature_base_string=POST%26http%253A%252F%252Flocalhost%253A8085%252Frest%252Fapi%252Flatest%252Fqueue%252FBAM-GIT.json%26bamboo.customPlanTriggerKey%253Dcom.atlassian.bamboo.plugin.jira%25253AjiraReleasePlanTrigger%2526bamboo.customTriggerReasonKey%253Dcom.atlassian.bamboo.plugin.jira%25253AjiraReleaseTriggerReason%2526bamboo.triggerReason.jiraBaseUrl%253Dhttp%25253A%25252F%25252Flocalhost%25253A8700%2526bamboo.triggerReason.jiraProjectKey%253DTST%2526bamboo.triggerReason.jiraProjectName%253Dtest%2526bamboo.triggerReason.jiraUserDisplayName%253D%25253F%25253F%25253F%25253F%25253F%25253F%25253F%25253F%25253F%252520%25253F%25253F%25253F%25253F%25253F%25253F%25253F%2526bamboo.triggerReason.jiraUsername%253Dalexander%2526bamboo.triggerReason.jiraVersion%253D1.0%2526bamboo.triggerReason.jiraVersionId%253D10000%2526oauth_consumer_key%253Djira%25253A6b5fd7e9-3fe7-43b4-871a-47fe5517e2b2%2526oauth_nonce%253D24455369159320%2526oauth_signature_method%253DRSA-SHA1%2526oauth_timestamp%253D1445429058%2526oauth_token%253Drx8VrSRkaGFkYu1BhuI75mZ0tb01NaIP%2526oauth_version%253D1.0&oauth_problem=signature_invalid&oauth_signature_method=RSA-SHA1" {noformat} From the POST request, JIRA user Full Name is not encoded properly: {noformat} bamboo.triggerReason.jiraUserDisplayName=%3F%3F%3F%3F%3F%3F%3F%3F%3F {noformat} Have tested the same Full Name with JIRA 6.4.7 working fine (encoded properly)

    Atlassian JIRA | 1 year ago | Kah Loun Foong [Atlassian]
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.jira.plugin.ext.bamboo.service.BambooRestServiceImpl.isResponseValid()
    2. com.atlassian.jira
      BambooRestServiceImpl.executeTrigger
      1. com.atlassian.jira.plugin.ext.bamboo.service.BambooRestServiceImpl.isResponseValid(BambooRestServiceImpl.java:490)
      2. com.atlassian.jira.plugin.ext.bamboo.service.BambooRestServiceImpl.parseResponseForJsonObject(BambooRestServiceImpl.java:432)
      3. com.atlassian.jira.plugin.ext.bamboo.service.BambooRestServiceImpl.parseResponseForJsonObject(BambooRestServiceImpl.java:415)
      4. com.atlassian.jira.plugin.ext.bamboo.service.BambooRestServiceImpl.executeTrigger(BambooRestServiceImpl.java:386)
      4 frames