Server Error in '/' Application.

Value cannot be null.
Parameter name: value

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.ArgumentNullException: Value cannot be null.
Parameter name: value

Source Error:


Line 86:                     'Pulsanti precedente e successivo
Line 87:                     Dim ListaProgetti As New List(Of myPROGE)
Line 88:                     Dim Predicato3 As System.Func(Of myPROGE, Boolean) = Function(TAB) TAB.Pubblica = True And TAB.Filtro.ToLower.Contains(PROGE.Filtro)
Line 89:                     ListaProgetti = PROGE_DM.CaricaConFiltro(Predicato3)
Line 90:                     If ListaProgetti.Count > 1 Then

Source File: D:\Inetpub\My_Jods\DettaglioProgetto.ascx.vb    Line: 88

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: value]
   System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType) +397
   System.String.Contains(String value) +25
   _Closure$__2._Lambda$__3(myPROGE TAB) in D:\Inetpub\My_Jods\DettaglioProgetto.ascx.vb:88
   System.Linq.WhereEnumerableIterator`1.MoveNext() +126
   myPROGE_DM.CaricaConFiltro(Func`2 Predicate) in D:\Inetpub\My_Jods\App_Code\myPROGE_DM.vb:80
   DettaglioProgetto.Page_Load(Object sender, EventArgs e) in D:\Inetpub\My_Jods\DettaglioProgetto.ascx.vb:89
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3930.0