flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [16/36] git commit: [flex-falcon] [refs/heads/develop] - fix an NPE
Date Mon, 26 Jun 2017 15:35:04 GMT
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/develop
Commit: 9f6266b6fcc5603e2a132c781e0931307b324644
Parents: 9614783
Author: Alex Harui <aharui@apache.org>
Authored: Wed May 24 09:54:38 2017 -0700
Committer: Alex Harui <aharui@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)
 		{


Mime
View raw message