Server Error in '/' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 153:                Dim ECSOTTOTIP_DM As New myECSOTTOTIP_DM
Line 154:                ListaECSOTTOTIP = ECSOTTOTIP_DM.CaricaArray
Line 155:                Dim ListaSottotipologie() As String = ECARTI.IDSottotipologia.Split("#")
Line 156:                If ECARTI.IDSottotipologia <> "" Then
Line 157:                    For Each c In ListaSottotipologie

Source File: D:\Inetpub\Clienti_Lineamarie\Product.aspx.vb    Line: 155

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Product.Page_Load(Object sender, EventArgs e) in D:\Inetpub\Clienti_Lineamarie\Product.aspx.vb:155
   System.Web.UI.Control.OnLoad(EventArgs e) +105
   System.Web.UI.Control.LoadRecursive() +67
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3784


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