Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JobWithDetails.getDownstreamProjects() throws NullPointerException #147

Closed
pavelbely opened this issue Apr 13, 2016 · 4 comments
Closed
Milestone

Comments

@pavelbely
Copy link

JobWithDetails.getDownstreamProjects() throws NullPointerException presumably because received JSON does not have downstreamJobs field.

java.lang.NullPointerException\n\tat com.google.common.base.Preconditions.checkNotNull(Preconditions.java:210)\n\tat com.google.common.collect.Lists$TransformingSequentialList.(Lists.java:560)\n\tat com.google.common.collect.Lists.transform(Lists.java:543)\n\tat com.offbytwo.jenkins.model.JobWithDetails.getDownstreamProjects(JobWithDetails.java:98)\n\tat

@pnathan
Copy link
Contributor

pnathan commented Apr 16, 2016

What version of Jenkins are you using? What version of jenkins-client are you using?

@pavelbely
Copy link
Author

pavelbely commented Apr 18, 2016

Hi pnathan,
Jenkins ver. 1.651.1
jenkins-client 0.3.2

@khmarbaise
Copy link
Member

Can you try with jenkins client 0.3.3 ?

@pavelbely
Copy link
Author

Hi Karl Heinz,
I tried with 0.3.3 and still got the same exception.

@khmarbaise khmarbaise added this to the Release 0.3.5 milestone May 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants