Copied to clipboard

Flag this post as spam?

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


  • Jacob Distel 8 posts 28 karma points
    May 11, 2011 @ 22:04
    Jacob Distel
    0

    New Data Type Issue

    When I try to create a new Data Type called Timezone I get the following error and then all of my Data Types no longer display until I go in and delete the node record from the umbracoNode table. We have Umbraco 4.5.2 and uComponents 2.0

     

    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    Value cannot be null.
    Parameter name: String
    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.
    Parameter name: String

    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.
    Parameter name: String]
       System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +10162489
       System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +207
       uComponents.Core.DataTypes.Similarity.SimilarityDataEditor..ctor() +110
       uComponents.Core.DataTypes.Similarity.SimilarityDataType..ctor() +41

    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
       System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
       System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +146
       System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +298
       System.Activator.CreateInstance(Type type, Boolean nonPublic) +79
       umbraco.cms.businesslogic.datatype.controls.Factory.GetNewObject(Guid DataEditorId) +135
       umbraco.cms.businesslogic.datatype.controls.Factory.GetAll() +429
       umbraco.cms.businesslogic.datatype.DataTypeDefinition.MakeNew(User u, String Text, Guid UniqueId) +405
       umbraco.cms.businesslogic.datatype.DataTypeDefinition.MakeNew(User u, String Text) +128
       umbraco.DataTypeTasks.Save() +98
       umbraco.presentation.create.dialogHandler_temp.Create(String NodeType, Int32 TypeId, Int32 NodeId, String Text) +1074
       umbraco.presentation.create.dialogHandler_temp.Create(String NodeType, Int32 NodeId, String Text) +71
       umbraco.cms.presentation.create.controls.simple.sbmt_Click(Object sender, EventArgs e) +394
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981

     


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.5420; ASP.NET Version:2.0.50727.5420

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    May 12, 2011 @ 18:47
    Lee Kelleher
    0

    Hi Jacob,

    It's a known bug with uComponents v2.1 ... we've fixed it, but hadn't released a patch for it yet.  We are expecting v2.2 to be out very soon.

    In the meantime, if you are comfortable with Visual Studio? then please feel free to grab the latest source-code from CodePlex.

    Cheers, Lee.

Please Sign in or register to post replies

Write your reply to:

Draft