Loading...
  OR  Zero-K Name:    Password:   

Post edit history

Map Battle_Holms_v4

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
5/16/2022 4:05:17 AMAUrankAdminAquanim before revert after revert
Before After
1 I grabbed a copy of this map from 1 I grabbed a copy of this map from
2 \n 2 \n
3 https://springfiles.springrts.com/?type=2&filter=879fb39495910b170cec60ac97796090 3 https://springfiles.springrts.com/?type=2&filter=879fb39495910b170cec60ac97796090
4 \n 4 \n
5 and tried to upload to the ZK server, and got the following error: 5 and tried to upload to the ZK server, and got the following error:
6 \n 6 \n
7 [spoiler]Server Error in '/' Application. 7 [spoiler]Server Error in '/' Application.
8 Object reference not set to an instance of an object. 8 Object reference not set to an instance of an object.
9 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. 9 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.
10 \n 10 \n
11 Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. 11 Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
12 \n 12 \n
13 Source Error: 13 Source Error:
14 \n 14 \n
15 \n 15 \n
16 Line 453: { 16 Line 453: {
17 Line 454: var resource = db.Resources.FirstOrDefault(x => x.InternalName == res.ResourceInfo.Name); 17 Line 454: var resource = db.Resources.FirstOrDefault(x => x.InternalName == res.ResourceInfo.Name);
18 Line 455: var contentFile = resource. ResourceContentFiles. FirstOrDefault( x => x. FileName == file. FileName) ; 18 [b]Line 455: var contentFile = resource. ResourceContentFiles. FirstOrDefault( x => x. FileName == file. FileName) ;[/b]
19 Line 456: contentFile.Links = $"{GlobalConst.BaseSiteUrl}/content/{subfolder}/{file.FileName}"; 19 Line 456: contentFile.Links = $"{GlobalConst.BaseSiteUrl}/content/{subfolder}/{file.FileName}";
20 Line 457: contentFile.LinkCount = 1; 20 Line 457: contentFile.LinkCount = 1;
21 \n 21 \n
22 Source File: C:\actions-runner\_work\Zero-K-Infrastructure\Zero-K-Infrastructure\Zero-K.info\Controllers\MapsController.cs Line: 455 22 Source File: C:\actions-runner\_work\Zero-K-Infrastructure\Zero-K-Infrastructure\Zero-K.info\Controllers\MapsController.cs Line: 455
23 \n 23 \n
24 Stack Trace: 24 Stack Trace:
25 \n 25 \n
26 \n 26 \n
27 [NullReferenceException: Object reference not set to an instance of an object.] 27 [NullReferenceException: Object reference not set to an instance of an object.]
28 ZeroKWeb.Controllers.MapsController.UploadResource(HttpPostedFileBase file, Boolean specialMap) in C:\actions-runner\_work\Zero-K-Infrastructure\Zero-K-Infrastructure\Zero-K.info\Controllers\MapsController.cs:455 28 ZeroKWeb.Controllers.MapsController.UploadResource(HttpPostedFileBase file, Boolean specialMap) in C:\actions-runner\_work\Zero-K-Infrastructure\Zero-K-Infrastructure\Zero-K.info\Controllers\MapsController.cs:455
29 lambda_method(Closure , ControllerBase , Object[] ) +194 29 lambda_method(Closure , ControllerBase , Object[] ) +194
30 System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +228 30 System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +228
31 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +34 31 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +34
32 System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +38 32 System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +38
33 System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +76 33 System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +76
34 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +41 34 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +41
35 System.Web.Mvc.Async.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() +71 35 System.Web.Mvc.Async.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() +71
36 System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +396 36 System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +396
37 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42 37 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42
38 System.Web.Mvc.Async.<>c__DisplayClass2b.<BeginInvokeAction>b__1c() +38 38 System.Web.Mvc.Async.<>c__DisplayClass2b.<BeginInvokeAction>b__1c() +38
39 System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +188 39 System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +188
40 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38 40 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38
41 System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +32 41 System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +32
42 System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73 42 System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
43 System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52 43 System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
44 System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39 44 System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39
45 System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38 45 System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
46 System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +46 46 System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +46
47 System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73 47 System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
48 System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38 48 System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
49 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +431 49 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +431
50 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75 50 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
51 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158[/spoiler] 51 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158[/spoiler]
52 \n 52 \n
53 Leaving this here for myself or anybody else who is interested to troubleshoot. 53 Leaving this here for myself or anybody else who is interested to troubleshoot.