CINXE.COM
Object reference not set to an instance of an object.
<!DOCTYPE html> <html> <head> <title>Object reference not set to an instance of an object.</title> <meta name="viewport" content="width=device-width" /> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:pointer; } @media screen and (max-width: 639px) { pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; } } @media screen and (max-width: 479px) { pre { width: 280px; } } </style> </head> <body bgcolor="white"> <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1> <h2> <i>Object reference not set to an instance of an object.</i> </h2></span> <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> <b> Description: </b>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. <br><br> <b> Exception Details: </b>System.NullReferenceException: Object reference not set to an instance of an object.<br><br> <b>Source Error:</b> <br><br> <table width=100% bgcolor="#ffffcc"> <tr> <td> <code> 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. </code> </td> </tr> </table> <br> <b>Stack Trace:</b> <br><br> <table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre> [NullReferenceException: Object reference not set to an instance of an object.] System.Data.Linq.SqlClient.QueryConverter.VisitInvocation(InvocationExpression invoke) +1250 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) +1133 System.Data.Linq.SqlClient.QueryConverter.VisitExpression(Expression exp) +34 System.Data.Linq.SqlClient.QueryConverter.VisitBinary(BinaryExpression b) +49 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) +460 System.Data.Linq.SqlClient.QueryConverter.VisitExpression(Expression exp) +34 System.Data.Linq.SqlClient.QueryConverter.VisitBinary(BinaryExpression b) +33 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) +460 System.Data.Linq.SqlClient.QueryConverter.VisitExpression(Expression exp) +34 System.Data.Linq.SqlClient.QueryConverter.VisitBinary(BinaryExpression b) +33 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) +460 System.Data.Linq.SqlClient.QueryConverter.VisitExpression(Expression exp) +34 System.Data.Linq.SqlClient.QueryConverter.VisitBinary(BinaryExpression b) +33 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) +460 System.Data.Linq.SqlClient.QueryConverter.VisitExpression(Expression exp) +34 System.Data.Linq.SqlClient.QueryConverter.VisitWhere(Expression sequence, LambdaExpression predicate) +159 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) +874 System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node) +133 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations) +168 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) +165 System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() +55 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +430 System.Linq.Enumerable.ToList(IEnumerable`1 source) +73 ArchivesOfNethys.SpellDisplay.LinqDataSourceSpellDisplay_Selecting(Object sender, LinqDataSourceSelectEventArgs e) in F:\Dropbox\Projects\ArchivesOfNethys\archivesofnethys\ArchivesOfNethys\SpellDisplay.aspx.cs:35 System.Web.UI.WebControls.LinqDataSourceView.OnSelecting(LinqDataSourceSelectEventArgs e) +139 System.Web.UI.WebControls.LinqDataSourceView.GetSource(QueryContext context) +171 System.Web.UI.WebControls.LinqDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +82 System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) +384 System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +89 System.Web.UI.WebControls.BaseDataList.EnsureDataBound() +86 System.Web.UI.Control.EnsureChildControls() +107 System.Web.UI.Control.PreRenderRecursiveInternal() +58 System.Web.UI.Control.PreRenderRecursiveInternal() +227 System.Web.UI.Control.PreRenderRecursiveInternal() +227 System.Web.UI.Control.PreRenderRecursiveInternal() +227 System.Web.UI.Control.PreRenderRecursiveInternal() +227 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4000 </pre> </code> </td> </tr> </table> <br> <hr width=100% size=1 color=silver> <b>Version Information:</b> Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.9287.0 </font> </body> </html> <!-- [NullReferenceException]: Object reference not set to an instance of an object. at System.Data.Linq.SqlClient.QueryConverter.VisitInvocation(InvocationExpression invoke) at System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) at System.Data.Linq.SqlClient.QueryConverter.VisitExpression(Expression exp) at System.Data.Linq.SqlClient.QueryConverter.VisitBinary(BinaryExpression b) at System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) at System.Data.Linq.SqlClient.QueryConverter.VisitExpression(Expression exp) at System.Data.Linq.SqlClient.QueryConverter.VisitBinary(BinaryExpression b) at System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) at System.Data.Linq.SqlClient.QueryConverter.VisitExpression(Expression exp) at System.Data.Linq.SqlClient.QueryConverter.VisitBinary(BinaryExpression b) at System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) at System.Data.Linq.SqlClient.QueryConverter.VisitExpression(Expression exp) at System.Data.Linq.SqlClient.QueryConverter.VisitBinary(BinaryExpression b) at System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) at System.Data.Linq.SqlClient.QueryConverter.VisitExpression(Expression exp) at System.Data.Linq.SqlClient.QueryConverter.VisitWhere(Expression sequence, LambdaExpression predicate) at System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) at System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node) at System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations) at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) at System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at ArchivesOfNethys.SpellDisplay.LinqDataSourceSpellDisplay_Selecting(Object sender, LinqDataSourceSelectEventArgs e) in F:\Dropbox\Projects\ArchivesOfNethys\archivesofnethys\ArchivesOfNethys\SpellDisplay.aspx.cs:line 35 at System.Web.UI.WebControls.LinqDataSourceView.OnSelecting(LinqDataSourceSelectEventArgs e) at System.Web.UI.WebControls.LinqDataSourceView.GetSource(QueryContext context) at System.Web.UI.WebControls.LinqDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) at System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.BaseDataList.EnsureDataBound() at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) [HttpUnhandledException]: Exception of type 'System.Web.HttpUnhandledException' was thrown. at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --><!-- This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using <customErrors mode="Off"/>. Consider using <customErrors mode="On"/> or <customErrors mode="RemoteOnly"/> in production environments.-->