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

Xporter null pointer exception with Tempo Timesheet

    XporterXMLWordPrintable

Details

    • OK

    Description

      Problem: The user won't be able to export the log work due to a null pointer exception.

      Steps to reproduce the error: On your JIRA instance, you must have to log work using JIRA and after this install the Tempo Timesheet. The log work it will be available on Tempo. Finally, disable the Tempo Timesheets.

      Expected result: You must be able to export the log work without Tempo Timesheet when the log work was registered without Tempo Timesheet.

      Log:

      Error retrieving field WorklogsCount.
      java.lang.NullPointerException
              at com.xpandit.jiraxporter.mapping.integration.TempoTimesheetMapLoaderV2.mapWorkLog(TempoTimesheetMapLoaderV2.java:106)
              at com.xpandit.jiraxporter.mapping.XporterFieldRetrieverUtils.addWorklog(XporterFieldRetrieverUtils.java:1151)
              at com.xpandit.jiraxporter.mapping.XporterFieldRetriever.lambda$getFieldRetriever$121(XporterFieldRetriever.java:1780)
      

      Attachments

        Activity

          People

            tfsi Tiago Silva [X] (Inactive)
            afro Andre Fernandes Rodrigues
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 30 minutes
                2h 30m