Created
April 1, 2015 23:41
-
-
Save bleroy/19d253d68afc43910756 to your computer and use it in GitHub Desktop.
CodePlex Issue #16475 Plain Text Attachments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Server Error in '/OrchardLocal' Application. | |
Specified cast is not valid. | |
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.InvalidCastException: Specified cast is not valid. | |
Source Error: | |
Line 17: var part = contentItem.Get<T>(); | |
Line 18: if (part == null) | |
Line 19: throw new InvalidCastException(); | |
Line 20: | |
Line 21: return part; | |
Source File: C:\Workspace\orchard\src\Orchard\ContentManagement\ContentExtensions.cs Line: 19 | |
Stack Trace: | |
[InvalidCastException: Specified cast is not valid.] | |
Orchard.ContentManagement.ContentCreateExtensions.New(IContentManager manager, String contentType) in C:\Workspace\orchard\src\Orchard\ContentManagement\ContentExtensions.cs:19 | |
Orchard.Blogs.Controllers.BlogAdminController.Create() +259 | |
lambda_method(Closure , ControllerBase , Object[] ) +62 | |
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +17 | |
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +199 | |
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27 | |
System.Web.Mvc.<>c__DisplayClassd.<InvokeActionMethodWithFilters>b__a() +56 | |
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +267 | |
System.Web.Mvc.<>c__DisplayClassf.<InvokeActionMethodWithFilters>b__c() +20 | |
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +267 | |
System.Web.Mvc.<>c__DisplayClassf.<InvokeActionMethodWithFilters>b__c() +20 | |
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +267 | |
System.Web.Mvc.<>c__DisplayClassf.<InvokeActionMethodWithFilters>b__c() +20 | |
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +267 | |
System.Web.Mvc.<>c__DisplayClassf.<InvokeActionMethodWithFilters>b__c() +20 | |
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +190 | |
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +345 | |
System.Web.Mvc.Controller.ExecuteCore() +115 | |
InvocationExecuteCore_7.InvokeMethodOnTarget() +9 | |
Castle.DynamicProxy.AbstractInvocation.Proceed() +50 | |
Orchard.Settings.SettingsModuleInterceptor.Intercept(IInvocation invocation) in C:\Workspace\orchard\src\Orchard\Settings\SettingsModule.cs:45 | |
Castle.DynamicProxy.AbstractInvocation.Proceed() +81 | |
BlogAdminControllerProxyc77487bf9ad7434eaaacef15f63bc9f7.ExecuteCore() +85 | |
System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +42 | |
InvocationExecute_26.InvokeMethodOnTarget() +55 | |
Castle.DynamicProxy.AbstractInvocation.Proceed() +50 | |
Orchard.Settings.SettingsModuleInterceptor.Intercept(IInvocation invocation) in C:\Workspace\orchard\src\Orchard\Settings\SettingsModule.cs:45 | |
Castle.DynamicProxy.AbstractInvocation.Proceed() +81 | |
BlogAdminControllerProxyc77487bf9ad7434eaaacef15f63bc9f7.Execute(RequestContext requestContext) +101 | |
System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +10 | |
System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__4() +34 | |
System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +21 | |
System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +12 | |
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55 | |
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +43 | |
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9 | |
Orchard.Mvc.Routes.HttpAsyncHandler.EndProcessRequest(IAsyncResult result) in C:\Workspace\orchard\src\Orchard\Mvc\Routes\ShellRoute.cs:177 | |
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8836913 | |
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +184 | |
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment