| Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/AnalysisServer.java
|
| ===================================================================
|
| --- editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/AnalysisServer.java (revision 6826)
|
| +++ editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/AnalysisServer.java (working copy)
|
| @@ -424,10 +424,14 @@
|
| return file;
|
| }
|
| try {
|
| - return new File(base.resolve(new URI(null, null, relPath, null)).normalize().getPath());
|
| + String path = base.resolve(new URI(null, null, relPath, null)).normalize().getPath();
|
| + if (path != null) {
|
| + return new File(path);
|
| + }
|
| } catch (URISyntaxException e) {
|
| - return null;
|
| + //$FALL-THROUGH$
|
| }
|
| + return null;
|
| }
|
|
|
| /**
|
|
|