SRADA-772: Fixed NullPointerException in PathManager.getTizenSdkInstallPath().
authorMaria Guseva <m.guseva@samsung.com>
Wed, 8 Jun 2016 11:22:17 +0000 (14:22 +0300)
committerMaria Guseva <m.guseva@samsung.com>
Fri, 1 Jul 2016 08:24:03 +0000 (17:24 +0900)
commit4d181a86170c8ac16cdd83c7e72c355f343f1893
treeb19232df205343a6fb1b93b7a906ff92f1499585
parenta34587aad4de8ab18482987e78873eb593ac3084
SRADA-772: Fixed NullPointerException in PathManager.getTizenSdkInstallPath().

The exception occured in unit tests for CLI after changes applied
in previous commit. When SDK installation is not found the
InstallPathConfig.getSDKPath() returns null but it isn't checked properly
in PathManager.getTizenSdkInstallPath(). In that case it should also return
null.

Change-Id: Ic503d836318ad2f2bbd02d5df9eaa187d79c15ba
org.tizen.dynamicanalyzer.workbench/src/org/tizen/dynamicanalyzer/common/path/PathManager.java