I get an exception when there're no .chm files in Resources folder:

I suppose it'd be good idea to show to user some message likes 'No help files' or simmilar.

Error: Exception of type 'System.Web.HttpUnhandledException' was thrown

Details: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Xtensive.HelpServer.Chm.HelpEngine.GetIndexItems() at Xtensive.HelpServer.Web.DefaultPage.CreateTabStrip() at Xtensive.HelpServer.Web.DefaultPage.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e)

This thread was imported from our support forum. The original discussion may contain more detailed answer. Original topic by EvilShrike.

asked Jul 30 '07 at 11:25

Editor's gravatar image


The bug is forwarded to our developers.

(Jul 30 '07 at 11:25) Alex Ustinov Alex%20Ustinov's gravatar image

Marat Faskhiev (Xtensive) wrote: Bug fixed.

(Jul 30 '07 at 11:25) Editor Editor's gravatar image
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA