ArrayIndexOutOfBoundsException when no SSH identity is added #176

Open
guv opened this Issue Dec 14, 2012 · 0 comments

Comments

Projects
None yet
1 participant

guv commented Dec 14, 2012

In Pallet 0.7.2 when no SSH identity is added and I try to perform a lift operation on a nodelist provider I get an error which has an ArrayIndexOutOfBoundsException as root cause:

#<ArrayIndexOutOfBoundsException java.lang.ArrayIndexOutOfBoundsException>
 at pallet.execute$ensure_ssh_connection$fn__3381.invoke (execute.clj:372)

There should be check to avoid the ArrayIndexOutOfBoundsException which throws an ExceptionInfo that signal that there is no SSH identity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment