2 Replies Latest reply on Jul 14, 2010 7:03 AM by Anirudh Sasikumar

    Internal build error (while migrating from 3.5 to 4)

    kobster_

      Hi there,

      I'm migrating from 3.5 to 4, and have some issues with the (incremental) build process.

      Every time I try to compile the project (even after adding just a space) I get the internal build error.

      This error disappears upon a clean build (which is, expectedly, a lot slower).

      Another issue is the clean build time of the (almost) same project (flex 4 is at least two times slower than flex 3.5).

      Below attached the relevant entry in the log file.

       

      I'll appreciate any help,

      Kobi

       

       

      The log file:

       

      !ENTRY com.adobe.flexbuilder.project 4 43 2010-06-13 12:46:51.036

      !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:4844)

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

      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.ModuleBuilder.build(ModuleBuilder.java:1 37)

      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.buildModules(FlexProje ctBuilder.java:421)

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

      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.basicBuild(BuildManager.java:218)

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

      at org.eclipse.core.internal.resources.Project$1.run(Project.java:523)

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

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

      at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:502)

      at org.eclipse.core.internal.resources.Project.build(Project.java:94)

      at org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:221)

      at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:162)

      at org.eclipse.ui.actions.WorkspaceAction$2.runInWorkspace(WorkspaceAction.java:483)

      at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38 )

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

        • 1. Re: Internal build error (while migrating from 3.5 to 4)
          donwebtech

          Same here:

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

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

          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)

          • 2. Re: Internal build error (while migrating from 3.5 to 4)
            Anirudh Sasikumar Adobe Employee

            This is a compiler bug being tracked as: https://bugs.adobe.com/jira/browse/SDK-26799

            1 person found this helpful