Guest User

Untitled

a guest
Dec 5th, 2014
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.23 KB | None | 0 0
  1. Server Error in '/' Application.
  2. Object reference not set to an instance of an object.
  3. 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.
  4.  
  5. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
  6.  
  7. Source Error:
  8.  
  9.  
  10. Line 229: var originalID = orgClan.FactionID;
  11. Line 230: orgClan.FactionID = clan.FactionID; // <- not possible to change faction // now it is!
  12. Line 231: if (orgClan.Faction.IsDeleted)
  13. Line 232: {
  14. Line 233: orgClan.FactionID = originalID;
  15.  
  16.  
  17. Source File: c:\TeamCity\buildAgent\work\b8c78a57f4c14bae\Zero-K.info\Controllers\ClansController.cs Line: 231
  18.  
  19. Stack Trace:
  20.  
  21.  
  22. [NullReferenceException: Object reference not set to an instance of an object.]
  23. ZeroKWeb.Controllers.ClansController.SubmitCreate(Clan clan, HttpPostedFileBase image, HttpPostedFileBase bgimage, Boolean noFaction) in c:\TeamCity\buildAgent\work\b8c78a57f4c14bae\Zero-K.info\Controllers\ClansController.cs:231
  24. lambda_method(Closure , ControllerBase , Object[] ) +239
  25. System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
  26. System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +157
  27. System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
  28. System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +22
  29. System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +29
  30. System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
  31. System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +32
  32. System.Web.Mvc.Async.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() +50
  33. System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +225
  34. System.Web.Mvc.Async.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult) +10
  35. System.Web.Mvc.Async.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) +10
  36. System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
  37. System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +34
  38. System.Web.Mvc.Async.<>c__DisplayClass2b.<BeginInvokeAction>b__1c() +26
  39. System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +100
  40. System.Web.Mvc.Async.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) +10
  41. System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
  42. System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +27
  43. System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +13
  44. System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +36
  45. System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +54
  46. System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +41
  47. System.Web.Mvc.Controller.<BeginExecute>b__15(IAsyncResult asyncResult, Controller controller) +12
  48. System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +28
  49. System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +54
  50. System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +31
  51. System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
  52. System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +21
  53. System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +36
  54. System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +54
  55. System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +31
  56. System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
Advertisement
Add Comment
Please, Sign In to add comment