Netbeans 7.3: Error connecting to Git repository with SSH -
i trying connect git repository on remote server can edit source code in netbeans 7.3, when try connect repository ssh private key clone repository, error: java.lang.arrayindexoutofboundsexception: 779
log:
info [org.netbeans.modules.git]: (address removed): java.lang.arrayindexoutofboundsexception: 779 java.lang.arrayindexoutofboundsexception: 779 @ com.jcraft.jsch.util.frombase64(util.java:50) @ com.jcraft.jsch.knownhosts.setknownhosts(knownhosts.java:157) caused: com.jcraft.jsch.jschexception @ com.jcraft.jsch.knownhosts.setknownhosts(knownhosts.java:171) @ com.jcraft.jsch.jsch.setknownhosts(jsch.java:184) @ org.eclipse.jgit.transport.jschconfigsessionfactory.knownhosts(jschconfigsessionfactory.java:261) @ org.eclipse.jgit.transport.jschconfigsessionfactory.createdefaultjsch(jschconfigsessionfactory.java:248) @ org.netbeans.libs.git.jgit.jgitsshsessionfactory.getjsch(jgitsshsessionfactory.java:122) @ org.netbeans.libs.git.jgit.jgitsshsessionfactory.getsession(jgitsshsessionfactory.java:105) caused: org.eclipse.jgit.errors.transportexception: (address removed): java.lang.arrayindexoutofboundsexception: 779 @ org.netbeans.libs.git.jgit.jgitsshsessionfactory.getsession(jgitsshsessionfactory.java:111) @ org.eclipse.jgit.transport.sshtransport.getsession(sshtransport.java:121) @ org.eclipse.jgit.transport.transportgitssh$sshfetchconnection.<init>(transportgitssh.java:248) @ org.eclipse.jgit.transport.transportgitssh.openfetch(transportgitssh.java:147) @ org.netbeans.libs.git.jgit.commands.listremoteobjectscommand.runtransportcommand(listremoteobjectscommand.java:74) caused: org.netbeans.libs.git.gitexception$authorizationexception: (address removed): java.lang.arrayindexoutofboundsexception: 779 @ org.netbeans.libs.git.jgit.commands.transportcommand.handleexception(transportcommand.java:198) @ org.netbeans.libs.git.jgit.commands.listremoteobjectscommand.runtransportcommand(listremoteobjectscommand.java:87) @ org.netbeans.libs.git.jgit.commands.transportcommand.run(transportcommand.java:137) @ org.netbeans.libs.git.jgit.commands.gitcommand.execute(gitcommand.java:73) @ org.netbeans.libs.git.gitclient.listremotebranches(gitclient.java:655) @ org.netbeans.modules.git.client.gitclient$31.call(gitclient.java:533) @ org.netbeans.modules.git.client.gitclient$31.call(gitclient.java:529) @ org.openide.util.networksettings.suppressauthenticationdialog(networksettings.java:140) @ org.netbeans.modules.git.client.gitclient$commandinvoker$1$1.call(gitclient.java:790) @ org.netbeans.modules.git.client.gitclient$commandinvoker$1.call(gitclient.java:815) @ org.netbeans.modules.git.client.gitclient$commandinvoker.runmethodintern(gitclient.java:823) @ org.netbeans.modules.git.client.gitclient$commandinvoker.runmethod(gitclient.java:756) @ org.netbeans.modules.git.client.gitclient$commandinvoker.runmethod(gitclient.java:734) @ org.netbeans.modules.git.client.gitclient$commandinvoker.access$400(gitclient.java:728) @ org.netbeans.modules.git.client.gitclient.listremotebranches(gitclient.java:529) [catch] @ org.netbeans.modules.git.ui.clone.repositorystep$repositorystepprogresssupport.perform(repositorystep.java:197) @ org.netbeans.modules.git.client.gitprogresssupport.performintern(gitprogresssupport.java:102) @ org.netbeans.modules.git.client.gitprogresssupport.run(gitprogresssupport.java:95) @ org.openide.util.requestprocessor$task.run(requestprocessor.java:1432) @ org.openide.util.requestprocessor$processor.run(requestprocessor.java:2044)
any ideas how fix this?
all threads including kind of error point same solution.
see instance "arrayindexoutofboundsexception error when installing ibm intelligent operations center platform control tool".
caused by: java.lang.arrayindexoutofboundsexception: array index out of range: 810 @ com.jcraft.jsch.util.frombase64(util.java:48) @ com.jcraft.jsch.knownhosts.setknownhosts(knownhosts.java:157)
cause
the ssh keystore on installation server out-of-sync environment.
resolving problem
to correct problem, following:
- log on installation server root user.
- delete
/root/.ssh/known_hosts
file.- using
ssh
command, access 4 target servers (application, event, data, , management) root user using fully-qualified hostname of each server. accept ssh key when prompted.
same kind of solution in "com.jcraft.jsch.jschexception: unknownhostkey
".
Comments
Post a Comment