Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Adobe Flex SDK 4.5 (Release)
-
None
-
Affected OS(s): All OS Platforms
Browser: Firefox 3.x
Language Found: English
Description
[All these steps assume you're using Flash Builder]
Steps to reproduce:
1. Create a new Flex project.
2. Create a new AS Class named "test"
3. In the AS Class, modify it to extend itself – i.e. test extends test
4. In the MXML App, create a script block with the following:
<fx:Script>
<![CDATA[
public function foo():void
]]
>
</fx:Script>
5. Save/Build.
Actual Results:
Flash Builder will popup a dialog about an uncaught exception in the compiler (see screen shots). Eclipse then encourages you to exit the workbench (basically you are forced to relaunch FB).
!ENTRY com.adobe.flexbuilder.project 4 43 2009-12-22 11:37:26.035
!MESSAGE Uncaught exception in compiler
!STACK 0
java.lang.StackOverflowError
at flex2.compiler.as3.binding.ClassInfo.getSkinParts(ClassInfo.java:143)
at flex2.compiler.as3.binding.ClassInfo.getSkinParts(ClassInfo.java:143)
at flex2.compiler.as3.binding.ClassInfo.getSkinParts(ClassInfo.java:143)
at flex2.compiler.as3.binding.ClassInfo.getSkinParts(ClassInfo.java:143) etc...
Expected Results:
This exception should be handled gracefully within the compiler so that a user who types something like this accidentally doesn't get nasty error messages and have to reboot Flash Builder.
Workaround (if any):