Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gal Nitzan 50 posts 164 karma points
    Jul 28, 2010 @ 21:52
    Gal Nitzan
    0

    Empty Media tree after 4.5.1 Upgrade

    Hi,

    I use MySQL, IIS 7.5, 2008 server.

    I tried to upgrade to 4.5.0 and got an empty Media tree.

    Had the following entries in my event viewer:

    Just upgraded to V4.5.1 and I have the same problem media tree is empty and the exception in the event viewer.

    Exception type: NullReferenceException
        Exception message: Object reference not set to an instance of an object.
       at umbraco.cms.presentation.Trees.MediaRecycleBin.CreateRootNode(XmlTreeNode& rootNode)
       at umbraco.cms.presentation.Trees.BaseTree.CreateRootNode()
       at umbraco.cms.presentation.Trees.BaseTree.Initialize()
       at umbraco.cms.presentation.Trees.BaseTree.get_RootNode()
       at umbraco.loadMedia.CreateRecycleBin()
       at umbraco.loadMedia.Render(XmlTree& tree)
       at umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams)
       at umbraco.presentation.webservices.TreeDataService.GetXmlTree()
       at umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Looked at umbracoNode and there is a record with nodeobjecttype = 'Recycle Bin' and id='-20'

    Has any one ran into this problem?

    Gal

  • Martin Rud 261 posts 1022 karma points c-trib
    Jul 28, 2010 @ 22:42
    Martin Rud
    0

    Hi Gal,

    Yes, I have run into exactly that problem. I´ve tried the upgrade several times using both this guide http://www.karlkopp.com/blog/2010/7/27/upgrading-umbraco-40x-to-45x and this guide http://our.umbraco.org/wiki/about/roadmap/umbraco-45/upgrading-to-umbraco-45. But without luck.

     

    Also using MySQL.

     

    Regards,

    Martin

  • Gal Nitzan 50 posts 164 karma points
    Jul 29, 2010 @ 07:52
    Gal Nitzan
    0

    Hey Martin,

     

    Did you notice the same exception in your logs?

  • Martin Rud 261 posts 1022 karma points c-trib
    Jul 29, 2010 @ 09:24
    Martin Rud
    0

    Hi Gal,

    I´m not experiensed in viewing log files: How do I find the log files? (The solution is in a shared, hosted invironment.)

    By the way: I have encountered another error: A node is missing: Developer -> Installed packages

     

    My setup is: IIS 7.5, Microsoft Windows NT 6.1.7600.0, MySql. I upgraded from 4.0.3 (and 4.0.4) to 4.5.1 and got the errors described.

  • Martin Rud 261 posts 1022 karma points c-trib
    Jul 29, 2010 @ 13:19
    Martin Rud
    0

    Hi again,

    Another observation: I have made a fresh install of 4.5.1 (.NET 3.5 version) on the above setup. It works perfect so the problem seems to occur on upgrade to 4.5.1.

  • Gal Nitzan 50 posts 164 karma points
    Aug 04, 2010 @ 21:57
    Gal Nitzan
    0

    I'm still stuck.

  • Martin Rud 261 posts 1022 karma points c-trib
    Aug 04, 2010 @ 22:04
    Martin Rud
    0

    Me too - I hope to hear from someon who knows a solution.

  • Peter 89 posts 160 karma points
    Aug 04, 2010 @ 22:45
    Peter
    0

    Mee too, in the thread i created on the same problem, i have the same exception.

    But since then, I tried to create a new item in the media I have been experiencing this  http://our.umbraco.org/forum/getting-started/installing-umbraco/11360--The-name-'GetLegacyIActionJavascript'-does-not-exist-in-the-current-context

    So, the admin is now dead. :(

  • Fredrik Esseen 610 posts 906 karma points
    Aug 19, 2010 @ 13:54
    Fredrik Esseen
    0

    Someone found a solution to this problem? Coult there be some miss in the db when using MySQL?

  • Gal Nitzan 50 posts 164 karma points
    Aug 19, 2010 @ 14:02
    Gal Nitzan
    0

    Regrettably, I wasn't able to find a solution to this problem and no one from Umbraco related to this issue (poor us MySQL users).

    I still work with the 4.4 v.

     

    Gal.

  • Fredrik Esseen 610 posts 906 karma points
    Aug 19, 2010 @ 14:17
    Fredrik Esseen
    0

    This is the error I get when running the path in a new browser:

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.cms.presentation.Trees.MediaRecycleBin.CreateRootNode(XmlTreeNode& rootNode) +131
       umbraco.cms.presentation.Trees.BaseTree.CreateRootNode() +114
       umbraco.cms.presentation.Trees.BaseTree.Initialize() +270
       umbraco.cms.presentation.Trees.BaseTree.get_RootNode() +36
       umbraco.loadMedia.CreateRecycleBin() +205
       umbraco.loadMedia.Render(XmlTree& tree) +60
       umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams) +160
       umbraco.presentation.webservices.TreeDataService.GetXmlTree() +198
       umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context) +85
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

    Seems to be a problem with the recycle bin...?

  • Fredrik Esseen 610 posts 906 karma points
    Aug 19, 2010 @ 14:30
    Fredrik Esseen
    0

    Just a little thing i noticed. if i change the node id in the Umbraconode table of therecycle bin row from -20 to something else (-21) the content node gets the same error..

    Maybe not chocking but points to that its the recycle bin that is the problem. Can some in the core enlighten us if that is the right conclusion?

  • Fredrik Esseen 610 posts 906 karma points
    Aug 24, 2010 @ 16:21
    Fredrik Esseen
    0

    Just upgraded to 4.5.2 and the problem still exists.

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Aug 25, 2010 @ 12:22
    Tim
    0

    Sounds like it could be something to do with the new recycle bin in the media section.

    Possibly it's because the node isn't in the database? I don't run Umbraco on MySQL, but did you run any DB scripts as part of the upgrade? If not, you could try doing a fresh install and trying to find the node for the new recycle bin in the database that works?

  • Fredrik Esseen 610 posts 906 karma points
    Aug 25, 2010 @ 13:38
    Fredrik Esseen
    0

    Yes, also think there is some problem with the recycle bin, but in table UmbracoNode the recycle bin exists:

    -20   -1 0 0 -1,-20 0 0F582A79-1E41-4CF0-BFA0-76340651891A Recycle Bin 01BB7FF2-24DC-4C0C-95A2-C24EF72BBAC8

     

    -21   -1 0 0 -1,-21 0 BF7C7CBC-952F-4518-97A2-69E9C7B33842 Recycle Bin CF3D8E34-1C1C-41e9-AE56-878B57B32113  

     

    Noticed that the uniqueid and nodeobjecttype has capital letters. No other nodes has capital letters..?

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Aug 25, 2010 @ 14:19
    Tim
    0

    Hmmm, the capital letters shouldn't make a difference, I'm not sure then I'm afraid, sorry!

  • Ben Wicks 4 posts 25 karma points
    Sep 01, 2010 @ 23:47
    Ben Wicks
    0

    I had the same issue on 4.5.1 on a MS Sql database, resolved by upgrading to 4.5.2 and letting the installer do its thing.

  • Obiwan 33 posts 67 karma points
    Oct 07, 2010 @ 09:52
  • Obiwan 33 posts 67 karma points
    Oct 14, 2010 @ 20:50
    Obiwan
    0

     

    I have uploaded a patch to codeplex ID: 7083, to fix the MySQL install , that contains the code + a release build of the umbraco.datalayer.dll, also the MySQL scripts can be run manually

     

  • Jais Edelmann 45 posts 126 karma points
    Aug 25, 2012 @ 12:36
    Jais Edelmann
    0

    I have the same problem on MSSQL

     

    Exception information: 
        Exception type: NullReferenceException 
        Exception message: Object reference not set to an instance of an object.
       at umbraco.cms.presentation.Trees.MediaRecycleBin.CreateRootNode(XmlTreeNode& rootNode)
       at umbraco.loadMedia.Render(XmlTree& tree)
       at umbraco.presentation.webservices.TreeDataService.GetXmlTree()
       at umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    
Please Sign in or register to post replies

Write your reply to:

Draft