History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: SDK-14667
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: B B
Assignee: Lauren Park
Reporter: Andre Michelle
Votes: 1
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Flex SDK

Flash Compiler Bug (Flex3)

Created: 02/17/08 06:37 AM   Updated: 01/08/09 01:00 PM
Component/s: MXML Compiler
Security Level: Public (All JIRA Users )

Severity: Non Functioning
Reproducibility: Every Time
Discoverability: High
Found in Version: SDK Flex 3.0.1
Milestone: SDK Gumbo - Release
Affected OS(s): All OS Platforms - All
Steps to Reproduce:
Steps to reproduce:
1.
Read: https://prerelease.adobe.com/project/forum/thread.html?cap=529AD7F42FFE47DEB4DEB944E4FB7DC8&forid={4D53C265-C0AA-4118-A861-575FA7E7A756}&topid={979126C1-3358-4193-BABE-022770673B7A}
Contact me to get the source code, where the compiler throws an error while compiling. I am afraid, it is a huge project. I am sorry, I cannot point you to the exact problem. I tried to figure out, what source code exactly causes the problem, but I couldn't. It compile in Flex2, but it won't with Flex3xxx (or AIR SDK), even with the latest built.

 Actual Results:
 Throws an error:
(fcsh) fcsh: Assigned 1 as the compile target id
Loading configuration file /Developer/SDKs/flex_sdk_3_engdrop_011408/frameworks/air-config.xml
Error: flash.swf.tags.GenericTag

(fcsh) java.lang.ClassCastException: flash.swf.tags.GenericTag
at flex2.compiler.swc.SwcLibrary.getSymbolClasses(SwcLibrary.java:208)
at flex2.compiler.swc.SwcScript.getSymbolClasses(SwcScript.java:115)
at flex2.compiler.CompilerSwcContext.createSource(CompilerSwcContext.java:389)
at flex2.compiler.CompilerSwcContext.getSource(CompilerSwcContext.java:330)
at flex2.compiler.API.findDefinition(API.java:2674)
at flex2.compiler.API.resolveMultiName(API.java:3339)
at flex2.compiler.API.resolveExpression(API.java:3182)
at flex2.compiler.API.batch2(API.java:395)
at flex2.compiler.API.batch(API.java:1106)
at flex2.compiler.API.compile(API.java:1279)
at flex2.tools.SimpleShell.mxmlc(SimpleShell.java:941)
at flex2.tools.SimpleShell.process(SimpleShell.java:135)
at flex2.tools.SimpleShell.main(SimpleShell.java:75)
 
 Expected Results:
Project should compile without any errors.
 
 Workaround (if any):
 None
 
 
Language Found: English
Bugbase Id: none
Triaged: Yes
Regression: No
QA Owner: Catalin Anastasoaie
Resolved by: Peter Farland
Fixed Version: SDK Flex 3.2.0 - Next Build
Participants: Andre Michelle, Gaurav Jain, Joa Ebert, Lauren Park, Peter Farland and Romuald Quantin

Sub-Tasks  All   Open   
 Sub-Task Progress: 

 All   Comments      Sort Order:
Joa Ebert - [05/19/08 01:39 PM ]
This bug is still present in the nightly build 3.0.1.1739.

I hope it will be fixed soon -- otherwise it is impossible to use assets which are comming in an SWC.


Peter Farland - [07/31/08 02:35 PM ]
Can you not just change line 208 of SwcLibrary to cast to Tag instead of DefineTag?

Peter Farland - [07/31/08 03:41 PM ]
I believe this is resolved in Flex SDK 3.0.x branch in revision 2694.

Romuald Quantin - [11/19/08 08:42 AM ]
It wasn't solved in the 3.1 but seems to be in the 3.2