Web: StackOverflow Error

I have a WebApp which uses to much RAM.

With the app.unhandlexeception I stored the infos to a Textfile.

Now I have this informations, but don’t know, what the problem ist, that the stack is full. Is this the correct site? Or do I have to search some else for the error?

[code]

UnhandledException: 0

Stack:
RuntimeReraiseException
RuntimeRaiseException
RaiseNilObjectException
MZWebPage_OA_RegalansichtNeu.MZWebPage_OA_RegalansichtNeu.Event_Resized%%o<MZWebPage_OA_RegalansichtNeu.MZWebPage_OA_RegalansichtNeu>
WebView._DoShownEvent%%o
WebView.Event_Shown%%o
WebControl._ExecuteEvent%b%osA1v
WebControl.!_ExecuteEvent%b%ssA1v
WebSession._HandleEvent%%oso<_HTTPServer.HTTPRequestContext>
WebSession._HandleRequest%i8%oso<_HTTPServer.HTTPRequestContext>
WebApplication._HandleHTTPRequest%%oo<_HTTPServer.HTTPRequestContext>
_HTTPServer.HTTPRequestThread.Event_Run%%o<_HTTPServer.HTTPRequestThread>
RuntimeStackCheck
RuntimeTextFromOldString
crt_at_quick_exit
BaseThreadInitThunk
RtlUserThreadStart[/code]

Your unhandled exception is probably reentering.

I believe, that I changed all dictionaries, so I proof every .value before with an .haskey .

So, I don’t have an idea what raises the stack overflow.

I think I found the problem:

for zeile as integer = 0 to Session.MZGlobalInt_AnzahlArtikelRegale
 Regalzeile(zeile).Width = self.width
 next

this code was in a webpage.resized

and the Session.MZGlobalInt_AnzahlArtikelRegale could be greater then the “zeile” integer, so I got a crash.

I think it is solved.