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

NumberFormatException when importing Xporter configuration

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Won't Fix
    • None
    • 6.8.4, 6.9.6
    • App Settings
    • None
    • UNCOVERED

    Description

      Description
      NumberFormatException when importing Xporter configuration

      How to reproduce

      1. Export the configuration from one server with version 6.8.4 or later
      2. Import the configuration in another server with the same Xporter version

      Actual result/Attachments
      Error message generated in the log:

      .... /secure/admin/views/com.xpandit.plugins.jiraxporter.ExportImportSettings!save.jspa [c.x.j.manager.impl.XporterImportSettingsServiceImpl] Something went wrong in the import process!
      java.lang.NumberFormatException: For input string: ""
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Integer.parseInt(Integer.java:592)
      at java.lang.Integer.parseInt(Integer.java:615)
      at com.xpandit.jiraxporter.manager.impl.XporterImportSettingsServiceImpl.getDefaultValue(Unknown Source)
      at com.xpandit.jiraxporter.manager.impl.XporterImportSettingsServiceImpl.restoreSchemes(Unknown Source)
      at com.xpandit.jiraxporter.manager.impl.XporterImportSettingsServiceImpl.importSettings(Unknown Source)
      at com.xpandit.jiraxporter.action.XporterExportImportSettingsAdmin.doSave(Unknown Source)
      ... 
      

      Expected result
      The import works, importing all the settings without returning errors.

      Version

      • 6.8.4, ..., 6.9.6

      Attachments

        Activity

          People

            bernardo.cottim Bernardo Cottim
            rmsp Rogerio Paiva [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: