I just updated from Flash Builder 4.5 to 4.6. Things seemed to be going ok in terms of importing all my projects etc. (why can't there be a simple upgrade process rather than a complete uninstall/reinstall process?)
But then I got to setting the Output Folder within the Flex Build Path section of the properties of my project.
Now, as our dev environments we run glassfish servers locally on our testing machines and build our apps directly into them so our testing process is very quick. This was working fine in Flash Builder 4.5, I point my app's output folder to a location of the form:
C:\Users\myUserName\glassfish3\glassfish\domains\domain1\eclipseApps\appname
And that works fine, set by pasting in from an explorer window or Browsing there via the Browse button next to the field.
Now when I try to do this within Flash Builder 4.6 I get nothing at all appearing if I use the browse button. No error, nothing saying it failed, just an empty field. If I try to paste in anything I get an error from Flash Builder saying '"Paste" did not complete normally."
If I try to just type in the path it fails, it strips the leading C:\ and turns it into a relative path, which is completely useless.
This is getting really annoying!
Log file output after I tries to browse to the folder:
!ENTRY org.eclipse.ui 4 0 2012-02-07 14:54:00.474
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at com.adobe.flashbuilder.launching.multiplatform.contributor.MultiPlatformDebugUtilLocalePa thVariable.resolvePath(MultiPlatformDebugUtilLocalePathVariable.java:68)
at com.adobe.flexbuilder.project.PathVariableResolver.wrapPath(PathVariableResolver.java:198 )
at com.adobe.flexbuilder.project.PathVariableResolver.makePathVariableRelative(PathVariableR esolver.java:283)
at com.adobe.flexbuilder.project.ui.utils.AbstractBuildPathsPropertiesPane.makeRelativeOutpu tPath(AbstractBuildPathsPropertiesPane.java:946)
at com.adobe.flexbuilder.project.ui.utils.AbstractBuildPathsPropertiesPane.makeRelativeOutpu tPath(AbstractBuildPathsPropertiesPane.java:931)
at com.adobe.flexbuilder.project.ui.utils.AbstractBuildPathsPropertiesPane.browseForOutputFo lder(AbstractBuildPathsPropertiesPane.java:910)
at com.adobe.flexbuilder.project.ui.utils.AbstractBuildPathsPropertiesPane$12.widgetSelected (AbstractBuildPathsPropertiesPane.java:805)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.adobe.flexbuilder.editors.derived.ui.navigator.FlexPackageExplorerPropertyDialogActio n.run(FlexPackageExplorerPropertyDialogAction.java:41)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)