Version 0.8.1.2 .

svn merge -c 28352 https://dart.googlecode.com/svn/branches/bleeding_edge trunk

git-svn-id: http://dart.googlecode.com/svn/trunk@28355 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/pkg/analyzer_experimental/lib/src/generated/source_io.dart b/pkg/analyzer_experimental/lib/src/generated/source_io.dart
index 692b0e2..72ff203 100644
--- a/pkg/analyzer_experimental/lib/src/generated/source_io.dart
+++ b/pkg/analyzer_experimental/lib/src/generated/source_io.dart
@@ -261,6 +261,9 @@
    */
   bool isSelfReference(JavaFile packagesDir, JavaFile file) {
     JavaFile rootDir = packagesDir.getParentFile();
+    if (rootDir == null) {
+      return false;
+    }
     String rootPath = rootDir.getAbsolutePath();
     String filePath = file.getAbsolutePath();
     return filePath.startsWith("${rootPath}/lib");
diff --git a/tools/VERSION b/tools/VERSION
index 9f4c828..0f4803e 100644
--- a/tools/VERSION
+++ b/tools/VERSION
@@ -1,4 +1,4 @@
 MAJOR 0
 MINOR 8
 BUILD 1
-PATCH 1
+PATCH 2