Advertisement
mpersi

Untitled

Dec 12th, 2012
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.43 KB | None | 0 0
  1. 2012-12-12 12:22:49,332 [10] NHibernate.Util.ADOExceptionReporter - Id66_0_
  2. 2012-12-12 12:22:49,332 [10] Orchard.Tasks.BackgroundService - Error while processing background task
  3. NHibernate.ADOException: could not execute query
  4. [ 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 ]
  5. Positional parameters: #0>12.12.2012 6:22:49
  6. [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_
  7. at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
  8. at NHibernate.Type.NullableType.NullSafeGet(IDataReader rs, String name)
  9. at NHibernate.Loader.Loader.GetKeyFromResultSet(Int32 i, IEntityPersister persister, Object id, IDataReader rs, ISessionImplementor session)
  10. at NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader resultSet, ISessionImplementor session, QueryParameters queryParameters, LockMode[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects, EntityKey[] keys, Boolean returnProxies)
  11. at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies)
  12. at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies)
  13. at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters)
  14. --- End of inner exception stack trace ---
  15. at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters)
  16. at NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters)
  17. at NHibernate.Loader.Criteria.CriteriaLoader.List(ISessionImplementor session)
  18. at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results)
  19. at NHibernate.Impl.CriteriaImpl.List(IList results)
  20. at NHibernate.Impl.CriteriaImpl.List()
  21. at NHibernate.Linq.CriteriaResultReader`1.<GetEnumerator>d__0.MoveNext()
  22. at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
  23. at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
  24. at Orchard.Utility.Extensions.ReadOnlyCollectionExtensions.ToReadOnlyCollection[T](IEnumerable`1 enumerable) in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\Utility\Extensions\ReadOnlyCollectionExtensions.cs:line 8
  25. 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
  26. at Orchard.Core.Scheduling.Services.ScheduledTaskExecutor.Sweep() in e:\GitRepos\CustomsPortal\Orchard\src\Orchard.Web\Core\Scheduling\Services\ScheduledTaskExecutor.cs:line 36
  27. at Orchard.Tasks.BackgroundService.Sweep() in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\Tasks\BackgroundService.cs:line 31
  28. 2012-12-12 12:22:49,347 [10] NHibernate.Util.ADOExceptionReporter - Id119_0_
  29. 2012-12-12 12:22:49,348 [10] Orchard.Tasks.BackgroundService - Error while processing background task
  30. 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_
  31. at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
  32. at NHibernate.Type.NullableType.NullSafeGet(IDataReader rs, String name)
  33. at NHibernate.Loader.Loader.GetKeyFromResultSet(Int32 i, IEntityPersister persister, Object id, IDataReader rs, ISessionImplementor session)
  34. at NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader resultSet, ISessionImplementor session, QueryParameters queryParameters, LockMode[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects, EntityKey[] keys, Boolean returnProxies)
  35. at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies)
  36. at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies)
  37. at NHibernate.Loader.Loader.LoadCollection(ISessionImplementor session, Object id, IType type)
  38. --- End of inner exception stack trace ---
  39. at NHibernate.Loader.Loader.LoadCollection(ISessionImplementor session, Object id, IType type)
  40. at NHibernate.Event.Default.DefaultInitializeCollectionEventListener.OnInitializeCollection(InitializeCollectionEvent event)
  41. at NHibernate.Impl.SessionImpl.InitializeCollection(IPersistentCollection collection, Boolean writing)
  42. at NHibernate.Collection.Generic.PersistentGenericBag`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
  43. at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
  44. at Orchard.ContentManagement.DefaultContentManager.GetVersionRecord(VersionOptions options, ContentItemRecord itemRecord) in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\ContentManagement\DefaultContentManager.cs:line 222
  45. at Orchard.ContentManagement.DefaultContentManager.Get(Int32 id, VersionOptions options, QueryHints hints) in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\ContentManagement\DefaultContentManager.cs:line 183
  46. 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
  47. at Orchard.Core.Settings.Services.SiteService.GetSiteSettings() in e:\GitRepos\CustomsPortal\Orchard\src\Orchard.Web\Core\Settings\Services\SiteService.cs:line 46
  48. at Orchard.Settings.CurrentSiteWorkContext.Get[T](String name) in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\Settings\CurrentSiteWorkContext.cs:line 13
  49. at Orchard.Environment.WorkContextImplementation.<>c__DisplayClass7`1.<FindResolverForState>b__2(IWorkContextStateProvider wcsp) in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\Environment\WorkContextImplementation.cs:line 32
  50. at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
  51. at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
  52. at Orchard.Environment.WorkContextImplementation.FindResolverForState[T](String name) in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\Environment\WorkContextImplementation.cs:line 32
  53. at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
  54. at Orchard.Environment.WorkContextImplementation.GetState[T](String name) in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\Environment\WorkContextImplementation.cs:line 27
  55. at Orchard.WorkContext.get_CurrentSite() in e:\GitRepos\CustomsPortal\Orchard\src\Orchard\WorkContext.cs:line 52
  56. at Orchard.Warmup.Services.WarmupTask.Sweep()
  57. 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