I just did an upgrade from a version 3.0.6 to a 4.0.2.1 - all in all it seems fine, but I'm missing the packages node in the developer tree - does anyone have any idea what to do ?
btw: Sorry if this has been asked a trillion times, but the forum-search was a little buggy when posting :S
Yep, have seen this before. Check whether all folders are in place, especially the /data folder. Can you find out whether you have a /packages folder in there, and a created and installed subfolder? If not, try to copy from a fresh v4021 release. Don't forget to restart app afterwards.
Thanks for the reply, I copied the folders from a fresh install, but no luck - I get the package node in the tree, but nothing under, and it throws this when selecting the packages:
[NullReferenceException: Object reference not set to an instance of an object.]
umbraco.cms.businesslogic.packager.repositories.Repository.getAll() +62
umbraco.loadPackager.Render(XmlDocument& Tree) +1228
umbraco.cms.presentation.Trees.LegacyTree.Render(XmlDocument& Tree) +40
umbraco.cms.presentation.Trees.LegacyTree.Render(XmlTree& tree) +72
umbraco.cms.presentation.tree.LoadTree(String treeAlias) +68
umbraco.cms.presentation.tree.Page_Load(Object sender, EventArgs e) +150
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
System.Web.UI.Control.OnLoad(EventArgs e) +99
umbraco.BasePages.BasePage.OnLoad(EventArgs e) +12
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
I guess I am still missing som pieces to the installation - will investigate further..
Ok, so I was missing the following in the config->umbracoSettings.config
<!-- Configuration for repositories --> <!-- Add or remove repositories here. You will need the repository's unique key to be able to connect to it.--> <repositories> <repository name="Umbraco package Repository" guid="65194810-1f85-11dd-bd0b-0800200c9a66" /> </repositories>
I have the same problem, but the above doesnt solve it... For fun i tried to provoke it by creating a new package. When saving i got the following error:
Object reference not set to an instance of an object.
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand
Exception Details:
System.NullReferenceException: Object reference not set to an instance of an
object.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
umbraco.cms.businesslogic.packager.repositories.Repository.getAll() +60
umbraco.presentation.developer.packages._Default.saveOrPublish(Object sender, CommandEventArgs e) +269
System.Web.UI.WebControls.ImageButton.OnCommand(CommandEventArgs e) +8738382
System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +176
System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
Packages missing in developer tree
Hello fellow Umbracians,
I just did an upgrade from a version 3.0.6 to a 4.0.2.1 - all in all it seems fine, but I'm missing the packages node in the developer tree - does anyone have any idea what to do ?
btw: Sorry if this has been asked a trillion times, but the forum-search was a little buggy when posting :S
Yep, have seen this before. Check whether all folders are in place, especially the /data folder. Can you find out whether you have a /packages folder in there, and a created and installed subfolder? If not, try to copy from a fresh v4021 release. Don't forget to restart app afterwards.
Cheers,
/Dirk
Hi Dirk,
Thanks for the reply, I copied the folders from a fresh install, but no luck - I get the package node in the tree, but nothing under, and it throws this when selecting the packages:
I guess I am still missing som pieces to the installation - will investigate further..
Ok, so I was missing the following in the config->umbracoSettings.config
Adding this made the packages reappear.
I have the same problem, but the above doesnt solve it... For fun i tried to provoke it by creating a new package. When saving i got the following error:
Object reference not set to an instance of an object. body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Stack Trace:
hmmmmm now it has somehow repaired itself... Strange
I wish mine would!!!
is working on a reply...