flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34469) Uncaught exception in compiler
Date Mon, 18 Aug 2014 01:38:18 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14100213#comment-14100213
] 

Justin Mclean commented on FLEX-34469:
--------------------------------------

At a guess it's looks like it's compiling in a font compile into a .swf file - do you have
any swf files in your your project? 

I don't think it is an AS code issue, but it may be that some AS code is trying to display
a character glyph that in not included in the font. At a guess a font has been compiled into
a swf specifying a unicode range and the code it trying to use a character outside that range.
See [1] on how to do this. swfdump should tell you what font and characters have been embedded
in the swf.

First off I check to see what font your code is trying to embed. Take a look at [2] to see
how fonts can be embedded in ActionScript.

1. http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f5f.html#WS02f7d8d4857b16776fadeef71269f135e73-8000
2. http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f5f.html



> Uncaught exception in compiler
> ------------------------------
>
>                 Key: FLEX-34469
>                 URL: https://issues.apache.org/jira/browse/FLEX-34469
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Adobe Flex SDK 4.6 (Release), Apache Flex 4.13.0
>         Environment: Windows 7 64 
>            Reporter: john tolvich
>
> both the latest version of flex 4.13 and an older (4.6) gives me for example :
> For flex 4.6
> Uncaught exception in compiler
> java.lang.IllegalArgumentException: symbol 1165 not defined
> 	at flash.swf.Dictionary.getTag(Dictionary.java:182)
> 	at flash.swf.TagDecoder.decodePlaceObject23(TagDecoder.java:1424)
> 	at flash.swf.TagDecoder.decodeTag(TagDecoder.java:299)
> 	at flash.swf.TagDecoder.decodeTags(TagDecoder.java:186)
> 	at flash.swf.TagDecoder.decodeDefineSprite(TagDecoder.java:2717)
> 	at flash.swf.TagDecoder.decodeTag(TagDecoder.java:314)
> 	at flash.swf.TagDecoder.decodeTags(TagDecoder.java:186)
> 	at flash.swf.TagDecoder.parse(TagDecoder.java:134)
> 	at flex2.compiler.media.MovieTranscoder.getDictionary(MovieTranscoder.java:195)
> 	at flex2.compiler.media.MovieTranscoder.extractDefineTag(MovieTranscoder.java:243)
> 	at flex2.compiler.media.MovieTranscoder.doTranscode(MovieTranscoder.java:98)
> 	at flex2.compiler.media.AbstractTranscoder.transcode(AbstractTranscoder.java:120)
> 	at flex2.compiler.as3.EmbedUtil.transcode(EmbedUtil.java:233)
> 	at flex2.compiler.as3.EmbedUtil.transcode(EmbedUtil.java:115)
> 	at flex2.compiler.as3.EmbedEvaluator.evaluate(EmbedEvaluator.java:252)
> 	at macromedia.asc.parser.MetaDataNode.evaluate(MetaDataNode.java:39)
> 	at flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:351)
> 	at macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:60)
> 	at flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:936)
> 	at flex2.compiler.as3.EmbedEvaluator.evaluate(EmbedEvaluator.java:332)
> 	at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:80)
> 	at flex2.compiler.as3.EmbedExtension.parse2(EmbedExtension.java:70)
> 	at flex2.compiler.as3.As3Compiler.parse2(As3Compiler.java:461)
> 	at flex2.compiler.CompilerAPI.parse2(CompilerAPI.java:2948)
> 	at flex2.compiler.CompilerAPI.parse2(CompilerAPI.java:2905)
> 	at flex2.compiler.CompilerAPI.batch2(CompilerAPI.java:471)
> 	at flex2.compiler.CompilerAPI.batch(CompilerAPI.java:1291)
> 	at flex2.compiler.CompilerAPI.compile(CompilerAPI.java:1522)
> 	at flex2.tools.oem.Application.compile(Application.java:1349)
> 	at flex2.tools.oem.Application.recompile(Application.java:1287)
> 	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:607)
> 	at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuilder.java:382)
> 	at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:187)
> 	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> 	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
> 	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
> 	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> 	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
> 	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
> 	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
> 	at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:513)
> 	at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:422)
> 	at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:180)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> For flex 4.13 :
> Error:[Flex (module topsecret.swf.flex)]: symbol 1165 not defined



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message