Hello;

I'm stuck! When compiling my project I am getting an internal 
compiler error, and can't for the life of me figure out why. I've 
reproduced the problem with a very small set of files that implement 
the same structure as my project. 

Essentially, I have a custom component, COMP_List, that derives from 
mx:List and implements some custom behaviors. I have another custom 
component DSHB_List that dervies from COMP_List. The main 
application instantiates a DSHB_List object.


/com/foo/bar/COMP/COMP_List.mxml:

<?xml version="1.0" encoding="utf-8"?>
<mx:List xmlns:mx="http://www.macromedia.com/2005/mxml"; xmlns="*">
</mx:List>

/com/foo/bar/DSHB/DSHB_List.mxml:

<?xml version="1.0" encoding="utf-8"?>
<COMP:COMP_List xmlns:COMP="com.foo.bar.COMP.*">        
</COMP:COMP_List>

/CompilerError.mxml:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml"; 
        xmlns:DSHB="com.foo.bar.DSHB.*"
        xmlns="*" 
        layout="absolute">
        <DSHB:DSHB_List/>
</mx:Application>

This is the command line I'm using to compile, along with the 
compiler output:

C:\Program Files\Adobe\Flex Builder 2 Beta 1\Flex Framework 2
\bin>mxmlc --load-config ..\frameworks\flex-config.xml "c:\Documents 
and Settings\tpatton\My 
Documents\Flex\CompilerError\CompilerError.mxml"

Loading configuration file C:\Program Files\Adobe\Flex Builder 2 
Beta 1\Flex Framework 2\frameworks\flex-config.xml, root element 
flex-config
Initial setup: 343ms
Loaded 6 SWCs: 594ms
License Service: Flex 2.0 Developer Edition enabled (beta period 
ends May 1, 2006)
Compiling...
Error: null

java.lang.AssertionError
        at flex2.compiler.mxml.lang.StandardDefs.isIUIComponent
(StandardDefs.java:267)
        at 
flex2.compiler.mxml.builder.ComponentBuilder.constructComponent
(ComponentBuilder.java:78)
        at flex2.compiler.mxml.builder.ApplicationBuilder.analyze
(ApplicationBuilder.java:102)
        at flex2.compiler.mxml.dom.Node.analyze(Node.java:36)
        at flex2.compiler.mxml.ImplementationCompiler.parse
(ImplementationCompiler.java:130)
        at flex2.compiler.mxml.Compiler.parse(Compiler.java:73)
        at flex2.compiler.API.parse(API.java:1104)
        at flex2.compiler.API.parse(API.java:1072)
        at flex2.compiler.API.batchInner(API.java:156)
        at flex2.compiler.API.batch(API.java:260)
        at flex2.compiler.API.compile(API.java:361)
        at flex2.compiler.API.compile(API.java:289)
        at flex2.tools.Compiler.main(Compiler.java:167)
Total time: 3062ms
Peak memory usage: 49 MB (Heap: 31, Non-Heap: 18)

Am I doing something obviously wrong here? Does anyone have any 
suggestions as to how I can track down an eliminate the internal 
compiler error?

Thanks.
Tobias











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to