17:36:51.989 [main] DEBUG com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory$MavenUtils - Could not find version for maven artifact com.atlassian.jira:jira-rest-java-com.atlassian.jira.rest.client
17:36:51.995 [main] DEBUG com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory$MavenUtils - Got the following exception
java.lang.NullPointerException: null
at java.util.Properties$LineReader.readLine(Properties.java:434)
at java.util.Properties.load0(Properties.java:353)
at java.util.Properties.load(Properties.java:341)
at com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory$MavenUtils.getVersion(AsynchronousHttpClientFactory.java:185)
Code:
public JiraRestClient loadClient(String hst)
{
try
{
jiraServerUri = new URI(hst);
restClient = restClientFactory.createWithBasicHttpAuthentication(jiraServerUri, jiraUsername, jiraPassword);
}
catch (Exception e)
{
// TODO Auto-generated catch block
e.printStackTrace();
}
return restClient;
}
pom:
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-api</artifactId>
<version>4.0.0</version>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-core</artifactId>
<version>4.0.0</version>
</dependency>
<dependency>
<groupId>com.atlassian.fugue</groupId>
<artifactId>fugue</artifactId>
<version>3.0.0-m007</version>
</dependency>
Hi Feizal - since this is a development question, you might want to try asking over at https://community.developer.atlassian.com
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.