This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Fixed NullpointerException in couple of places #983
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
falu2010-netflix
commented
Feb 8, 2019
•
edited
Loading
edited
- Added precondition check to determine exact place for NPE
- Fixed NPE in WebApplicationExceptionMapper
Codecov Report
@@ Coverage Diff @@
## dev #983 +/- ##
============================================
- Coverage 62.25% 62.22% -0.03%
+ Complexity 2557 2556 -1
============================================
Files 225 225
Lines 12888 12899 +11
Branches 1281 1284 +3
============================================
+ Hits 8024 8027 +3
- Misses 4154 4161 +7
- Partials 710 711 +1
Continue to review full report at Codecov.
|
Pull Request Test Coverage Report for Build 2357
💛 - Coveralls |
falu2010-netflix
requested review from
cyzhao,
kishorebanala,
a user,
s3nthil,
pctreddy and
cooniur
and removed request for
cyzhao
February 8, 2019 02:34
@@ -978,6 +978,10 @@ public void addTaskToQueue(Task task) { | |||
public void executeSystemTask(WorkflowSystemTask systemTask, String taskId, int unackTimeout) { | |||
try { | |||
Task task = executionDAOFacade.getTaskById(taskId); | |||
if (task == null){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering why executionDAO would return null instead of throwing error in the first place.
apanicker-nflx
approved these changes
Feb 11, 2019
long-64
pushed a commit
to long-64/conductor
that referenced
this pull request
Oct 2, 2019
* Fixed NullpointerException * Fixed NullpointerException * Fixed NullpointerException
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.