bug fix : remove potential null pointer exception during build project. 21/23121/1
authorjungwook.ryu <jungwook.ryu@samsung.com>
Wed, 18 Jun 2014 04:17:40 +0000 (13:17 +0900)
committerjungwook.ryu <jungwook.ryu@samsung.com>
Wed, 18 Jun 2014 04:18:55 +0000 (13:18 +0900)
Change-Id: I88e6769d79f4cea9e949aa082e79e913d777a09e
Signed-off-by: jungwook.ryu <jungwook.ryu@samsung.com>
org.tizen.dynamicanalysis.ide.eplugin/src/org/tizen/dynamicanalysis/ide/eplugin/launch/TizenNativeApplicationDADelegate.java

index 940985e..329fd80 100644 (file)
@@ -332,6 +332,10 @@ public class TizenNativeApplicationDADelegate extends
                                                                        rdsDeployer.setIgnoreList(TizenLaunchInfo
                                                                                        .makeIgnoreList());
                                                                        if (!rdsDeployer.deploy()) {
+                                                                               if (packager == null) {
+                                                                                       bSuccessBuild = false;
+                                                                                       return;
+                                                                               }
                                                                                buildPackage(monitor, project,
                                                                                                manifest, packager);
                                                                                normalDeploy(monitor, project,
@@ -340,6 +344,10 @@ public class TizenNativeApplicationDADelegate extends
                                                                        }
                                                                        rdsDeployer.pushResInfoFile();
                                                                } else {
+                                                                       if (packager == null) {
+                                                                               bSuccessBuild = false;
+                                                                               return;
+                                                                       }
                                                                        buildPackage(monitor, project, manifest,
                                                                                        packager);
                                                                        normalDeploy(monitor, project,