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

I'm using
class from
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:
and repository as:
        <name>JBoss Thirdparty Releases</name>

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!