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

Fix NPE when jobInfo is null during job execution #40

Closed
sriramkrishnan opened this issue Oct 31, 2013 · 1 comment
Closed

Fix NPE when jobInfo is null during job execution #40

sriramkrishnan opened this issue Oct 31, 2013 · 1 comment
Assignees
Labels

Comments

@sriramkrishnan
Copy link
Contributor

If a client submits a job request to Genie, and the jobInfo object is null, Genie returns a 500 error with a null pointer exception. It should check if the request is empty and return a HTTP_BAD_REQUEST.

@sriramkrishnan
Copy link
Contributor Author

Fixed, and added e2e test case.

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

No branches or pull requests

1 participant