Announcement Announcement Module
Collapse
No announcement yet.
ActionScript project trying to reference UIComponent Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ActionScript project trying to reference UIComponent

    I'm getting some pretty annoying behavior in version 8.1.

    I've included all the dependencies, and set up my project to compile as a AS3 project, but I'm getting an error that is looking for mx.core::UIComponent.

    Code:
    VerifyError: Error #1014: Class mx.core::UIComponent could not be found.
    Could this be right? My project shouldn't be looking for anything in mx really, (especially the UIComponent) seeing as I am only compiling an AS3 project.

    I don't want to paste too much code, but I certainly feel the error is caused by this. Anyone have any ideas?

    Code:
    _applicationContext = new XMLApplicationContext();
    _applicationContext.addConfigLocation( loaderInfo.parameters.appContext );
    _applicationContext.addEventListener( Event.COMPLETE, onComplete );
    _applicationContext.load();

  • #2
    Hi,

    is it possible to run a debug build and post the stacktrace here?

    thanks,
    Christophe

    Comment


    • #3
      is a bug

      I'm pretty sure that this is a bug, it has to do with this ticket:

      http://jira.springframework.org/brow...IONSCRIPTAS-74

      This has been fixed in the trunk, if you can try and compile your app with a build from the trunk you'll probably be without errors.

      Let us know how your results please,

      cheers,

      Roland

      Comment


      • #4
        Stack trace from trunk and tag build

        Ok... so I attached the stack trace in a text file to this message.

        I originally built the code from the trunk, but received the same error, so reverted to the tag to make sure I didn't do something silly.

        Thanks for the quick reply on this.

        Comment


        • #5
          The bug fix: RE: 666shooter

          I looked at that bug and it seems to be the same issue, so I will try the trunk build again today. Just to make sure.

          Comment


          • #6
            Trunk still has UIComponent error.

            Ok looks like you are right.

            The UIComponent reference is removed from the ObjectUtils class in the trunk.

            However, there is a reference in org.springextensions.actionscript.ioc.autowire:: DefaultAutowireProcessor.

            I guess piled these errors together when I compiled the two different projects.

            I logged a bug in Jira here ...

            http://jira.springframework.org/brow...IONSCRIPTAS-85
            Last edited by ghostmonk; Dec 15th, 2009, 10:01 AM. Reason: Logged Bug

            Comment

            Working...
            X