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

IllegalStateException: output was closed and NullPointerException #2887

Closed
gschueler opened this Issue Oct 25, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@gschueler
Member

gschueler commented Oct 25, 2017

Issue type: Bug report

My Rundeck detail

  • Rundeck version: 2.10.0, 2.9 and earlier?

Expected Behavior

Execution of a job with parallel node dispatch, or when timed out, finishes correctly

Actual Behavior

Sometimes the parallel node dispatch fails with "NullPointerException" without any information.
Sometimes the job finishes with an "IllegalStateException: output was closed"

How to reproduce Behavior

Run a job with parallel node dispatch periodically, it sometimes fails when it should not.

Other reports that may have the same cause:

#2776
#2381

@gschueler gschueler added this to the 2.10.x milestone Oct 25, 2017

@gschueler gschueler self-assigned this Oct 25, 2017

@gschueler gschueler added the bug label Oct 25, 2017

@gschueler

This comment has been minimized.

Show comment
Hide comment
@gschueler

gschueler Oct 25, 2017

Member

The NullPointerException (also shows up sometimes as a weird message about index: 7, size: 7 or similar.) can happen due to incorrectly handling thread local stack of log writers.

The IllegalStateException is hard to reproduce, but I did see it sometimes in conjunction with the NullPointerException.

Member

gschueler commented Oct 25, 2017

The NullPointerException (also shows up sometimes as a weird message about index: 7, size: 7 or similar.) can happen due to incorrectly handling thread local stack of log writers.

The IllegalStateException is hard to reproduce, but I did see it sometimes in conjunction with the NullPointerException.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment