Custom Module problem

Last post 04-20-2005 12:43 AM by brian_c. 1 replies.

Sort Posts:

  • Custom Module problem

    04-20-2005, 12:21 AM
    • Member
      40 point Member
    • jferrell1211
    • Member since 01-22-2004, 11:01 AM
    • Posts 8

    perhaps someone can help me out---this is my first module--using 3.0.13----

    followed docs---completely--have DataProvider---BizContoller class---BizInfo class...etc...

    module loads but with error as follows---

    Unhandled error loading module.
    DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Modules.Actions.ModuleActionCollection.AddRange(ModuleActionCollection value) in c:\inetpub\wwwroot\DotNetNuke\components\Modules\ModuleActionCollection.vb:line 310 at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) in c:\inetpub\wwwroot\DotNetNuke\admin\Skins\Skin.vb:line 789 --- End of inner exception stack trace ---

    i've set breakpoints at the offending lines but can't figure out what is happening here--I implemented IActionable per the docs sample with the Survey module----

    I don't see the source of the error---help would be appreciated greatly--it seems that I am almost there....

    if you need more info let me know

     

    Thanks,

    Jerry 

  • Re: Custom Module problem

    04-20-2005, 12:43 AM
    • Star
      11,292 point Star
    • brian_c
    • Member since 01-22-2004, 1:31 PM
    • Frisco, TX
    • Posts 2,259

    looks like your ModuleActions has something wrong...  take it out to see if it will work..  and to confirm...

    maybe paste that code..

Page 1 of 1 (2 items)