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/master Commit: 65ef0d9a5daf0964783e96c8ef7ab0a25d593323 Parents: 200c568 Author: Alex Harui <[email protected]> Authored: Tue Mar 14 15:36:54 2017 -0700 Committer: Alex Harui <[email protected]> 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))
