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

java.lang.NullPointerException thrown when starting a job #964

Closed
jippi opened this issue Oct 10, 2014 · 10 comments
Closed

java.lang.NullPointerException thrown when starting a job #964

jippi opened this issue Oct 10, 2014 · 10 comments

Comments

@jippi
Copy link

jippi commented Oct 10, 2014

With version 2.2.3-1 (debian)

java.lang.NullPointerException
07:05:29            at com.dtolabs.rundeck.core.execution.workflow.BaseWorkflowStrategy.convertFailures(BaseWorkflowStrategy.java:452)
07:05:29            at com.dtolabs.rundeck.core.execution.workflow.StepFirstWorkflowStrategy.executeWorkflowImpl(StepFirstWorkflowStrategy.java:89)
07:05:29            at com.dtolabs.rundeck.core.execution.workflow.BaseWorkflowStrategy.executeWorkflow(BaseWorkflowStrategy.java:120)
07:05:29            at com.dtolabs.rundeck.core.execution.WorkflowExecutionServiceThread.run(WorkflowExecutionServiceThread.java:55)
07:05:29            null
@gschueler gschueler added the bug label Oct 10, 2014
@rossitsaborissova
Copy link

I faced the same problem when I tried to run a job that should execute a shell command locally.

@jippi
Copy link
Author

jippi commented Oct 16, 2014

This is for a remote execution, and it happens "a lot" (every ~500 execution) on some jobs

@rossitsaborissova
Copy link

Here are two screenshots that display my configuration and the output.
rundeck_test_job
rundeck_test_job_output

@ahonor ahonor added this to the 2.3.0 milestone Oct 17, 2014
@jippi
Copy link
Author

jippi commented Oct 20, 2014

I'm getting this error more or less constantly now for both remote and local jobs, it's turning Rundeck into an unusable state for me ever so slowly.

I haven't changed anything in that stack for weeks or months, other than updating to latest deb version, and the frequency of the error happening is just getting worse

@gschueler
Copy link
Member

How is your resource model defined? a static file, or using another source?

@gschueler
Copy link
Member

can you try running the job with Debug logging turned on and pasting the output?

@gschueler
Copy link
Member

i was able to reproduce it by duplicating your job @rossitsaborissova and using a node filter that doesn't match any nodes.

@ahonor
Copy link
Contributor

ahonor commented Oct 27, 2014

Confirmed

@ahonor ahonor closed this as completed Oct 27, 2014
@jippi
Copy link
Author

jippi commented Oct 28, 2014

That explains why I stopped seeing the error when I switched from mcollective node provider to a straight up yaml provider backed by Consul

Thank you!

@pramodsetlur
Copy link

Probably one of the parameters you are passing through rundeck.xml is empty?

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

No branches or pull requests

5 participants