1 Reply Latest reply on Nov 4, 2012 7:44 PM by peter.oxenham28

    Problem with build.

    asilkhan@rambler.ru

      I got two project. Client and Server part. I use Eclipse Helios and Flash Builder 4.5. When I imported both project into Eclipse and started client's part it's all ok. But if I buil Client part, i get this problem:

      !ENTRY com.adobe.flexbuilder.project 4 43 2011-12-12 17:39:43.468

      !MESSAGE Uncaught exception in compiler

      !STACK 0

      java.lang.IllegalArgumentException: Comparison method violates its general contract!

           at java.util.TimSort.mergeHi(TimSort.java:868)

           at java.util.TimSort.mergeAt(TimSort.java:485)

           at java.util.TimSort.mergeCollapse(TimSort.java:410)

           at java.util.TimSort.sort(TimSort.java:214)

           at java.util.TimSort.sort(TimSort.java:173)

           at java.util.Arrays.sort(Arrays.java:659)

           at flex2.compiler.swc.SwcGroup.updateMaps(SwcGroup.java:273)

           at flex2.compiler.swc.SwcGroup.<init>(SwcGroup.java:59)

           at flex2.compiler.swc.SwcCache.getSwcGroup(SwcCache.java:101)

           at flex2.compiler.swc.SwcCache.getSwcGroup(SwcCache.java:83)

           at flex2.compiler.CompilerSwcContext.load(CompilerSwcContext.java:88)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

       

      What is this??

      PS: sorry for my English.