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

NPE observed in RealJenkinsRule.startJenkins #293

Merged
merged 1 commit into from
Apr 5, 2021

Conversation

jglick
Copy link
Member

@jglick jglick commented Apr 5, 2021

Seems to have been a flake somewhere, but the root cause was perhaps concealed by a secondary mistake in error handling:

java.lang.NullPointerException
	at java.io.Reader.<init>(Reader.java:78)
	at java.io.InputStreamReader.<init>(InputStreamReader.java:113)
	at org.apache.commons.io.IOUtils.copy(IOUtils.java:921)
	at org.apache.commons.io.IOUtils.toString(IOUtils.java:2681)
	at org.apache.commons.io.IOUtils.toString(IOUtils.java:2661)
	at org.jvnet.hudson.test.RealJenkinsRule.startJenkins(RealJenkinsRule.java:365)
	at …

@jglick jglick added the bug label Apr 5, 2021
@jglick jglick merged commit 519e637 into jenkinsci:master Apr 5, 2021
@jglick jglick deleted the RealJenkinsRule-NPE branch April 5, 2021 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants