# 1.0.0.855 - Error access log as plain text

**URL:** https://www.finalbuilder.com/forums/t/1-0-0-855-error-access-log-as-plain-text/5711
**Category:** Bugs
**Created:** [August 29, 2012, 7:26am UTC](https://www.finalbuilder.com/forums/t/1-0-0-855-error-access-log-as-plain-text/5711 "2012-08-29T07:26:04Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![redwyre](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/9de0a6/32.png) [@redwyre](https://www.finalbuilder.com/forums/u/redwyre)
#### Post date: [August 29, 2012, 7:26am UTC](https://www.finalbuilder.com/forums/t/1-0-0-855-error-access-log-as-plain-text/5711/1 "2012-08-29T07:26:04Z")

</div>

link went to http://build2/New\_Project/ci/builds/exportlog/log

# Server Error in '/' Application. * * *

## _The parameters dictionary contains a null entry for parameter 'id' ofnon-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResultExportLog(Int32)' in 'Continua.Web.Builds.Controllers.BuildsController'. Anoptional parameter must be a reference type, a nullable type, or be declared asan optional parameter. Parameter name: parameters_
**Description:** An unhandled exception occurred during the execution of the current webrequest. Please review the stack trace for more information about the error andwhere it originated in the code.   
  
**Exception Details:** System.ArgumentException: The parameters dictionary contains a null entryfor parameter 'id' of non-nullable type 'System.Int32' for method'System.Web.Mvc.ActionResult ExportLog(Int32)' in'Continua.Web.Builds.Controllers.BuildsController'. An optional parameter mustbe a reference type, a nullable type, or be declared as an optionalparameter.  
Parameter name: parameters  
  
**Source Error:**   
  
c\_\_DisplayClass15.b\_\_12()at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)at System.Web.Mvc.Controller.ExecuteCore()at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)at System.Web.Mvc.MvcHandler.\<\>c\_\_DisplayClass6.\<\>c\_\_DisplayClassb.b\_\_5()at System.Web.Mvc.Async.AsyncResultWrapper.\<\>c\_\_DisplayClass1.b\_\_0()at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)--\>

| `An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.` |

**Stack Trace:**

| ` [ArgumentException: The parameters dictionary contains a null entry for parameter 'id' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult ExportLog(Int32)' in 'Continua.Web.Builds.Controllers.BuildsController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.Parameter name: parameters] System.Web.Mvc.ActionDescriptor.ExtractParameterFromDictionary(ParameterInfo parameterInfo, IDictionary`2 parameters, MethodInfo methodInfo) +666 System.Linq.WhereSelectArrayIterator`2.MoveNext() +110 System.Linq.Buffer`1..ctor(IEnumerable`1 source) +488 System.Linq.Enumerable.ToArray(IEnumerable`1 source) +104 System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +165 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +39 System.Web.Mvc.<>c __DisplayClass15.b__ 12() +125 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +640 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +312 System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +691 System.Web.Mvc.Controller.ExecuteCore() +162 System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +305 System.Web.Mvc.<>c __DisplayClassb.b__ 5() +62 System.Web.Mvc.Async.<>c __DisplayClass1.b__ 0() +20 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +469 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +375 ` |

* * *
**Version Information:** Microsoft .NET Framework Version:4.0.30319; ASP.NETVersion:4.0.30319.272

---

<div class="post-metadata">

### Author: ![vinnie](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/v/71e660/32.png) [@vinnie](https://www.finalbuilder.com/forums/u/vinnie)
#### Post date: [August 29, 2012, 8:42am UTC](https://www.finalbuilder.com/forums/t/1-0-0-855-error-access-log-as-plain-text/5711/2 "2012-08-29T08:42:42Z")

</div>

Hi redwyre,   
 The reason for that error is the URL does not contain a build ID. The ID is the unique identifier for a build so the link you’ve provided is trying to export the log for build (ie. no build). The last part of that URL should contain a build id (positive integer). Did you manually type that URL in or did you click a link from somewhere else that brought the error page up?   
  
 If you were brought to that error page by clicking a link somewhere in Continua, could you please tell us which page it was?   
  
 Thanks,   
  
 Vinnie.

---

<div class="post-metadata">

### Author: ![redwyre](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/9de0a6/32.png) [@redwyre](https://www.finalbuilder.com/forums/u/redwyre)
#### Post date: [September 3, 2012, 5:36am UTC](https://www.finalbuilder.com/forums/t/1-0-0-855-error-access-log-as-plain-text/5711/3 "2012-09-03T05:36:25Z")

</div>

From the home page, I click on the number in the version column which takes me to the build page, then I click on the Log tab, and click “Plain Text”   
  
 The URL of the link is “[http://localhost/SharedTestbed/ci/builds/exportlog/3](http://localhost/SharedTestbed/ci/builds/exportlog/3)”, but I end up getting redirected to “[http://localhost/SharedTestbed/ci/builds/exportlog/log](http://localhost/SharedTestbed/ci/builds/exportlog/log)”

---

<div class="post-metadata">

### Author: ![vinnie](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/v/71e660/32.png) [@vinnie](https://www.finalbuilder.com/forums/u/vinnie)
#### Post date: [September 4, 2012, 6:26am UTC](https://www.finalbuilder.com/forums/t/1-0-0-855-error-access-log-as-plain-text/5711/4 "2012-09-04T06:26:23Z")

</div>

Is that happening all the time? I briefly tried reproducing this but couldn’t. I’ll need to look into it further

---

<div class="post-metadata">

### Author: ![redwyre](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/9de0a6/32.png) [@redwyre](https://www.finalbuilder.com/forums/u/redwyre)
#### Post date: [September 19, 2012, 6:07am UTC](https://www.finalbuilder.com/forums/t/1-0-0-855-error-access-log-as-plain-text/5711/5 "2012-09-19T06:07:26Z")

</div>

It seems to only happen with a new job, before anything has actually been logged

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [September 19, 2012, 7:02am UTC](https://www.finalbuilder.com/forums/t/1-0-0-855-error-access-log-as-plain-text/5711/6 "2012-09-19T07:02:12Z")

</div>

ah yes, I can reproduce it now. Thanks, will look into it.
