I have been using Flash Builder 4.5 with the kit Flex 3 SDK. 5 b on Mac OS X 10.8.2 for a few months. It was not an experience perfect - the software has a few bugs, but in general he worked until recently.
Our application includes two Flash Builder 'projects', which refers to the other. Whenever clone us the repository, it is necessary to update the file .project of the primary project to include the new path of the secondary project.
The last thing I did before all broken did was move the folder containing the project to a new location. As expected, when I open Flash Builder, it complained that it couldn't find my project files, and they were all marked as inaccessible in the "Package Explorer" view. I did not remove inaccessible project in my workspace, but I tried to re - import the main project of his new location. It was the first time I saw a dialog box that has haunted me since:
The view of 'Problems' told me to return in the errorlog...
.. but the error log was empty!
The "Package Explorer" view has not changed (the new draft has not been listed) so I decided to just try the import again. When I chose the directory of the project, Flash Builder said that I couldn't import it because the project was already in the workspace. "But the Explorer Package says it's not... maybe he'll try again if I restart Flash Builder" I thought. I have bad thought. When I rebooted, it is what I saw:
java.lang.NullPointerException
at com.adobe.flexbuilder.util.PathUtils.resolveLocaleInSourcePath(PathUtils.java:297)
at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.getProjectPath(ActionScriptProject.java:713)
at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.getSourceContainers(ActionScriptProject.java:681)
at com.adobe.flexbuilder.as.editor.ui.packageexplorer.content.FlexPackageExplorerContentManager.getSourceRoot(FlexPackageExplorerContentManager.java:644)
at com.adobe.flexbuilder.as.editor.ui.packageexplorer.FlexPackageExplorerContentProvider.getWorkspaceRootChildren(FlexPackageExplorerContentProvider.java:152)
at com.adobe.flexbuilder.as.editor.ui.packageexplorer.FlexPackageExplorerContentProvider.getChildren(FlexPackageExplorerContentProvider.java:80)
at com.adobe.flexbuilder.as.editor.ui.packageexplorer.FlexPackageExplorerContentProvider.inputChanged(FlexPackageExplorerContentProvider.java:449)
[...]
He could not yet list the projects so that I could remove the one that was the origin of the problem. A similar message was displayed in the mode "Editor." Deleting all files from the project did not help either. I was unable to set the workspace, and the only way I could continue to use Flash Builder has been creating a new workspace.
Since then, I tried a lot of different things:
- Reinstalled Flash Builder 4.5.
- Reinstalled Flex SDK 3. 5b.
- Excerpt from a six - month old version of the project.
- Flash Builder 4.6 upgrade.
- Created a new user profile on my computer.
- Tried to remove some trace could have broken things:
- Instruments to monitor the process of Flash Builder affects all files.
- Uninstalled Flash Builder.
- Used
find
to locate include filesbuilder
oreclipse
in their name. - Delete all the files found in (1) or (3) who seemed possibly related to Flash Builder.
- Reinstalled Flash Builder.
- Installed Flash Builder 4.5 on another Mac running Mac OS X 10.6.8.
- Installed Flash Builder 4.5 in a Windows 7 VM.
None has made any difference. It seems impossible.
Other members of my team have worked on this project for a few years without running into this particular issue, yet now project versions from before that I started appear to be broken, and even with the help of new installations of Flash Builder on entirely different systems also violates.
I don't know what is happening. It seems I must have done something else and forgot about it, because the current situation makes no sense. Someone has encountered this problem before? Do you have an idea what could be causing it, or that I could do about it?