Details
-
Suggestion
-
Resolution: Unresolved
-
None
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.