Project: appceleratorstudio
Issue TISTUD-1716: Titanium Studio: Import: Import shows an error with Null Pointer exception when project is created inside a directory within the workspace
While trying to import a project that is newly created inside a directory within the workspace then an error message box is shown with Null Pointer exception and the project imported into the project explorer is empty Not a regression, the behavior exists as far as Titanium Studio 1.0.8 Steps to Reproduce: 1. Using the command line interface create a new titanium mobile project within a directory inside the workspace, using the command like: $$ /Users//Library/Application\ Support/Titanium/mobilesdk/osx/2.0.2.v20120525161324/titanium.py create --platform=iPhone --type=project --dir=/testing --name=iPhoneProject1 --id=com.appcelerator.iphoneproject1 2. From Titanium Studio, using the workspace as mentioned in the command above, go to File >> Import >> Titanium >> Import Existing Titanium Project 3. Select the recently created project (i.e. iphoneproject1) and click Finish Actual: i) A problem occurred message box pops up with java.lang.NullPointerException as details. (Refer to attached screenshot) ii) The project is shown in the project explorer but is empty iii) In the workspace folder on the system, a folder exists with the project name (outside the directory it was created in) and is empty Note: i) If the project is not created within the directory then it can be imported without issues ii) The issue occurs only only on newly created projects and only if the project is created within a directory or sub-directory inside the workspace
Story points: 8