You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2017/04/13 17:43:43 UTC

[12/50] git commit: [flex-falcon] [refs/heads/dual] - report on unexpected condition

report on unexpected condition


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/65ef0d9a
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/65ef0d9a
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/65ef0d9a

Branch: refs/heads/dual
Commit: 65ef0d9a5daf0964783e96c8ef7ab0a25d593323
Parents: 200c568
Author: Alex Harui <ah...@apache.org>
Authored: Tue Mar 14 15:36:54 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Mar 14 15:36:54 2017 -0700

----------------------------------------------------------------------
 .../org/apache/flex/compiler/internal/graph/GoogDepsWriter.java | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/65ef0d9a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
----------------------------------------------------------------------
diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
index 5833696..187ca8f 100644
--- a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
+++ b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
@@ -372,6 +372,11 @@ public class GoogDepsWriter {
 	boolean onProtoChain(String name, String base)
 	{
 		GoogDep gd = depMap.get(name);
+		if (gd == null)
+		{
+			System.out.println("no dep info for " + name);
+			return false;
+		}
 		if (gd.fileInfo.impls != null)
 		{
 			if (gd.fileInfo.impls.contains(base))