TUP-16021: NPE error shows if Click Finish on "Create/Reuse a context
group"-First Page.
This commit is contained in:
@@ -381,7 +381,10 @@ public abstract class PropertiesWizardPage extends AbstractNamedWizardPage {
|
||||
* @return the destinationPath
|
||||
*/
|
||||
public IPath getDestinationPath() {
|
||||
String pathStr = pathText.getText();
|
||||
String pathStr = ""; //$NON-NLS-1$
|
||||
if (pathText != null) {
|
||||
pathStr = pathText.getText();
|
||||
}
|
||||
if (pathStr.contains("(default)")) {//$NON-NLS-1$
|
||||
int index = pathStr.indexOf(")");//$NON-NLS-1$
|
||||
if (pathStr.length() > index + 1) {
|
||||
|
||||
Reference in New Issue
Block a user