YAFLogo

Jammrock
  • Jammrock
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
I've tried the YAF DNN module from SourceForge and from tha_watcha. Every time I get this:

A critical error has occurred.
Object reference not set to an instance of an object.


EDIT: I got it working. Used IE from a faster connection and the extension got installed.

EDIT2: Now I get errors when I try to add the module to a page :(

I'm logged in as the superuser (host), tried several times to make the page but it doesn't seem to work.


From thos host server Event Viewer:

Exception information:
    Exception type: ReflectionTypeLoadException
    Exception message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

Request information:
    Request URL: http://xxxxxxxxxxxxxx/DesktopModules/YetAnotherForumDotNet/Default.aspx
    Request path: /xxx/DesktopModules/YetAnotherForumDotNet/Default.aspx
    User host address: xxxxxxxxxxxxxxxxxxxxxx
    User: xxxxxxxxxxxxx
    Is authenticated: True
    Authentication Type: Forms
    Thread account name: xxxxxxxxxxxxxxxxxxxxxxx

Thread information:
    Thread ID: 1
    Thread account name: xxxxxxxxxxxxxxxxxxxxx
    Is impersonating: False
    Stack trace:    at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
   at System.Reflection.Module.GetTypes()
   at YAF.Modules.YafModuleManager`1.FindModules(IList assemblies, String moduleNamespace, StringmoduleBaseInterface)
   at YAF.Modules.YafModuleManager`1.AddModules(List`1 assemblies)
   at YAF.Modules.YafBaseModuleManager..ctor()

From DNN Event Viewer:

Method: DotNetNuke.UI.Containers.ActionButtonList.get_ModuleActions
StackTrace: 
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.ActionButtonList.get_ModuleActions() at DotNetNuke.UI.Containers.ActionButtonList.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

InnerException: Object reference not set to an instance of an object.
FileName: 
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Containers.ActionBase.get_ActionRoot
StackTrace: 
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.ActionBase.get_ActionRoot() at DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

Any ideas?
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
13 years ago
Which version of my ones did you use?

I updated my package today, after testing it with the a complete fresh dnn 5.4.2 installation

my-dnn.de/t6BXk 
Jammrock
  • Jammrock
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
I used package YAF_DNN5_1.94.00-SVN-3397. I'll give 3398 a shot and let you know how that goes.
Jammrock
  • Jammrock
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
You're a genius watcher! 3398 works with DNN 5.4.2.
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
13 years ago
But i dont know if everything works as it should be, its still a beta version. There are where a few little inside the lastest svn builds. But i make some temp. fixes to get it working
Jammrock
  • Jammrock
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
I have spotted a couple of bugs with the editors. The TinyMCE HTML editor does not do emoticons right. When you add an emoticon with the TinyMCE HTMl editor it links the image links like this:

../../../../DesktopModules/YetAnotherForumDotNet/Images/Emoticons/msp_biggrin.gif

Which does not work with DNN 5.4.2 (at least mine). This does work however.

/DesktopModules/YetAnotherForumDotNet/Images/Emoticons/msp_biggrin.gif

YAF emoticons do work with the YAFBBCode and TinyMCE BBCode editors. The Telerik RAD Editor (HTML) doesn't work at all. As in I get a page error if I select it. Not big issues, just thought I'd report them.
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
13 years ago
I updated the Package with latest SVN 3409, and i also include the Dnn Editor support (Code by Balbes). you can use my CKEditor Provider instead of the TinyMCE Editor

my-dnn.de/t6BXk 
Jammrock
  • Jammrock
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Oooh, CKEditor, nice. Anything that loads faster than TinyMCE is good with me. I'll check out your latest build for sure.
Jammrock
  • Jammrock
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Thanks again, Watcher! The upgrade went seamless and I'm using the DNN editor at the moment. FCK Editor v2 (HTML) did not work for me though. I get a 404 when I try to reply/post with that selected.

Any chance of getting CKEditor 3 working with future versions of the YAF DNN extension?
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
13 years ago
Quote:

Any chance of getting CKEditor 3 working with future versions of the YAF DNN extension?



What do you mean?

As i write before, the yaf dnn module works with my CKEdidtor (CKEditor 3.3) Provider

http://dnnckeditor.codeplex.com/ 

But i didn test the old fckeditor.
wowikt
  • wowikt
  • 51.8% (Neutral)
  • YAF Forumling
13 years ago
The same problem as topic starter:
Jammrock wrote:


A critical error has occurred.
Object reference not set to an instance of an object.


Used YAF_DNN5_1.94.00-SVN-3449. DNN 5.4.2
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
13 years ago
Its also the same problem here:

http://forum.yetanotherforum.net/yaf_postsm42206_Please-help-me-install-success-but-have-error.aspx 

But i still cannot reproduce this. I just made a fresh new dnn installation, install the yaf module and run the installer. I really dont know what causes this problem.
wowikt
  • wowikt
  • 51.8% (Neutral)
  • YAF Forumling
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button