3 Replies Latest reply on Dec 5, 2011 12:08 AM by iotc2011

    Export Flash Builder project to FXP failed

    rexdtripod Level 1

      I upgraded from Flash Builder 4.5 to 4.5.1.  When I went to import my projects I was warned that the workspace was created in an older version of FB and that I should migrate the projects to a new 4.5.1 workspace.  Instructions are here:

       

      http://kb2.adobe.com/cps/899/cpsid_89996.html

       

      Step 1, "Export the project as an FXP file" fails.  Dialog looks like:

       

      error.png

      Not much detail.

       

      It does this whether or not "Validate project compilation" is checked.

       

      So I shouldn't run the projects in the existing workspace in the new version of FB, and I can't migrate the projects to a new workspace in the new FB.  How do I win here?  The errors are not listed anywhere?  What do I fix?

       

      Thanks

        • 1. Re: Export Flash Builder project to FXP failed
          SunilAdobe Adobe Employee

          Can you send the error log (.log file), which you can find in the .metadata folder in your workspace directory.

          Though the preferred method is exporting, as a workaround, you can try copying the projects from that workspace directory to the new workspace directory.

           

          Thanks

          -Sunil

          • 2. Re: Export Flash Builder project to FXP failed
            rexdtripod Level 1

            That's the route I went.

             

            Thanks

            • 3. Re: Export Flash Builder project to FXP failed
              iotc2011

              I am having the same problem. The error seems to be related to .fxpProperties. Is there a way I can fix this? - Thanks Rob

               

              The error log file is:

               

              !ENTRY com.adobe.flexbuilder.project 4 43 2011-12-05 10:03:22.741

              !MESSAGE Error reading persistence file C:\Documents and Settings\Rob\Adobe Flash Builder 4.5\db-mfesan\.fxpProperties

              !STACK 0

              com.adobe.flexbuilder.project.persist.PersistenceException: Error reading persistence file C:\Documents and Settings\Rob\Adobe Flash Builder 4.5\db-mfesan\.fxpProperties

                  at com.adobe.flexbuilder.project.persist.PersistableSettings.readPersistenceFile(Persistable Settings.java:170)

                  at com.adobe.flexbuilder.project.fxp.FXPProperties.<init>(FXPProperties.java:246)

                  at com.adobe.flexbuilder.project.fxp.FXPProperties.readFXPProperties(FXPProperties.java:203)

                  at com.adobe.flexbuilder.project.fxp.FXPProperties.getFXPProperties(FXPProperties.java:183)

                  at com.adobe.flexbuilder.project.fxp.FXP.buildFXP(FXP.java:273)

                  at com.adobe.flexbuilder.exportimport.exportwizard.AbstractExportWorker.createFXPArchive(Abs tractExportWorker.java:157)

                  at com.adobe.flexbuilder.exportimport.exportwizard.AbstractExportWorker.createArchive(Abstra ctExportWorker.java:89)

                  at com.adobe.flexbuilder.exportimport.exportwizard.ExportProject.export(ExportProject.java:6 3)

                  at com.adobe.flexbuilder.exportimport.exportwizard.ExportWizard.exportProject(ExportWizard.j ava:340)

                  at com.adobe.flexbuilder.exportimport.exportwizard.ExportWizard$2.execute(ExportWizard.java: 292)

                  at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)

                  at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)

                  at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)

                  at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)

                  at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)

                  at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1008)

                  at com.adobe.flexbuilder.exportimport.exportwizard.ExportWizard.exportProjectContents(Export Wizard.java:300)

                  at com.adobe.flexbuilder.exportimport.exportwizard.ExportWizard.performFinish(ExportWizard.j ava:239)

                  at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811)

                  at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430)

                  at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)

                  at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)

                  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:4066)

                  at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)

                  at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)

                  at org.eclipse.jface.window.Window.open(Window.java:801)

                  at com.adobe.flexbuilder.exportimport.menuactions.FlexProjectExportAction.run(FlexProjectExp ortAction.java:62)

                  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:1053)

                  at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)

                  at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)

                  at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)

                  at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)

                  at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)

                  at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)

                  at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

                  at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)

                  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:369)

                  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:619)

                  at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)

                  at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

              Caused by: org.eclipse.core.runtime.CoreException: Could not read XML document

                  at com.adobe.flexbuilder.project.internal.FlexProjectCore.createCoreException(FlexProjectCor e.java:981)

                  at com.adobe.flexbuilder.util.XMLUtil.toDocument(XMLUtil.java:213)

                  at com.adobe.flexbuilder.util.XMLUtil.toDocument(XMLUtil.java:180)

                  at com.adobe.flexbuilder.project.persist.PersistableSettings.readPersistenceFile(Persistable Settings.java:157)

                  ... 57 more

              Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.

                  at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)

                  at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)

                  at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)

                  at com.adobe.flexbuilder.util.XMLUtil.toDocument(XMLUtil.java:211)

                  ... 59 more