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'
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.
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?
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?
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
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)
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
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
Hey Martin,
Did you notice the same exception in your logs?
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.
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.
I'm still stuck.
Me too - I hope to hear from someon who knows a solution.
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. :(
Someone found a solution to this problem? Coult there be some miss in the db when using MySQL?
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.
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...?
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?
Just upgraded to 4.5.2 and the problem still exists.
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?
Yes, also think there is some problem with the recycle bin, but in table UmbracoNode the recycle bin exists:
Noticed that the uniqueid and nodeobjecttype has capital letters. No other nodes has capital letters..?
Hmmm, the capital letters shouldn't make a difference, I'm not sure then I'm afraid, sorry!
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.
Regarding the problem on MySQL see : http://our.umbraco.org/forum/core/general/3945-Content-Tree-not-loading?p=1#comment49105
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
I have the same problem on MSSQL
is working on a reply...