Skip to content

Fix null logger in remote#17

Open
torutk wants to merge 1 commit into
jenkinsci:masterfrom
torutk:fix_slave_null
Open

Fix null logger in remote#17
torutk wants to merge 1 commit into
jenkinsci:masterfrom
torutk:fix_slave_null

Conversation

@torutk

@torutk torutk commented Jun 6, 2020

Copy link
Copy Markdown

StepCounterParser has a transient field to have a logger, so it is null in remote(running on the slave node) and causes NullPointerException.
To fix it, replaced the transient PrintStream to non-transient TaskListener which has a getLogger method.

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.

1 participant