Highlighted

Problem with build.

New Here ,
Dec 15, 2011

Copy link to clipboard

Copied

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(ASApplicationBuilder.java:319)

     at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.build(ASApplicationBuilder.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:70)

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

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

     at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.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.


Views

3.1K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Problem with build.

New Here ,
Dec 15, 2011

Copy link to clipboard

Copied

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(ASApplicationBuilder.java:319)

     at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.build(ASApplicationBuilder.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:70)

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

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

     at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.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.


Views

3.1K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
New Here ,
Nov 04, 2012

Copy link to clipboard

Copied

This is a Java 7 issue. See http://kb.yworks.com/article550.html

Add the following to your -vmargs section of your flashbuilder.ini file, OR just use Java 6 to run FlashBuilder

-vmargs

-Dorg.eclipse.swt.browser.UseWebKitGTK=true

-Xmn128m

-Xss1m

-XX:PermSize=128m

-Dosgi.requiredJavaVersion=1.5

-XX:MaxPermSize=384m

-Xms256m

-Xmx1568m

-Djava.util.Arrays.useLegacyMergeSort=true

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...