0 Replies Latest reply on Jun 25, 2014 1:58 PM by cristianmiranda

    IndexOutOfBoundsException - Arquillian Openshift Express - JBoss 7

    cristianmiranda

      Hi guys,

       

           I'm trying to run my integration tests using arquillian-openshift-express (based on http://arquillian.org/guides/testing_in_the_cloud/) and I'm having the following error: http://pastebin.com/rQPnCABs

       

      1. Caused by: org.eclipse.jgit.errors.TransportException: ssh://52af061b22c6566dc41123134@testingjboss-myapps.rhcloud.com/~/git/testingjboss.git/: java.lang.ArrayIndexOutOfBoundsException: 794
      2.         at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:141)
      3.         at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
      4.         at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
      5.         at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
      6.         at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:127)
      7.         at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:113)
      8.         at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1062)
      9.         at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:129)
      10.         ... 72 more
      11. Caused by: com.jcraft.jsch.JSchException: java.lang.ArrayIndexOutOfBoundsException: 794
      12.         at com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:171)
      13.         at com.jcraft.jsch.JSch.setKnownHosts(JSch.java:181)
      14.         at org.eclipse.jgit.transport.JschConfigSessionFactory.knownHosts(JschConfigSessionFactory.java:261)
      15.         at org.eclipse.jgit.transport.JschConfigSessionFactory.createDefaultJSch(JschConfigSessionFactory.java:248)
      16.         at

       

           ... this is my arquillian.xml:

       

      <arquillian xmlns="http://jboss.org/schema/arquillian"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
      
          <container qualifier="openshift-express">
              <configuration>
                  <property name="namespace">myapps</property>
                  <property name="application">testingjboss</property>
                  <property name="sshUserName">52af061b22c6566dc41123134</property>
                  <!--<property name="passphrase"></property>-->
                  <property name="login">myemail@gmail.com</property>
              </configuration>
          </container>
      
      
      </arquillian>
      
      

       

      Any ideas?

       

      Thanks in advance.