3 Replies Latest reply on Mar 11, 2010 5:20 PM by esign@br

    Flexbuilder 3 export release build click throws NullPointerException

    kuangbad

      Hello!

       

      Please help me build a release version of my app.

      When I click the "Export Release Build" button, nothing happens.

      From the Eclipse application log, I see that ExportReleaseVersionProjectAndLocationPage.getDefaultOutputFolderPath throws a NullPointerException.

       

      Some things I've tried:

      Search extensively on net and within adobe forums...

      I tried to guess at the default output folder location -- creating an bin-release folder...

      Reinstall the whole stack on both OS X and a Windows XP... nothing.

       

      My primary setup:

      J2EE/Flex/Postgresql app, deploying to tomcat 6. Using flex builder 3 plugin for eclipse 3.4 with flex sdk 3.5 (though I tried with 3.2 as well). Running all this on a mac book pro. App has grown such that the low-powered clients (in a health clinic in rural uganda) can't handle the debug version very well. Just trying to make things a bit faster... Help!

       

      Thank you,

      kuang

       

       

      full stack trace:

      !ENTRY org.eclipse.ui 4 0 2010-02-18 18:17:53.312
      !MESSAGE Unhandled event loop exception
      !STACK 0
      java.lang.NullPointerException
          at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionProjectAndLocati onPage.getDefaultOutputFolderPath(ExportReleaseVersionProjectAndLocationPage.java:307)
          at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionProjectAndLocati onPage.createLocationControls(ExportReleaseVersionProjectAndLocationPage.java:292)
          at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionProjectAndLocati onPage.createControl(ExportReleaseVersionProjectAndLocationPage.java:495)
          at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
          at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.createPag eControls(ExportReleaseVersionWizard.java:277)
          at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:669)
          at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:543)
          at org.eclipse.jface.window.Window.create(Window.java:431)
          at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
          at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionAction$1.run(Export ReleaseVersionAction.java:93)
          at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionAction.run(ExportRe leaseVersionAction.java:103)
          at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
          at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
          at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:583)
          at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
          at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java :452)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570)
          at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1360)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3482)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3068)
          at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
          at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
          at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
          at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
          at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
          at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
          at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
          at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
          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:386)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
          at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
          at org.eclipse.equinox.launcher.Main.run(Main.java:1236)