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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

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

        Issue Links

          Activity

            People

              mmcmahon Matthew McMahon (Inactive)
              mariffin Mohamed Hazwan Ariffin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync