Error when choosing widget grid in "Render control"
Hi Matt,
I succeeded in destroying the widget grid when installing and uninstalling it a couple of times (Or 10. Don't ask why).
Anyways. When I try choosing it in my Data Type's Render Control drop down and hitting save I get a YSOD. Have had a lot of these today unfortunately. Must be doning something wrong today.
Can you see what my problem might be?
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:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Our.Umbraco.WidgetGrid.DataTypes.WidgetGridPreValueEditor.OnLoad(EventArgs e) +135
System.Web.UI.Control.LoadRecursive() +54
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929
I've got exactly the same problem. Umbraco 4.10. Had an error when installing due to permissions (i'd not checked out my app data folder) and now I get this error every time I hit the render control method in data types.
Had a nosey in the db and found this in the node table:
pknodeIdcontrolIddbType
54108000000000-0000-0000-0000-000000000000Ntext
Node Id 1080 is the data type I'm trying to create. Really struggling with this now, I may have to look at alternative page structures for this doc type that don't use widget grid. :\
The problem seems to be that even after uninstalling, the render control drop down still shows 'Widget Grid'. I'm guessing when re-installing it doesn't overwrite this value, hence why when trying to create a data type from it it creates a GUID of 000000000-0000-0000-0000-000000000000?
I think the above was a red herring, I'd uninstalled the package but had a reference to the dll so it kept re-adding it on build! :S
However, I've downloaded the source, built in debug mode and set the VS debugger to show me where exceptions are thrown. I'm going to have to move onto something else now, wasted far too much time on this. If nobody has any ideas then it's back to creating a widget type interface using multi node picker. Shame, this would have been perfect for a clients requirements. :\
Error when choosing widget grid in "Render control"
Hi Matt,
I succeeded in destroying the widget grid when installing and uninstalling it a couple of times (Or 10. Don't ask why).
Anyways. When I try choosing it in my Data Type's Render Control drop down and hitting save I get a YSOD. Have had a lot of these today unfortunately. Must be doning something wrong today.
Can you see what my problem might be?
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:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929
By the way. It worked at some point, but then I destroyed it. And now uninstalling and installing it or just reinstalling it does'nt work.
/Rune
I THINK that updating Umbraco did the trick. I could install it now anyways.
I've got exactly the same problem. Umbraco 4.10. Had an error when installing due to permissions (i'd not checked out my app data folder) and now I get this error every time I hit the render control method in data types.
Any ideas?
Had a nosey in the db and found this in the node table:
pknodeIdcontrolIddbType
54108000000000-0000-0000-0000-000000000000Ntext
Node Id 1080 is the data type I'm trying to create. Really struggling with this now, I may have to look at alternative page structures for this doc type that don't use widget grid. :\
The problem seems to be that even after uninstalling, the render control drop down still shows 'Widget Grid'. I'm guessing when re-installing it doesn't overwrite this value, hence why when trying to create a data type from it it creates a GUID of 000000000-0000-0000-0000-000000000000?
Hi Chris,
Unfortunately I don't have any help for you. It just startet working for me again after updating Umbraco. But never found out what was wrong :(
Never happened for me on any other packages though!
/Rune
No worries. :)
I think the above was a red herring, I'd uninstalled the package but had a reference to the dll so it kept re-adding it on build! :S
However, I've downloaded the source, built in debug mode and set the VS debugger to show me where exceptions are thrown. I'm going to have to move onto something else now, wasted far too much time on this. If nobody has any ideas then it's back to creating a widget type interface using multi node picker. Shame, this would have been perfect for a clients requirements. :\
is working on a reply...