4 Replies Latest reply on Sep 7, 2010 10:46 PM by Anirudh Sasikumar

    Export Release Build errors

    jsd99 Level 3

      This just started happening to me in the last day or two.  Every time I try to use Export Release Build, I get an error:

       

      A folder named bin-release already exists with different case.

       

      I checked my entire workspace folder and removed every bin-release folder, but the error persists.  Is there any way I can get more info on what is annoying it?  (Or better yet, a cure...)

        • 1. Re: Export Release Build errors
          Anirudh Sasikumar Adobe Employee

          Interesting - Can you please go to the folder in Explorer/Finder and look to see if there are any bin-* folders? Delete bin-debug and bin-release if you find it.

           

          Now, switch back to Flash Builder/Eclipse and right click your project and choose refresh.

           

          Hopefully that should short things out. It would also be interesting to look at your log - can you post it here?

           

          (It should be in workspacedir/.metadata/.log)

          • 2. Re: Export Release Build errors
            Jamie Scanlon-Jacobs

            I've been getting the same error. Here's my log:

             

            !ENTRY com.adobe.flexbuilder.project 4 43 2010-09-07 15:03:56.806

            !MESSAGE Uncaught exception in compiler

            !STACK 0

            java.lang.ArrayIndexOutOfBoundsException: 1129796362

                    at flex2.compiler.PersistenceStore.readCompilationUnit(PersistenceStore.java:1568)

                    at flex2.compiler.PersistenceStore.readCompilationUnits(PersistenceStore.java:1541)

                    at flex2.compiler.PersistenceStore.read(PersistenceStore.java:958)

                    at flex2.compiler.CompilerAPI.loadCompilationUnits(CompilerAPI.java:4856)

                    at flex2.compiler.CompilerAPI.loadCompilationUnits(CompilerAPI.java:4835)

                    at flex2.tools.oem.Application.loadCompilationUnits(Application.java:706)

                    at flex2.tools.oem.Application.recompile(Application.java:1071)

                    at flex2.tools.oem.Application.compile(Application.java:819)

                    at flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:344)

                    at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(A SApplicationBuilder.java:276)

                    at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.build(ASApplication Builder.java:127)

                    at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:190)

                    at com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASItemBuilder.java:7 4)

                    at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(FlexProjectB uilder.java:480)

                    at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuild er.java:306)

                    at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncremen talBuilder.java:157)

                    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)

                    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

                    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)

                    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)

                    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)

                    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

                    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)

                    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)

                    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)

                    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)

                    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)

                    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

            • 3. Re: Export Release Build errors
              jsd99 Level 3

              I edited the .project file and found that there were two <link> sections under <linkedResources>.  Deleting one fixed the problem for me.

              • 4. Re: Export Release Build errors
                Anirudh Sasikumar Adobe Employee

                Hi Jamie,

                 

                Looks like you are running into: http://bugs.adobe.com/jira/browse/SDK-26799

                 

                Thanks,

                Anirudh