DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Object Ref error upgrading 9.3

Sort:
You are not authorized to post a reply.





New Around Here





    After upgrading to DNN 9.3 from 9.1.1 I am getting this error:

    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.Framework.JavaScriptLibraries.JavaScript.GetScriptVersions()
        at DotNetNuke.Framework.JavaScriptLibraries.JavaScript.Register(Page page)
        at System.Web.UI.Control.OnPreRender(EventArgs e)
        at ClientDependency.Core.Controls.ClientDependencyLoader.OnPreRender(EventArgs e)
        at DotNetNuke.Web.Client.ClientResourceManagement.ClientResourceLoader.OnPreRender(EventArgs e)
        at System.Web.UI.Control.PreRenderRecursiveInternal()
        at System.Web.UI.Control.PreRenderRecursiveInternal()
        at System.Web.UI.Control.PreRenderRecursiveInternal()
        at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    --- End of inner exception stack trace ---

    Any ideas/clues?






    Veteran Member





      Upgrading to DNN 9.2.0 and higher puts you in the realm of several breaking changes that need to be fixed.

      You should check the files in portals/_default/logs to see if there is other information there that will help to identify the module/modules that need upgrading.

      Step #1 would be to look at all of the installed modules and see if your modules are compatible with DNN 9.2.0 and higher. If not, you'll need to get upgraded versions of the modules and install them.
      Joe Craig
      DNN MVP
      Patapsco Research Group





      New Around Here





        That was from the Logs folder.  The website does not come up at all, and that's the only information I have.

        I get a "DNN Error" with a "Return to Site" button.

         

        Here are the log entries:

        2020-07-27 18:03:43,189 [APPSRV03][Thread:25][FATAL] DotNetNuke.Framework.PageBase - An error has occurred while loading page.
        System.NullReferenceException: Object reference not set to an instance of an object.
           at DotNetNuke.Framework.JavaScriptLibraries.JavaScript.GetScriptVersions()
           at DotNetNuke.Framework.JavaScriptLibraries.JavaScript.Register(Page page)
           at System.Web.UI.Control.OnPreRender(EventArgs e)
           at ClientDependency.Core.Controls.ClientDependencyLoader.OnPreRender(EventArgs e)
           at DotNetNuke.Web.Client.ClientResourceManagement.ClientResourceLoader.OnPreRender(EventArgs e)
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
        2020-07-27 18:03:43,225 [APPSRV03][Thread:25][ERROR] DotNetNuke.Services.Exceptions.Exceptions - ~/Default.aspx?tabid=36231&error=An unexpected error has occurred&content=0
        System.NullReferenceException: Object reference not set to an instance of an object.
           at DotNetNuke.Framework.JavaScriptLibraries.JavaScript.GetScriptVersions()
           at DotNetNuke.Framework.JavaScriptLibraries.JavaScript.Register(Page page)
           at System.Web.UI.Control.OnPreRender(EventArgs e)
           at ClientDependency.Core.Controls.ClientDependencyLoader.OnPreRender(EventArgs e)
           at DotNetNuke.Web.Client.ClientResourceManagement.ClientResourceLoader.OnPreRender(EventArgs e)
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
        2020-07-27 18:03:43,312 [APPSRV03][Thread:9][FATAL] DotNetNuke.Framework.PageBase - An error has occurred while loading page.
        System.NullReferenceException: Object reference not set to an instance of an object.
           at DotNetNuke.Framework.JavaScriptLibraries.JavaScript.GetScriptVersions()
           at DotNetNuke.Framework.JavaScriptLibraries.JavaScript.Register(Page page)
           at System.Web.UI.Control.OnPreRender(EventArgs e)
           at ClientDependency.Core.Controls.ClientDependencyLoader.OnPreRender(EventArgs e)
           at DotNetNuke.Web.Client.ClientResourceManagement.ClientResourceLoader.OnPreRender(EventArgs e)
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
        2020-07-27 18:03:43,316 [APPSRV03][Thread:9][ERROR] DotNetNuke.Services.Exceptions.Exceptions - ~/Default.aspx?tabid=36231&error=terminate
        System.NullReferenceException: Object reference not set to an instance of an object.
           at DotNetNuke.Framework.JavaScriptLibraries.JavaScript.GetScriptVersions()
           at DotNetNuke.Framework.JavaScriptLibraries.JavaScript.Register(Page page)
           at System.Web.UI.Control.OnPreRender(EventArgs e)
           at ClientDependency.Core.Controls.ClientDependencyLoader.OnPreRender(EventArgs e)
           at DotNetNuke.Web.Client.ClientResourceManagement.ClientResourceLoader.OnPreRender(EventArgs e)
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
        2020-07-27 18:03:43,707 [APPSRV03][Thread:9][ERROR] DotNetNuke.Services.Exceptions.Exceptions - 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.Framework.JavaScriptLibraries.JavaScript.GetScriptVersions()
           at DotNetNuke.Framework.JavaScriptLibraries.JavaScript.Register(Page page)
           at System.Web.UI.Control.OnPreRender(EventArgs e)
           at ClientDependency.Core.Controls.ClientDependencyLoader.OnPreRender(EventArgs e)
           at DotNetNuke.Web.Client.ClientResourceManagement.ClientResourceLoader.OnPreRender(EventArgs e)
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
           --- End of inner exception stack trace ---
         






        New Around Here





          Figured it out.

          SELECT * FROM dbo.JavaScriptLibraries

          And checked and I had jQuery missing, and in /Resources/Libraries there was a hick-up on the upgrade, version 1.9.1 was still there.
          You are not authorized to post a reply.

          These Forums are dedicated to the discussion of DNN Platform.

          For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

          1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
          2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
          3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
          4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
          5. No Flaming or Trolling.
          6. No Profanity, Racism, or Prejudice.
          7. Site Moderators have the final word on approving / removing a thread or post or comment.
          8. English language posting only, please.

          Would you like to help us?

          Awesome! Simply post in the forums using the link below and we'll get you started.

          Get Involved