4 Replies Latest reply on Apr 15, 2010 10:27 AM by pwp69

    FB4 Export Release Build fails

    pwp69 Level 1

      I am having problems exporting a release build of my application.   Nothing appears to happen when I Project => Export Release Build.

       

      Any help would be appreciated.

       

      Below is the stack trace taken from the workspace's .log file:

       

      !ENTRY org.eclipse.ui 4 0 2010-04-10 12:09:57.919
      !MESSAGE Unhandled event loop exception
      !STACK 0
      java.lang.NoClassDefFoundError: com/adobe/flexbuilder/exportimport/releaseversion/ui/ExportContentPage$ExportFileChooser$ ExportViewerFilter
          at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportContentPage.createControl(Expo rtContentPage.java:106)
          at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
          at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.createPag eControls(ExportReleaseVersionWizard.java:310)
          at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:675)
          at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:549)
          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: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:1003)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
          at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
          at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
          at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
          at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
          at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
          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:194)
          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:368)
          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:559)
          at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
          at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
      Caused by: java.lang.ClassNotFoundException: com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportContentPage$ExportFileChooser$ ExportViewerFilter
          at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:494)
          at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
          at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
          at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:105)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
          at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
          ... 38 more

        • 1. Re: FB4 Export Release Build fails
          pwp69 Level 1

          I did a little more testing...

           

          I am using MyEclipse 8.5 as my IDE.  I placed the Flash Builder plugin folder in my MyExclipse profile's 'dropins' folder and restarted MyEclipse.  Everything appears to work as expected except for Project => Export Release Build - as described in my ealier post.

           

          I have since downloaded and installed the Standalone version of Flash Builder 4.   Using the same workspace and proejcts used in the earlier tests I am able export a release build without a problem.

           

          Is anyone else have a similiar problem with exporting a release build using Eclipse with the FB4 plugin as I am with MyEclipse?

           

          Can anyone shead some light as to why I am getting the loop exception using MyEclipse 8.5?

           

          pwp

          • 2. Re: FB4 Export Release Build fails
            levancho Level 3

            myeclipse 8.5 is based on eclipse 3.5.2

            FB4 requirements say :

            Eclipse 3.4.2 or 3.5 (for plug-in installation)

             

            I guess there is some incompartabilities.

            between version 3.5 and 3.5.2

            • 3. Re: FB4 Export Release Build fails
              pwp69 Level 1

              Thx, Levancho.  I

               

              l'll see if I can revert my MyEclipse to an earlier version of Eclpise and see what happens.

               

              pwp

              • 4. Re: FB4 Export Release Build fails
                pwp69 Level 1

                I just tried the FB4 plugin in MyEclipse 7.5 which is based on Eclipse 3.4.2.  Still can't export a release build.

                 

                Same problem as described earlier.

                 

                !MESSAGE Unhandled event loop exception
                !STACK 0
                java.lang.NoClassDefFoundError: com/adobe/flexbuilder/exportimport/releaseversion/ui/ExportContentPage$ExportFileChooser$ ExportViewerFilter

                ...

                ...

                ...

                ...

                Any other suggestions?

                 

                pwp