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

Prevent NullPointerException in ResourceImageBoth if cannot initialize JAR retrieval #169

Merged

Conversation

oleg-nenashev
Copy link
Member

I firstly started from annotating the methods and throwing IOException, but then decided to do a proper error propagation instead.

It smells like a real issue though there is no relevant bugtracker entries.

@reviewbybees

…JAR retrieval

I firstly started from annotating the methods and throwing IOException, but then decided to do a proper error propagation instead.
It smells like a real issue though there is no relevant bugtracker entries.
}
return null;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NPE will happen in f.isDone() (line 30)

@ghost
Copy link

ghost commented Jun 20, 2017

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@oleg-nenashev
Copy link
Member Author

@reviewbybees done

@oleg-nenashev oleg-nenashev merged commit 6020ae6 into jenkinsci:master Jun 25, 2017
@oleg-nenashev oleg-nenashev deleted the findbugs-f/ResourceBothImage_NPE branch June 27, 2017 13:27
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

Successfully merging this pull request may close these issues.

2 participants