Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Kim Søjborg Pedersen 71 posts 275 karma points
    Oct 11, 2013 @ 10:59
    Kim SĂžjborg Pedersen
    0

    uCommerce (RavenDB) throws exception in umbraco when creating new language

    Delete a language in umbraco and try to create it again and you get this exception.

    ucommerce: 4.0.2.13277

     

    Server Error in '/' Application.

    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.]
       Raven.Storage.Esent.StorageActions.DocumentStorageActions.Dispose() +531
       Raven.Storage.Esent.StorageActions.DocumentStorageActions..ctor(JET_INSTANCE instance, String database, TableColumnsCache tableColumnsCache, OrderedPartCollection`1 documentCodecs, IUuidGenerator uuidGenerator, IDocumentCacher cacher, EsentTransactionContext transactionContext, TransactionalStorage transactionalStorage) +815
       Raven.Storage.Esent.TransactionalStorage.ExecuteBatch(Action`1 action, EsentTransactionContext transactionContext) +173
       Raven.Storage.Esent.TransactionalStorage.Batch(Action`1 action) +322
       Raven.Database.DocumentDatabase.DeleteIndex(String name) +398
       UCommerce.Pipelines.Language.CreateIndexTask.Execute(Language subject) +180
       UCommerce.Pipelines.Pipeline`1.Execute(T subject) +274
    
    [PipelineException: Exception occoured while processing pipeline 'UCommerce.Pipelines.Language.LanguagePipeline'. See inner exception for details.]
       UCommerce.Pipelines.Pipeline`1.Execute(T subject) +513
       umbraco.cms.businesslogic.language.NewEventHandler.Invoke(Language sender, NewEventArgs e) +0
       umbraco.cms.businesslogic.language.Language.MakeNew(String cultureCode) +534
       umbraco.languageTasks.Save() +13
       umbraco.presentation.create.dialogHandler_temp.Create(String NodeType, Int32 TypeId, Int32 NodeId, String Text) +753
       umbraco.cms.presentation.create.controls.language.sbmt_Click(Object sender, EventArgs e) +70
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +155
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804
    



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

  • Morten Skjoldager 440 posts 1499 karma points
    Oct 11, 2013 @ 13:55
    Morten Skjoldager
    100

    Hi Kim,

    Thanks for pointing this out to us. We did find the bug and we've corrected it. IT will be fixed in the next relase. Restarting the application will work around the problem :) Deleting a language in this version causes Raven to have an invalid state, and that's the reason you see that the next time you try to do somthing that ends up doing some work inside raven throwing an exception.. 

Please Sign in or register to post replies

Write your reply to:

Draft