Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-1819

CSV Importer fails if the same file is used for Users and Groups Memberships

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      If the same file is provided in the Importer Users File and Group Membership File fields, the Importer will fail in the last step of the import process:

              java.lang.NullPointerException
      	at com.atlassian.crowd.importer.importers.BaseImporter.mapContainersToUsers(BaseImporter.java:125)
      	at com.atlassian.crowd.importer.importers.BaseImporter.importGroupMemberships(BaseImporter.java:144)
      	at com.atlassian.crowd.importer.importers.BaseImporter.importUsersGroupsAndMemberships(BaseImporter.java:207)
      	at com.atlassian.crowd.importer.manager.ImporterManagerImpl.performImport(ImporterManagerImpl.java:35)
      	at com.atlassian.crowd.console.action.dataimport.CsvConfirmation.doExecute(CsvConfirmation.java:39)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:592)
      	at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358)
      

      See full stack trace attached.

      The UI should show an error message in the first Import Step or Crowd should support this use case.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rbattaglin Renan Battaglin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: