Server Error in '/' Application.

Index was outside the bounds of the array.

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.IndexOutOfRangeException: Index was outside the bounds of the array.

Source Error:

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:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   VTWLF.Controller.PublishJrNewsN1.getGjc(String[] arr, Int32 num) in D:\wlfimms\program\VTWeb\VTWeb-20170208\Controller\PublishJrNewsN1.cs:513
   VTWLF.Controller.PublishJrNewsN1.changeText(String txt) in D:\wlfimms\program\VTWeb\VTWeb-20170208\Controller\PublishJrNewsN1.cs:476
   VTWLF.Controller.PublishJrNewsN1.DoPublish() in D:\wlfimms\program\VTWeb\VTWeb-20170208\Controller\PublishJrNewsN1.cs:244
   VTWLF.Controller.BasePage.Page_PreLoad(Object sender, EventArgs e) in D:\wlfimms\program\VTWeb\VTWeb-20170208\Controller\BasePage.cs:25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Page.OnPreLoad(EventArgs e) +121
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +699


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