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/05/24 16:54:51 UTC

git commit: [flex-falcon] [refs/heads/release0.8.0] - fix an NPE

Repository: flex-falcon
Updated Branches:
  refs/heads/release0.8.0 96147830f -> 9f6266b6f


fix an NPE


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

Branch: refs/heads/release0.8.0
Commit: 9f6266b6fcc5603e2a132c781e0931307b324644
Parents: 9614783
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 24 09:54:38 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed May 24 09:54:48 2017 -0700

----------------------------------------------------------------------
 .../org/apache/flex/compiler/internal/projects/FlexProject.java     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/9f6266b6/compiler/src/main/java/org/apache/flex/compiler/internal/projects/FlexProject.java
----------------------------------------------------------------------
diff --git a/compiler/src/main/java/org/apache/flex/compiler/internal/projects/FlexProject.java b/compiler/src/main/java/org/apache/flex/compiler/internal/projects/FlexProject.java
index 6a8ffd9..94d1f30 100644
--- a/compiler/src/main/java/org/apache/flex/compiler/internal/projects/FlexProject.java
+++ b/compiler/src/main/java/org/apache/flex/compiler/internal/projects/FlexProject.java
@@ -2301,6 +2301,7 @@ public class FlexProject extends ASProject implements IFlexProject
                 }
             }
         }
+        if (func == null) return false;
 		IMetaTag[] metas = func.getAllMetaTags();
 		for (IMetaTag meta : metas)
 		{