Copied to clipboard

Flag this post as spam?

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


  • Wesley de Roo 38 posts 142 karma points
    Mar 29, 2013 @ 10:32
    Wesley de Roo
    0

    Value cannot be null

    When i have applied de Google Maps Datatype applied to a document type and then open a document in de content tree wihich have the document type applied with a google maps datatype i'am getting the following error shown below. I'm running a fresh Umbraco 6.0.3 MVC in Visual Studio with IIS Expres (ASP.net development server gives same error) with packages: contour, uComponents, Googlemaps Datatype 2.0.6, ImageGen, Fugue Icon Package and uLess.

    Server Error in '/' Application.

    Value cannot be null.
    Parameternaam: name

    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.ArgumentNullException: Value cannot be null.

    Parameternaam: name

    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: 

    [ArgumentNullException: Value cannot be null.

    Parameternaam: name]

       System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) +10623535

       umbraco.cms.businesslogic.datatype.BaseDataType.LoadSettings(List`1 settings) +180

       umbraco.cms.businesslogic.datatype.AbstractDataEditorControl.OnInit(EventArgs e) +92

       System.Web.UI.Control.InitRecursive(Control namingContainer) +134

       System.Web.UI.Control.InitRecursive(Control namingContainer) +290

       System.Web.UI.Control.InitRecursive(Control namingContainer) +290

       System.Web.UI.Control.InitRecursive(Control namingContainer) +290

       System.Web.UI.Control.InitRecursive(Control namingContainer) +290

       System.Web.UI.Control.AddedControl(Control control, Int32 index) +191

       System.Web.UI.ControlCollection.Add(Control child) +86

       umbraco.controls.ContentControl.AddControlNew(Property p, TabPage tp, String Caption) +3323

       umbraco.controls.ContentControl.LoadPropertyTypes(IContentTypeComposition contentType, TabPage tabPage, Hashtable inTab, Int32 tabId, String tabCaption) +252

       umbraco.controls.ContentControl.CreateChildControls() +593

       System.Web.UI.Control.EnsureChildControls() +83

       umbraco.controls.ContentControl.OnInit(EventArgs e) +38

       System.Web.UI.Control.InitRecursive(Control namingContainer) +134

       System.Web.UI.Control.AddedControl(Control control, Int32 index) +191

       System.Web.UI.ControlCollection.Add(Control child) +86

       umbraco.cms.presentation.editContent.OnInit(EventArgs e) +1187

       System.Web.UI.Control.InitRecursive(Control namingContainer) +134

       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +489

     

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18034

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Mar 29, 2013 @ 12:12
    Lee Kelleher
    0

    Hi Wesley,

    Thanks for reporting this. I haven't seen this error before, but to be honest I haven't tested out the Google Maps with v6.0.3 yet.

    The exception message is pointing towards the settings/options from the PrevalueEditor. What values are you using for the default location, zoom, height and width? (if not the default ones).

    Thanks, Lee.

  • Wesley de Roo 38 posts 142 karma points
    Mar 29, 2013 @ 12:38
    Wesley de Roo
    1

    Hi Lee,

    Thanks for replying. I'm using the default values. I didn't changed anything in the datatype.

    You gave me an idea, when i lookup the datatype and just hit save, it suddenly works. So i did a test with a new fresh install 6.0.3 and only install the Datatype for a test. And stil get the error. When i'am saving the datatype, the error dissapears and i'am seeing the map.

    Perhaps when installing the datatype, the datatype isn't saved properly in 6.0.3? 

    Thanks, Wesley

  • scott chidester 3 posts 23 karma points
    Apr 10, 2013 @ 15:56
    scott chidester
    0

    I have an Umbraco 6.0.3 installation with Google Maps for Umbraco v2.0.6 and am receiving the exact same error.  I have not changed any of the Google Maps default settings.  The following packages are also installed:  (Config Tree, ImageGen & Digibiz Advanced Media Picker)  Any one have any thoughts on a fix?

    Thanks, Scott

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Apr 15, 2013 @ 12:52
    Lee Kelleher
    104

    @Scott - just to clarify, when you installed the package, did you go into the Data Type's properties screen (e.g. the Prevalue Editor)?

    I'm getting a feeling that something has changed in Umbraco 6.0.3 where if a package registers a Data Type, it doesn't store the prevalues correctly.

    Going into the Prevalue Editor for the Google Map Data Type and just hitting Save ... hopefully this should fix the issue.

    Thanks, Lee.

  • scott chidester 3 posts 23 karma points
    Apr 15, 2013 @ 14:35
    scott chidester
    0

    Lee,

    I went in to the prevalue editor and saved the default values and that fixed the error.  

    Thanks!

    Scott

  • rich hamilton 117 posts 136 karma points
    Jul 18, 2013 @ 15:46
    rich hamilton
    0

    I had the same problem in v. 6.0x

    Just went to the DataType, clicked save and it now works.

  • Karl Tynan 16 posts 153 karma points MVP 5x c-trib
    Jul 18, 2013 @ 16:06
    Karl Tynan
    0

    Hi,

    I am using Umbraco v6.1.2 and get the same error - saving the Google Map DataType fixed it for me also.

  • David Sheiles 69 posts 339 karma points
    Aug 22, 2013 @ 07:31
    David Sheiles
    0

    Thanks Guys, also fixed it for me on v6.1.2

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Sep 13, 2013 @ 00:28
    Lee Kelleher
    0

    Following up on this, just released v2.1.0, which fixes that "null" error with the prevalues - turns out it was a bug with Umbraco core (U4-2833)

    http://our.umbraco.org/projects/backoffice-extensions/google-maps-datatype

  • Marco Teodoro 74 posts 149 karma points c-trib
    Nov 26, 2013 @ 20:03
    Marco Teodoro
    0

    hello, i still have this issue. 

    It works on localhost but after deploy it to server i got that error. I went to the datatype and press save but after that i loose the capacity to see the google maps and assign a value to my property on the content area. Now i just see the pre values and the related check box for each prevalue.

     

    I will reinstall the package to see if is resolved. by the way i was using Google_Maps_for_Umbraco_2.0.6 and umbraco v6.1.6.

     same issue after reinstall the package. if i press save datatype google maps does't appear on the umbraco content...

Please Sign in or register to post replies

Write your reply to:

Draft