maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Tran (JIRA)" <>
Subject [jira] [Created] (WAGON-466) Better error message when account is locked
Date Mon, 31 Oct 2016 05:25:58 GMT
Dan Tran created WAGON-466:

             Summary: Better error message when account is locked
                 Key: WAGON-466
             Project: Maven Wagon
          Issue Type: Bug
          Components: wagon-ssh
    Affects Versions: 2.10
            Reporter: Dan Tran
             Fix For: 2.1

When wagon-ssh encounter none prompt eror ( like account is lock) it throws

Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
	at org.apache.maven.wagon.providers.ssh.jsch.interactive.UserInfoUIKeyboardInteractiveProxy.promptKeyboardInteractive(
	at com.jcraft.jsch.UserAuthKeyboardInteractive.start(
	at com.jcraft.jsch.Session.connect(
	at com.jcraft.jsch.Session.connect(
	at org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnectionInternal(
	at org.apache.maven.wagon.AbstractWagon.openConnection(
	at org.apache.maven.wagon.AbstractWagon.connect(
	at org.apache.maven.wagon.AbstractWagon.connect(

This is due to empty array UserInfoUIKeyboardInteractiveProxy

The solution is not handle the empty promt


This message was sent by Atlassian JIRA

View raw message