{"action":"created","issue":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6784","repository_url":"https://api.github.com/repos/OrchardCMS/Orchard","labels_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6784/labels{/name}","comments_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6784/comments","events_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6784/events","html_url":"https://github.com/OrchardCMS/Orchard/issues/6784","id":148785094,"number":6784,"title":"got 2 log errors every minute in latest 1.10.x","user":{"login":"infofromca","id":297675,"avatar_url":"https://avatars.githubusercontent.com/u/297675?v=3","gravatar_id":"","url":"https://api.github.com/users/infofromca","html_url":"https://github.com/infofromca","followers_url":"https://api.github.com/users/infofromca/followers","following_url":"https://api.github.com/users/infofromca/following{/other_user}","gists_url":"https://api.github.com/users/infofromca/gists{/gist_id}","starred_url":"https://api.github.com/users/infofromca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infofromca/subscriptions","organizations_url":"https://api.github.com/users/infofromca/orgs","repos_url":"https://api.github.com/users/infofromca/repos","events_url":"https://api.github.com/users/infofromca/events{/privacy}","received_events_url":"https://api.github.com/users/infofromca/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/milestones/34","html_url":"https://github.com/OrchardCMS/Orchard/milestones/Orchard%201.10.1","labels_url":"https://api.github.com/repos/OrchardCMS/Orchard/milestones/34/labels","id":1508038,"number":34,"title":"Orchard 1.10.1","description":"Issues that need to be fixed in order to ship Orchard 1.10.1\r\n","creator":{"login":"sebastienros","id":1165805,"avatar_url":"https://avatars.githubusercontent.com/u/1165805?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastienros","html_url":"https://github.com/sebastienros","followers_url":"https://api.github.com/users/sebastienros/followers","following_url":"https://api.github.com/users/sebastienros/following{/other_user}","gists_url":"https://api.github.com/users/sebastienros/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastienros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastienros/subscriptions","organizations_url":"https://api.github.com/users/sebastienros/orgs","repos_url":"https://api.github.com/users/sebastienros/repos","events_url":"https://api.github.com/users/sebastienros/events{/privacy}","received_events_url":"https://api.github.com/users/sebastienros/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":57,"state":"open","created_at":"2016-01-15T00:17:13Z","updated_at":"2016-04-18T16:14:14Z","due_on":"2016-04-14T07:00:00Z","closed_at":null},"comments":3,"created_at":"2016-04-15T22:36:17Z","updated_at":"2016-04-18T16:30:14Z","closed_at":null,"body":"2016-04-15 18:45:09,214 [84] NHibernate.AssertionFailure - (null) - An AssertionFailure occurred - this may indicate a bug in NHibernate or in your custom types. [(null)]\r\nNHibernate.AssertionFailure: null id in Orchard.Tasks.Locking.Records.DistributedLockRecord entry (don't flush the Session after an exception occurs)\r\n2016-04-15 18:45:09,242 [84] Orchard.Tasks.Locking.Services.DistributedLockService - (null) - An error occurred while trying to acquire lock 'DistributedLock:RealEstateWorld:Orchard.JobsQueue.Services.JobsQueueProcessor'. [(null)]\r\nNHibernate.AssertionFailure: null id in Orchard.Tasks.Locking.Records.DistributedLockRecord entry (don't flush the Session after an exception occurs)\r\n   at NHibernate.Event.Default.DefaultFlushEntityEventListener.CheckId(Object obj, IEntityPersister persister, Object id, EntityMode entityMode)\r\n   at NHibernate.Event.Default.DefaultFlushEntityEventListener.GetValues(Object entity, EntityEntry entry, EntityMode entityMode, Boolean mightBeDirty, ISessionImplementor session)\r\n   at NHibernate.Event.Default.DefaultFlushEntityEventListener.OnFlushEntity(FlushEntityEvent event)\r\n   at NHibernate.Event.Default.AbstractFlushingEventListener.FlushEntities(FlushEvent event)\r\n   at NHibernate.Event.Default.AbstractFlushingEventListener.FlushEverythingToExecutions(FlushEvent event)\r\n   at NHibernate.Event.Default.DefaultFlushEventListener.OnFlush(FlushEvent event)\r\n   at NHibernate.Impl.SessionImpl.Flush()\r\n   at NHibernate.Transaction.AdoTransaction.Commit()\r\n   at Orchard.Data.TransactionManager.DisposeSession() in C:\\Users\\andy\\Documents\\orchard110house-zg\\Orchard1203\\Orchard\\src\\Orchard\\Data\\SessionLocator.cs:line 96\r\n   at Orchard.Data.TransactionManager.Dispose() in C:\\Users\\andy\\Documents\\orchard110house-zg\\Orchard1203\\Orchard\\src\\Orchard\\Data\\SessionLocator.cs:line 86\r\n   at Autofac.Core.Disposer.Dispose(Boolean disposing)\r\n   at Autofac.Util.Disposable.Dispose()\r\n   at Autofac.Core.Lifetime.LifetimeScope.Dispose(Boolean disposing)\r\n   at Autofac.Util.Disposable.Dispose()\r\n   at Orchard.Tasks.Locking.Services.DistributedLockService.ExecuteOnSeparateTransaction(Action`1 action) in C:\\Users\\andy\\Documents\\orchard110house-zg\\Orchard1203\\Orchard\\src\\Orchard\\Tasks\\Locking\\Services\\DistributedLockService.cs:line 215\r\n   at Orchard.Tasks.Locking.Services.DistributedLockService.EnsureDistributedLockRecord(String internalName, Nullable`1 maxValidFor) in C:\\Users\\andy\\Documents\\orchard110house-zg\\Orchard1203\\Orchard\\src\\Orchard\\Tasks\\Locking\\Services\\DistributedLockService.cs:line 142\r\n   at Orchard.Tasks.Locking.Services.DistributedLockService.<>c__DisplayClass9_1.<AcquireLockInternal>b__0() in C:\\Users\\andy\\Documents\\orchard110house-zg\\Orchard1203\\Orchard\\src\\Orchard\\Tasks\\Locking\\Services\\DistributedLockService.cs:line 103\r\n   at Orchard.Tasks.Locking.Services.DistributedLockService.RepeatUntilTimeout(Nullable`1 timeout, TimeSpan repeatInterval, Func`1 action) in C:\\Users\\andy\\Documents\\orchard110house-zg\\Orchard1203\\Orchard\\src\\Orchard\\Tasks\\Locking\\Services\\DistributedLockService.cs:line 198\r\n   at Orchard.Tasks.Locking.Services.DistributedLockService.AcquireLockInternal(String name, Nullable`1 maxValidFor, Nullable`1 timeout, Boolean throwOnTimeout) in C:\\Users\\andy\\Documents\\orchard110house-zg\\Orchard1203\\Orchard\\src\\Orchard\\Tasks\\Locking\\Services\\DistributedLockService.cs:line 102\r\n2016-04-15 18:45:09,263 [84] Orchard.Tasks.Locking.Services.DistributedLockService - (null) - Error while trying to acquire lock 'Orchard.JobsQueue.Services.JobsQueueProcessor'. [(null)]\r\nNHibernate.AssertionFailure: null id in Orchard.Tasks.Locking.Records.DistributedLockRecord entry (don't flush the Session after an exception occurs)\r\n   at NHibernate.Event.Default.DefaultFlushEntityEventListener.CheckId(Object obj, IEntityPersister persister, Object id, EntityMode entityMode)\r\n   at NHibernate.Event.Default.DefaultFlushEntityEventListener.GetValues(Object entity, EntityEntry entry, EntityMode entityMode, Boolean mightBeDirty, ISessionImplementor session)\r\n   at NHibernate.Event.Default.DefaultFlushEntityEventListener.OnFlushEntity(FlushEntityEvent event)\r\n   at NHibernate.Event.Default.AbstractFlushingEventListener.FlushEntities(FlushEvent event)\r\n   at NHibernate.Event.Default.AbstractFlushingEventListener.FlushEverythingToExecutions(FlushEvent event)\r\n   at NHibernate.Event.Default.DefaultFlushEventListener.OnFlush(FlushEvent event)\r\n   at NHibernate.Impl.SessionImpl.Flush()\r\n   at NHibernate.Transaction.AdoTransaction.Commit()\r\n   at Orchard.Data.TransactionManager.DisposeSession() in C:\\Users\\andy\\Documents\\orchard110house-zg\\Orchard1203\\Orchard\\src\\Orchard\\Data\\SessionLocator.cs:line 96\r\n   at Orchard.Data.TransactionManager.Dispose() in C:\\Users\\andy\\Documents\\orchard110house-zg\\Orchard1203\\Orchard\\src\\Orchard\\Data\\SessionLocator.cs:line 86\r\n   at Autofac.Core.Disposer.Dispose(Boolean disposing)\r\n   at Autofac.Util.Disposable.Dispose()\r\n   at Autofac.Core.Lifetime.LifetimeScope.Dispose(Boolean disposing)\r\n   at Autofac.Util.Disposable.Dispose()\r\n   at Orchard.Tasks.Locking.Services.DistributedLockService.ExecuteOnSeparateTransaction(Action`1 action) in C:\\Users\\andy\\Documents\\orchard110house-zg\\Orchard1203\\Orchard\\src\\Orchard\\Tasks\\Locking\\Services\\DistributedLockService.cs:line 215\r\n   at Orchard.Tasks.Locking.Services.DistributedLockService.EnsureDistributedLockRecord(String internalName, Nullable`1 maxValidFor) in C:\\Users\\andy\\Documents\\orchard110house-zg\\Orchard1203\\Orchard\\src\\Orchard\\Tasks\\Locking\\Services\\DistributedLockService.cs:line 142\r\n   at Orchard.Tasks.Locking.Services.DistributedLockService.<>c__DisplayClass9_1.<AcquireLockInternal>b__0() in C:\\Users\\andy\\Documents\\orchard110house-zg\\Orchard1203\\Orchard\\src\\Orchard\\Tasks\\Locking\\Services\\DistributedLockService.cs:line 103\r\n   at Orchard.Tasks.Locking.Services.DistributedLockService.RepeatUntilTimeout(Nullable`1 timeout, TimeSpan repeatInterval, Func`1 action) in C:\\Users\\andy\\Documents\\orchard110house-zg\\Orchard1203\\Orchard\\src\\Orchard\\Tasks\\Locking\\Services\\DistributedLockService.cs:line 198\r\n   at Orchard.Tasks.Locking.Services.DistributedLockService.AcquireLockInternal(String name, Nullable`1 maxValidFor, Nullable`1 timeout, Boolean throwOnTimeout) in C:\\Users\\andy\\Documents\\orchard110house-zg\\Orchard1203\\Orchard\\src\\Orchard\\Tasks\\Locking\\Services\\DistributedLockService.cs:line 134\r\n   at Orchard.Tasks.Locking.Services.DistributedLockService.TryAcquireLock(String name, Nullable`1 maxValidFor, Nullable`1 timeout, IDistributedLock& dLock) in C:\\Users\\andy\\Documents\\orchard110house-zg\\Orchard1203\\Orchard\\src\\Orchard\\Tasks\\Locking\\Services\\DistributedLockService.cs:line 42\r\n"},"comment":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/comments/211459278","html_url":"https://github.com/OrchardCMS/Orchard/issues/6784#issuecomment-211459278","issue_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6784","id":211459278,"user":{"login":"sebastienros","id":1165805,"avatar_url":"https://avatars.githubusercontent.com/u/1165805?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastienros","html_url":"https://github.com/sebastienros","followers_url":"https://api.github.com/users/sebastienros/followers","following_url":"https://api.github.com/users/sebastienros/following{/other_user}","gists_url":"https://api.github.com/users/sebastienros/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastienros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastienros/subscriptions","organizations_url":"https://api.github.com/users/sebastienros/orgs","repos_url":"https://api.github.com/users/sebastienros/repos","events_url":"https://api.github.com/users/sebastienros/events{/privacy}","received_events_url":"https://api.github.com/users/sebastienros/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T16:30:14Z","updated_at":"2016-04-18T16:30:14Z","body":"Let's revert the fix for now if it's creating another issue, and reopen the initial bug"}}