This happened overnight, no apparent cause as no users were doing anything at the time. Any ideas on how to prevent this error? It caused octopus to crash and did not recover. I had to manually restart the service.
Application: Octopus.Server.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Reflection.TargetInvocationException
Stack:
at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
at System.Delegate.DynamicInvokeImpl(System.Object[])
at Raven.Client.Linq.LinqPathProvider.GetMemberValue(System.Linq.Expressions.MemberExpression)
at Raven.Client.Linq.LinqPathProvider.GetValueFromExpressionWithoutConversion(System.Linq.Expressions.Expression, System.Object ByRef)
at Raven.Client.Linq.LinqPathProvider.GetValueFromExpression(System.Linq.Expressions.Expression, System.Type)
at Raven.Client.Linq.RavenQueryProviderProcessor1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].VisitGreaterThan(System.Linq.Expressions.BinaryExpression) at Raven.Client.Linq.RavenQueryProviderProcessor
1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].VisitExpression(System.Linq.Expressions.Expression)
at Raven.Client.Linq.RavenQueryProviderProcessor1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].VisitExpression(System.Linq.Expressions.Expression) at Raven.Client.Linq.RavenQueryProviderProcessor
1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].VisitQueryableMethodCall(System.Linq.Expressions.MethodCallExpression)
at Raven.Client.Linq.RavenQueryProviderProcessor1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].VisitMethodCall(System.Linq.Expressions.MethodCallExpression, Boolean) at Raven.Client.Linq.RavenQueryProviderProcessor
1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].VisitExpression(System.Linq.Expressions.Expression)
at Raven.Client.Linq.RavenQueryProviderProcessor1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetLuceneQueryFor(System.Linq.Expressions.Expression) at Raven.Client.Linq.RavenQueryProviderProcessor
1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Execute(System.Linq.Expressions.Expression)
at Raven.Client.Linq.RavenQueryProvider1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].System.Linq.IQueryProvider.Execute[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Linq.Expressions.Expression) at System.Linq.Queryable.Count[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Linq.IQueryable
1<System.__Canon>, System.Linq.Expressions.Expression1<System.Func
2<System.__Canon,Boolean>>)
at Octopus.Server.Schedules.CheckForOctopusUpgrades.BuildRequestUri(Octopus.Platform.Documents.Model.Installation.UpgradeAvailability)
at Octopus.Server.Schedules.CheckForOctopusUpgrades.CheckForUpdates()
at Octopus.Server.Schedules.CheckForOctopusUpgrades.Trigger()
at Octopus.Server.Schedules.Scheduler.RunTask(Octopus.Server.Schedules.IRunOnASchedule)
at Octopus.Server.Schedules.Scheduler.RunScheduleThread(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
Faulting application name: Octopus.Server.exe, version: 2.6.3.886, time stamp: 0x54ea8e18
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17055, time stamp: 0x532954fb
Exception code: 0xe0434352
Fault offset: 0x0000000000005bf8
Faulting process id: 0x460
Faulting application start time: 0x01d051430f849e09
Faulting application path: C:\Program Files\Octopus Deploy\Octopus\Octopus.Server.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: ae416719-dd2c-11e4-80cd-00505680070e
Faulting package full name:
Faulting package-relative application ID: