Hi,
In my code (using Eclipse Kepler), I'm trying to consume a third-party web service.

I'm using
EasySSLProtocolSocketFactory
class from
org.apache.commons.httpclient.contrib.ssl
jar in a method which gets httpclient.

I've added not-yet-commons-ssl-0.3.7.jar file to the project and added its dependency as:
<dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>not-yet-commons-ssl</artifactId>
            <version>0.3.7</version>
        </dependency>
and repository as:
<repository>
        <id>thirdparty-releases</id>
        <name>JBoss Thirdparty Releases</name>
        <url>https://repository.jboss.org/nexus/content/repositories/thirdparty-releases</url>
      </repository>

When I try to run the program, it throws this error:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at org.apache.commons.ssl.ASN1Util.main(ASN1Util.java :76)

Please help me resolve this issue. Thanks!