Uploaded image for project: 'Project Configurator - Development'
  1. Project Configurator - Development
  2. PCDEV-864

Request types with same name and different issue types are not exported correctly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.2-J7
    • Labels:
      None
    • Critical Points:
      0

      Description

      When running an import, the import fails with an error of Cannot get property 'name' on null object" and gives the stack trace below. This happened when the new email configuration refers to a request type that is going to be created also in the same import.

      The manual workaround to this problem was launching the real import (in that case no error would occur)

      [Service Desk] Setting email request configuration to: EmailChannel{xxxxxxxxxx}
      2018-09-17 14:33:40,708 JiraTaskExectionThread-3 ERROR admin 870x2768x1 zmdozn 172.25.4.157 /secure/complete-project-import.jspa [c.a.p.operationsapi.impl.ProjectConfigImporterImpl] java.lang.NullPointerException: Cannot get property 'id' on null object
          	at org.codehaus.groovy.runtime.NullObject.getProperty(NullObject.java:60)
          	at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:190)
          	at org.codehaus.groovy.runtime.callsite.NullCallSite.getProperty(NullCallSite.java:46)
          	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:299)
          	at com.awnaba.projectconfigurator.groovytools.servicedesk.EmailChannelGroovyTools.buildEmailConfigurationFromEmailChannel(EmailChannelGroovyTools.groovy:207)
          	at com.awnaba.projectconfigurator.groovytools.servicedesk.EmailChannelGroovyTools$buildEmailConfigurationFromEmailChannel$1.callStatic(Unknown Source)
          	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:55)
          	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:197)
          	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:209)
          	at com.awnaba.projectconfigurator.groovytools.servicedesk.EmailChannelGroovyTools.createEmailChannel(EmailChannelGroovyTools.groovy:100)
      

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jrojo Jose Rojo [X] (Inactive)
              Reporter:
              kwalker Kristian Walker
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: