Object reference not set to an instance of an object.

Dec 31, 2012 at 1:43 AM

When I try to copy from one culture to another, I get this error,  I am using 6.2.4. CE

 

 

Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

Line 578:                                        HiddenField hfTabID = (HiddenField)rDnnPage.Items[riDnnModule.ItemIndex].FindControl("hfTabID");
Line 579:                                        int tabID = int.Parse(hfTabID.Value);
Line 580:                                        if (miCopyDefault.TabID == tabID && miCopyDefault.IsDeleted)
Line 581:                                            //mc.RestoreModule(miCopyDefault);
Line 582:                                            mc.CopyModule(miCopy.ModuleID, miCopy.TabID, tabID, Null.NullString, true);


Source File: c:\inetpub\arabaviation\DesktopModules\CLTools\CLControl.ascx.cs    Line: 580

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   Satrabel.DNN.CL.CLControl.UpdateAll() in c:\inetpub\arabaviation\DesktopModules\CLTools\CLControl.ascx.cs:580
   Satrabel.DNN.CL.CLControl.lbUpdate_Click(Object sender, EventArgs e) in c:\inetpub\arabaviation\DesktopModules\CLTools\CLControl.ascx.cs:347
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +152
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3803

[PageLoadException: Object reference not set to an instance of an object.]
   DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +533
   System.Web.UI.Page.HandleError(Exception e) +164
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +12573451
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +12572973
   System.Web.UI.Page.ProcessRequest() +119
   System.Web.UI.Page.ProcessRequest(HttpContext context) +99
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +913
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165



Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18010