DESCRIPTION

Fix various exceptions in ImportProjectsCommand

It is possible to get NullPointerException,
ArrayIndexOutOfBoundsException and ClassCastException when the command
is invoked in a way the author did not anticipate.

Bug: 398933
Change-Id: I729e1dea45b9f452cf9902e13c63b4de3f741e00


COMMENTS

author: Brenden Conley
date: 2013-02-17 10:09:37.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/sandbox/job/egit.gerrit/4204/ 

-------------------------------------
author: Brenden Conley
date: 2013-02-17 10:25:48.000000000

Patch Set 1: Verified

Build Successful 

https://hudson.eclipse.org/sandbox/job/egit.gerrit/4204/ : SUCCESS

-------------------------------------
author: Douglas Trujillo
date: 2013-02-17 23:42:57.000000000

Patch Set 1: Looks good to me, but someone else must approve; IP review completed

this fixes the problems, maybe it would be more user friendly to show a list of repositories to select one instead of showing an error dialog

-------------------------------------
author: Douglas Trujillo
date: 2013-02-19 22:27:53.000000000

Patch Set 1: Rebased

-------------------------------------
