This is a migrated thread and some comments may be shown as answers.

Webresource.axd Object reference not set to an instance of an object.

2 Answers 96 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Jan Pfeffer
Top achievements
Rank 1
Jan Pfeffer asked on 12 Mar 2010, 09:07 AM
Howdy at Telerik

I have a web project that generates a strange error when run in ' compilationDebug="false" '

There is no error when ' compilationDebug="true" '.

The page that generates the error consists of Five 'Ajax Collapsiable Panels holding five RadGrids' when i make a selection in a treeview outside the panels and press a button the panels are either shown and radgrid(s) rebinded or the panels are collapsed.

I have a RadScriptManager together with a RadAjaxManager on the Masterpage and a RadAjaxManagerProxy on the inherited Page.

When compilationDebug="false" i get the error shown on the image i have attached to this thread.

Hope you can help me with this rather strange error, or maybe explain why this only happens when debugging is disabled. 

Sincerly Jan.

2 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 17 Mar 2010, 01:50 PM
Hello Jan Pfeffer,

To my regret this information is not enough for us to determine what could cause the problem.

Can you please try to create a simple test project and see if you face the same error there?

We have a similar problem in RadTabStrip which occurs when using  the debug version of the MS Ajax library (which is the opposite of your case)



Regards,
Veskoni
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Jan Pfeffer
Top achievements
Rank 1
answered on 18 Mar 2010, 03:39 PM
Hey Veskoni

My problem was due early initialization of a singleton object which held a session variable.
Fixed by setting the variable after the singleton object was created.

Thx for your time though.

Sincerly Jan
Tags
Ajax
Asked by
Jan Pfeffer
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Jan Pfeffer
Top achievements
Rank 1
Share this question
or