Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2012-12-12 12:22:49,332 [10] NHibernate.Util.ADOExceptionReporter - Id66_0_
- 2012-12-12 12:22:49,332 [10] Orchard.Tasks.BackgroundService - Error while processing background task
- NHibernate.ADOException: could not execute query
- [ SELECT this_.Id as Id66_0_, this_.TaskType as TaskType66_0_, this_.ScheduledUtc as Schedule3_66_0_, this_.ContentItemVersionRecord_id as ContentI4_66_0_ FROM Scheduling_ScheduledTaskRecord this_ WHERE this_.ScheduledUtc <= @p0 ]
- Positional parameters: #0>12.12.2012 6:22:49
- [SQL: SELECT this_.Id as Id66_0_, this_.TaskType as TaskType66_0_, this_.ScheduledUtc as Schedule3_66_0_, this_.ContentItemVersionRecord_id as ContentI4_66_0_ FROM Scheduling_ScheduledTaskRecord this_ WHERE this_.ScheduledUtc <= @p0] ---> System.IndexOutOfRangeException: Id66_0_
- at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
- at NHibernate.Type.NullableType.NullSafeGet(IDataReader rs, String name)
- at NHibernate.Loader.Loader.GetKeyFromResultSet(Int32 i, IEntityPersister persister, Object id, IDataReader rs, ISessionImplementor session)
- at NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader resultSet, ISessionImplementor session, QueryParameters queryParameters, LockMode[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects, EntityKey[] keys, Boolean returnProxies)
- at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies)
- at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies)
- at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters)
- --- End of inner exception stack trace ---
- at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters)
- at NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters)
- at NHibernate.Loader.Criteria.CriteriaLoader.List(ISessionImplementor session)
- at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results)
- at NHibernate.Impl.CriteriaImpl.List(IList results)
- at NHibernate.Impl.CriteriaImpl.List()
- at NHibernate.Linq.CriteriaResultReader`1.<GetEnumerator>d__0.MoveNext()
- at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
- at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
- at Orchard.Utility.Extensions.ReadOnlyCollectionExtensions.ToReadOnlyCollection[T](IEnumerable`1 enumerable) in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\Utility\Extensions\ReadOnlyCollectionExtensions.cs:line 8
- at Orchard.Data.Repository`1.Orchard.Data.IRepository<T>.Fetch(Expression`1 predicate) in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\Data\Repository.cs:line 72
- at Orchard.Core.Scheduling.Services.ScheduledTaskExecutor.Sweep() in e:\GitRepos\CustomsPortal\Orchard\src\Orchard.Web\Core\Scheduling\Services\ScheduledTaskExecutor.cs:line 36
- at Orchard.Tasks.BackgroundService.Sweep() in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\Tasks\BackgroundService.cs:line 31
- 2012-12-12 12:22:49,347 [10] NHibernate.Util.ADOExceptionReporter - Id119_0_
- 2012-12-12 12:22:49,348 [10] Orchard.Tasks.BackgroundService - Error while processing background task
- NHibernate.Exceptions.GenericADOException: could not initialize a collection: [Orchard.ContentManagement.Records.ContentItemRecord.Versions#2][SQL: SELECT versions0_.ContentItemRecord_Id as ContentI6_1_, versions0_.Id as Id1_, versions0_.Id as Id119_0_, versions0_.Number as Number119_0_, versions0_.Published as Published119_0_, versions0_.Latest as Latest119_0_, versions0_.Data as Data119_0_, versions0_.ContentItemRecord_id as ContentI6_119_0_ FROM Orchard_Framework_ContentItemVersionRecord versions0_ WHERE versions0_.ContentItemRecord_Id=?] ---> System.IndexOutOfRangeException: Id119_0_
- at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
- at NHibernate.Type.NullableType.NullSafeGet(IDataReader rs, String name)
- at NHibernate.Loader.Loader.GetKeyFromResultSet(Int32 i, IEntityPersister persister, Object id, IDataReader rs, ISessionImplementor session)
- at NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader resultSet, ISessionImplementor session, QueryParameters queryParameters, LockMode[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects, EntityKey[] keys, Boolean returnProxies)
- at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies)
- at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies)
- at NHibernate.Loader.Loader.LoadCollection(ISessionImplementor session, Object id, IType type)
- --- End of inner exception stack trace ---
- at NHibernate.Loader.Loader.LoadCollection(ISessionImplementor session, Object id, IType type)
- at NHibernate.Event.Default.DefaultInitializeCollectionEventListener.OnInitializeCollection(InitializeCollectionEvent event)
- at NHibernate.Impl.SessionImpl.InitializeCollection(IPersistentCollection collection, Boolean writing)
- at NHibernate.Collection.Generic.PersistentGenericBag`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
- at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
- at Orchard.ContentManagement.DefaultContentManager.GetVersionRecord(VersionOptions options, ContentItemRecord itemRecord) in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\ContentManagement\DefaultContentManager.cs:line 222
- at Orchard.ContentManagement.DefaultContentManager.Get(Int32 id, VersionOptions options, QueryHints hints) in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\ContentManagement\DefaultContentManager.cs:line 183
- at Orchard.ContentManagement.ContentGetExtensions.Get[T](IContentManager manager, Int32 id, VersionOptions options, QueryHints hints) in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\ContentManagement\ContentExtensions.cs:line 160
- at Orchard.Core.Settings.Services.SiteService.GetSiteSettings() in e:\GitRepos\CustomsPortal\Orchard\src\Orchard.Web\Core\Settings\Services\SiteService.cs:line 46
- at Orchard.Settings.CurrentSiteWorkContext.Get[T](String name) in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\Settings\CurrentSiteWorkContext.cs:line 13
- at Orchard.Environment.WorkContextImplementation.<>c__DisplayClass7`1.<FindResolverForState>b__2(IWorkContextStateProvider wcsp) in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\Environment\WorkContextImplementation.cs:line 32
- at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
- at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
- at Orchard.Environment.WorkContextImplementation.FindResolverForState[T](String name) in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\Environment\WorkContextImplementation.cs:line 32
- at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
- at Orchard.Environment.WorkContextImplementation.GetState[T](String name) in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\Environment\WorkContextImplementation.cs:line 27
- at Orchard.WorkContext.get_CurrentSite() in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\WorkContext.cs:line 52
- at Orchard.Warmup.Services.WarmupTask.Sweep()
- at Orchard.Tasks.BackgroundService.Sweep() in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\Tasks\BackgroundService.cs:line 31
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement