Adobe Dreamweaver Forums



Last 10 THreads :         Importing Iweb to Dreamweaver (Last Post : tllearner - Replies : 2 - Views : 3 )           »          How to I get an FLV Skin to display on external sites? (Last Post : QADesign - Replies : 0 - Views : 1 )           »          Spry menu bar with a different image for each item? (Last Post : bongalook - Replies : 0 - Views : 1 )           »          Live View doesn't reflect changes to script (Last Post : phillip914 - Replies : 0 - Views : 1 )           »          Table cell - text formatting question (Last Post : JRStaf4ord - Replies : 7 - Views : 8 )           »          Library documents do not accept SWF objects (Last Post : Murray *ACE* - Replies : 2 - Views : 3 )           »          Snippet Pod Problems (Last Post : Pat@ffic - Replies : 0 - Views : 1 )           »          CFGRID, please help (Last Post : The ScareCrow - Replies : 1 - Views : 2 )           »          How can I make an image to stay at the bottom of abrowser? (Last Post : Greg Lafrance - Replies : 1 - Views : 2 )           »          Change custom Vector class to new Vector class in player10 (Last Post : flexstone - Replies : 0 - Views : 1 )           »         


User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-18-2008, 07:52 PM
2JZ
 
Posts: n/a
Diggs:
Default Error: ModuleManager.as:671

I have encountered this weird error when loading a module.

TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at
ModuleInfo/completeHandler()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\ m
odules\ModuleManager.as:671]

I really have no clue because I've been loadint this module like others.



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-19-2008, 04:03 AM
*gsb*
 
Posts: n/a
Diggs:
Default Re: Error: ModuleManager.as:671

Try running clean on the project and then rebuild it and test.


Reply With Quote
  #3 (permalink)  
Old 11-19-2008, 04:34 AM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Error: ModuleManager.as:671


"2JZ" <webforumsuser@macromedia.com> wrote in message
news:gfv61u$p1$1@forums.macromedia.com...
>I have encountered this weird error when loading a module.
>
> TypeError: Error #1009: Cannot access a property or method of a null
> object
> reference.
> at
> ModuleInfo/completeHandler()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\ m
> odules\ModuleManager.as:671]
>
> I really have no clue because I've been loadint this module like others.


You may find that Q8 is useful
http://www.magnoliamultimedia.com/fl...s_Flex_FAQ.pdf


Reply With Quote


  #4 (permalink)  
Old 11-19-2008, 07:23 PM
2JZ
 
Posts: n/a
Diggs:
Default Re: Error: ModuleManager.as:671

I just found something.
http://bugs.adobe.com/jira/browse/FB-13014

My code is actually have a loop to load the same module in multiple times. Is
this really a bug? I can't find anything else beside the link above.

Reply With Quote
  #5 (permalink)  
Old 11-19-2008, 07:43 PM
2JZ
 
Posts: n/a
Diggs:
Default Re: Error: ModuleManager.as:671

It seems that I can load the same module twice in the loop. It gives me the
error below when it tries to load more than twice of the same modules.

TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at
ModuleInfo/completeHandler()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\ m
odules\ModuleManager.as:671]


Reply With Quote
  #6 (permalink)  
Old 11-20-2008, 12:24 AM
*gsb*
 
Posts: n/a
Diggs:
Default Re: Error: ModuleManager.as:671


Did you try the workaround he put at the bottom of that post?


Reply With Quote


  #7 (permalink)  
Old 11-20-2008, 01:24 AM
2JZ
 
Posts: n/a
Diggs:
Default Re: Error: ModuleManager.as:671

Yes! I did put the definitation on the application. But, I ran out of luck.
Reply With Quote
  #8 (permalink)  
Old 11-20-2008, 07:32 PM
2JZ
 
Posts: n/a
Diggs:
Default Re: Error: ModuleManager.as:671

Does anyone knows if this really is a bug?

http://bugs.adobe.com/jira/browse/FB-13014
Reply With Quote
  #9 (permalink)  
Old 11-21-2008, 07:24 PM
josh1093
 
Posts: n/a
Diggs:
Default Re: Error: ModuleManager.as:671

I am getting the same error loading modules. For me I found that changing the
layout properties of the container that I am loading the module in made the
problem appear and go away. I'm loading a module as an itemrenderer in a
TileList. If I set the columnWidth and rowHeight properties of the list then I
have problems. If I don't set them both, then I get the "ModuleManager.as:671"
null pointer problem. I'm guessing that by setting the size ahead of time for
the itemRenderer flex doesn't need to query the module until later which gives
it time to load. Seems like a race condition to me. This is yet another bug
in flex.

Reply With Quote


  #10 (permalink)  
Old 11-21-2008, 07:24 PM
josh1093
 
Posts: n/a
Diggs:
Default Re: Error: ModuleManager.as:671

I am getting the same error loading modules. For me I found that changing the
layout properties of the container that I am loading the module in made the
problem appear and go away. I'm loading a module as an itemrenderer in a
TileList. If I set the columnWidth and rowHeight properties of the list then I
have problems. If I don't set them both, then I get the "ModuleManager.as:671"
null pointer problem. I'm guessing that by setting the size ahead of time for
the itemRenderer flex doesn't need to query the module until later which gives
it time to load. Seems like a race condition to me. This is yet another bug
in flex.

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 10:39 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk