This is sapping our productivity and wondered if anybody had seen this
or had any ideas? I certainly see the association with Font rendering as
the obvious first instinct would be to question the font file however
with two machines seeing the same behavior, a wider look seems
appropriate. There is Away3D in the project and we do take the TVNord
font and render the SVG in order to support text overlaying on a 3D
plane. Since the "Clean" always resolves the issue, I doubt that the
base font file is the issue.
We currently see this on 2 developer workstations, one a Mac, one a PC.
The only way to get around this is to clean all the projects in the
Workspace (this is part of an application where we have an Air project
and 3 support library projects. Doing a "Clean" of the Workspace allows
us to get past this (until you need to build again).
KFB
The problem is documented in the Adobe Bug System FB-13828.
----------------------------
!ENTRY com.adobe.flexbuilder.project 4 43 2008-08-20 10:27:29.608
!MESSAGE Uncaught exception in compiler
!STACK 0 java.lang.ArrayIndexOutOfBoundsException: 0
at flash.fonts.DefineFontFace.<init>(DefineFontFace.java:40)
at
flash.fonts.CachedFontManager.loadDefineFont(CachedFontManager.java:122)
at
flex2.compiler.PersistenceStore.readAssets(PersistenceStore.java:1777)
at
flex2.compiler.PersistenceStore.readCompilationUnit(PersistenceStore.jav
a:1687)
at
flex2.compiler.PersistenceStore.readCompilationUnits(PersistenceStore.ja
va:1372)
at
flex2.compiler.PersistenceStore.read(PersistenceStore.java:803)
at flex2.compiler.API.loadCompilationUnits(API.java:4161)
at
flex2.tools.oem.Application.loadCompilationUnits(Application.java:582)
at flex2.tools.oem.Application.recompile(Application.java:935)
at flex2.tools.oem.Application.compile(Application.java:636)
at
flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.ja
va:354)
at
com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$My
Builder.mybuild(ASApplicationBuilder.java:271)
at
com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.bu
ild(ASApplicationBuilder.java:122)
at
com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuild
er.java:139)
at
com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASI
temBuilder.java:73)
at
com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build
Item(Unknown Source)
at
com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build
(Unknown Source)
at
com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.b
uild(Unknown Source)
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:62
4)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.ja
va:166)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.ja
va:197)
at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:24
6)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.ja
va:249)
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManage
r.java:302)
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:33
4)
at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
137)
at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)