Uploaded image for project: 'Xporter for Jira'
  1. Xporter for Jira
  2. XPORTER-396

Getting NullPointerException when the template contains fields that doesn't have the current issue project in its Available Context

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release 3.2.4
    • Release 3.4.0
    • Document Engine
    • None
    • UNCOVERED

    Description

      Hi,

      We have JIRA V6.2.2 and Xporter V3.2.4.
      With the custom template (File attached) we get following error when exporting to Pdf or Word:

      General Exception: java.lang.NullPointerException
      java.lang.NullPointerException
      at com.xpandit.jiraxporter.a.e.a(Unknown Source)
      at com.xpandit.jiraxporter.a.e.a(Unknown Source)
      at com.xpandit.jiraxporter.a.f.a(Unknown Source)
      at com.xpandit.jiraxporter.component.service.XporterServiceImpl.exportIssue(Unknown Source)
      at com.xpandit.jiraxporter.component.service.XporterServiceImpl.generateReport(Unknown Source)
      at com.xpandit.jiraxporter.servlet.IssueExportServlet.doPost(Unknown Source)
      at com.xpandit.jiraxporter.servlet.IssueExportServlet.doGet(Unknown Source)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:42)
      ...
      see attachment.

      Could you please help us solve this issue?
      Thank you!
      Best regards,
      Loredana

      Attachments

        Activity

          People

            fcma fcma
            loredana.arsene@lotterien.at Loredana
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: