Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-1525

Error when creating Service Desk request with Notify Hipchat post function in Create Issue transition

      NOTE: This bug report is for JIRA Service Desk Server. Using JIRA Service Desk Cloud? See the corresponding bug report.

      Error when creating Service Desk request with Notify Hipchat post function in Create Issue transition. This might be related to having username that has a combination of uppercase and lowercase letter as well.

      Steps to Reproduce

      1. Access Customer Portal with a Username that has combination of uppercase and lowercase letters.
      2. Tried to create a request with Notify Hipchat post function in the create issue transition
      3. Getting an error
      4. JIRA logs is showing
        2015-02-16 12:32:06,275 TP-Processor25 ERROR PJoseph 752x192301x1 p764so 211.25.19.194,165.254.226.162 /servicedesk/customer/portal/2/create/54 [feature.customer.request.ServiceDeskWorkflowInitializationManager] Error initializing workflow
        java.lang.NullPointerException
                at com.atlassian.labs.jira.workflow.HipChatPostFunction.execute(HipChatPostFunction.java:75)
                at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050)
                at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446)
                at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615)
                at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1$$anonfun$apply$2.apply(ServiceDeskWorkflowInitializationManager.scala:60)
                at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1$$anonfun$apply$2.apply(ServiceDeskWorkflowInitializationManager.scala:58)
                at scalaz.$bslash$div$class.map(Either.scala:94)
                at scalaz.$bslash$div$minus.map(Either.scala:283)
                at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1.apply(ServiceDeskWorkflowInitializationManager.scala:58)
                at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1.apply(ServiceDeskWorkflowInitializationManager.scala:56)
                at scalaz.$bslash$div$class.flatMap(Either.scala:117)
                at scalaz.$bslash$div$minus.flatMap(Either.scala:283)
                at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1.apply(ServiceDeskWorkflowInitializationManager.scala:56)
                at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1.apply(ServiceDeskWorkflowInitializationManager.scala:54)
                at scalaz.$bslash$div$class.flatMap(Either.scala:117)
                at scalaz.$bslash$div$minus.flatMap(Either.scala:283)
                at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager.initializeWorkflow(ServiceDeskWorkflowInitializationManager.scala:54)
                at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager.initializeWorkflowForIssue(ServiceDeskWorkflowInitializationManager.scala:35)
                at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager.com$atlassian$servicedesk$internal$feature$customer$request$CustomerRequestManager$$saveIssueIntoJIRA(CustomerRequestManager.scala:128)
                at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1$$anonfun$apply$2.apply(CustomerRequestManager.scala:82)
                at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1$$anonfun$apply$2.apply(CustomerRequestManager.scala:73)
                at scalaz.$bslash$div$class.flatMap(Either.scala:117)
                at scalaz.$bslash$div$minus.flatMap(Either.scala:283)
                at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1.apply(CustomerRequestManager.scala:73)
                at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1.apply(CustomerRequestManager.scala:72)
                at scalaz.$bslash$div$class.flatMap(Either.scala:117)
        

      Possible Workaround
      Check if the username has combination of uppercase and lowercase letters. Try to replace it with all lowercase and check how it goes.

        1. error.PNG
          error.PNG
          30 kB
        2. people.PNG
          people.PNG
          18 kB

          Form Name

            [JSDSERVER-1525] Error when creating Service Desk request with Notify Hipchat post function in Create Issue transition

            Owen made changes -
            Workflow Original: JSD Bug Workflow v5 - TEMP [ 2304135 ] New: JAC Bug Workflow v3 [ 3125208 ]
            Status Original: Done [ 10044 ] New: Closed [ 6 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v5 [ 2058100 ] New: JSD Bug Workflow v5 - TEMP [ 2304135 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v5 - TEMP [ 2055624 ] New: JSD Bug Workflow v5 [ 2058100 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v5 [ 1956167 ] New: JSD Bug Workflow v5 - TEMP [ 2055624 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v4 [ 1614979 ] New: JSD Bug Workflow v5 [ 1956167 ]
            jonah (Inactive) made changes -
            Description Original: Error when creating Service Desk request with Notify Hipchat post function in Create Issue transition. This might be related to having username that has a combination of uppercase and lowercase letter as well.


            *Steps to Reproduce*
            # Access Customer Portal with a Username that has combination of uppercase and lowercase letters.
            # Tried to create a request with *Notify Hipchat* post function in the create issue transition
            # Getting an error
            !error.PNG|thumbnail!
            # JIRA logs is showing
            {noformat}
            2015-02-16 12:32:06,275 TP-Processor25 ERROR PJoseph 752x192301x1 p764so 211.25.19.194,165.254.226.162 /servicedesk/customer/portal/2/create/54 [feature.customer.request.ServiceDeskWorkflowInitializationManager] Error initializing workflow
            java.lang.NullPointerException
                    at com.atlassian.labs.jira.workflow.HipChatPostFunction.execute(HipChatPostFunction.java:75)
                    at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050)
                    at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446)
                    at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615)
                    at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1$$anonfun$apply$2.apply(ServiceDeskWorkflowInitializationManager.scala:60)
                    at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1$$anonfun$apply$2.apply(ServiceDeskWorkflowInitializationManager.scala:58)
                    at scalaz.$bslash$div$class.map(Either.scala:94)
                    at scalaz.$bslash$div$minus.map(Either.scala:283)
                    at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1.apply(ServiceDeskWorkflowInitializationManager.scala:58)
                    at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1.apply(ServiceDeskWorkflowInitializationManager.scala:56)
                    at scalaz.$bslash$div$class.flatMap(Either.scala:117)
                    at scalaz.$bslash$div$minus.flatMap(Either.scala:283)
                    at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1.apply(ServiceDeskWorkflowInitializationManager.scala:56)
                    at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1.apply(ServiceDeskWorkflowInitializationManager.scala:54)
                    at scalaz.$bslash$div$class.flatMap(Either.scala:117)
                    at scalaz.$bslash$div$minus.flatMap(Either.scala:283)
                    at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager.initializeWorkflow(ServiceDeskWorkflowInitializationManager.scala:54)
                    at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager.initializeWorkflowForIssue(ServiceDeskWorkflowInitializationManager.scala:35)
                    at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager.com$atlassian$servicedesk$internal$feature$customer$request$CustomerRequestManager$$saveIssueIntoJIRA(CustomerRequestManager.scala:128)
                    at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1$$anonfun$apply$2.apply(CustomerRequestManager.scala:82)
                    at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1$$anonfun$apply$2.apply(CustomerRequestManager.scala:73)
                    at scalaz.$bslash$div$class.flatMap(Either.scala:117)
                    at scalaz.$bslash$div$minus.flatMap(Either.scala:283)
                    at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1.apply(CustomerRequestManager.scala:73)
                    at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1.apply(CustomerRequestManager.scala:72)
                    at scalaz.$bslash$div$class.flatMap(Either.scala:117)
            {noformat}

            *Possible Workaround*
            Check if the username has combination of uppercase and lowercase letters. Try to replace it with all lowercase and check how it goes.
            New: {panel:bgColor=#e7f4fa}
              *NOTE:* This bug report is for *JIRA Service Desk Server*. Using *JIRA Service Desk Cloud*? [See the corresponding bug report|http://jira.atlassian.com/browse/JSDCLOUD-1525].
              {panel}

            Error when creating Service Desk request with Notify Hipchat post function in Create Issue transition. This might be related to having username that has a combination of uppercase and lowercase letter as well.


            *Steps to Reproduce*
            # Access Customer Portal with a Username that has combination of uppercase and lowercase letters.
            # Tried to create a request with *Notify Hipchat* post function in the create issue transition
            # Getting an error
            !error.PNG|thumbnail!
            # JIRA logs is showing
            {noformat}
            2015-02-16 12:32:06,275 TP-Processor25 ERROR PJoseph 752x192301x1 p764so 211.25.19.194,165.254.226.162 /servicedesk/customer/portal/2/create/54 [feature.customer.request.ServiceDeskWorkflowInitializationManager] Error initializing workflow
            java.lang.NullPointerException
                    at com.atlassian.labs.jira.workflow.HipChatPostFunction.execute(HipChatPostFunction.java:75)
                    at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050)
                    at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446)
                    at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615)
                    at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1$$anonfun$apply$2.apply(ServiceDeskWorkflowInitializationManager.scala:60)
                    at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1$$anonfun$apply$2.apply(ServiceDeskWorkflowInitializationManager.scala:58)
                    at scalaz.$bslash$div$class.map(Either.scala:94)
                    at scalaz.$bslash$div$minus.map(Either.scala:283)
                    at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1.apply(ServiceDeskWorkflowInitializationManager.scala:58)
                    at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1.apply(ServiceDeskWorkflowInitializationManager.scala:56)
                    at scalaz.$bslash$div$class.flatMap(Either.scala:117)
                    at scalaz.$bslash$div$minus.flatMap(Either.scala:283)
                    at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1.apply(ServiceDeskWorkflowInitializationManager.scala:56)
                    at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1.apply(ServiceDeskWorkflowInitializationManager.scala:54)
                    at scalaz.$bslash$div$class.flatMap(Either.scala:117)
                    at scalaz.$bslash$div$minus.flatMap(Either.scala:283)
                    at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager.initializeWorkflow(ServiceDeskWorkflowInitializationManager.scala:54)
                    at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager.initializeWorkflowForIssue(ServiceDeskWorkflowInitializationManager.scala:35)
                    at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager.com$atlassian$servicedesk$internal$feature$customer$request$CustomerRequestManager$$saveIssueIntoJIRA(CustomerRequestManager.scala:128)
                    at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1$$anonfun$apply$2.apply(CustomerRequestManager.scala:82)
                    at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1$$anonfun$apply$2.apply(CustomerRequestManager.scala:73)
                    at scalaz.$bslash$div$class.flatMap(Either.scala:117)
                    at scalaz.$bslash$div$minus.flatMap(Either.scala:283)
                    at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1.apply(CustomerRequestManager.scala:73)
                    at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1.apply(CustomerRequestManager.scala:72)
                    at scalaz.$bslash$div$class.flatMap(Either.scala:117)
            {noformat}

            *Possible Workaround*
            Check if the username has combination of uppercase and lowercase letters. Try to replace it with all lowercase and check how it goes.
            jonah (Inactive) made changes -
            Link New: This issue relates to JSDCLOUD-1525 [ JSDCLOUD-1525 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v2 [ 1602092 ] New: JSD Bug Workflow v4 [ 1614979 ]
            Marty (Inactive) made changes -
            Component/s New: API and Integrations [ 35993 ]
            Component/s Original: JIRA Integration [ 35890 ]
            Owen made changes -
            Workflow Original: JSD Bug Workflow [ 1399275 ] New: JSD Bug Workflow v2 [ 1602092 ]

              mmcmahon Matthew McMahon (Inactive)
              mariffin Mohamed Hazwan Ariffin (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: