Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(911)

Issue 2917453002: Fix an npe in context_manager.dart. (Closed)

Created:
3 years, 6 months ago by devoncarew
Modified:
3 years, 6 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M pkg/analysis_server/lib/src/context_manager.dart View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 8 (2 generated)
devoncarew
TBR
3 years, 6 months ago (2017-05-30 21:29:39 UTC) #2
devoncarew
TBR
3 years, 6 months ago (2017-05-30 21:29:40 UTC) #3
devoncarew
Committed patchset #1 (id:1) manually as 24b0d1489f4b8904d09c65b6d12874f829a5e4c6 (presubmit successful).
3 years, 6 months ago (2017-05-30 21:30:02 UTC) #5
Brian Wilkerson
lgtm https://codereview.chromium.org/2917453002/diff/1/pkg/analysis_server/lib/src/context_manager.dart File pkg/analysis_server/lib/src/context_manager.dart (right): https://codereview.chromium.org/2917453002/diff/1/pkg/analysis_server/lib/src/context_manager.dart#newcode1047 pkg/analysis_server/lib/src/context_manager.dart:1047: contextRoot: info?.analysisDriver?.contextRoot); It would be good to understand ...
3 years, 6 months ago (2017-05-30 21:39:48 UTC) #6
devoncarew
> pkg/analysis_server/lib/src/context_manager.dart:1047: contextRoot: > info?.analysisDriver?.contextRoot); > It would be good to understand why the info ...
3 years, 6 months ago (2017-05-30 23:16:12 UTC) #7
Brian Wilkerson
3 years, 6 months ago (2017-05-30 23:53:54 UTC) #8
Message was sent while issue was closed.
> It's likely that this was an overuse of null checks - I'll remove the null
check
> on info and re-run the tests.

If that's the case, then it's probably a test that needs to be converted to use
the new driver.

Powered by Google App Engine
This is Rietveld 408576698