0

Closed

BUG: IUtility.Controller handling

description

UtilityController puts nothing into Controller property but expects it to be non-null, causing NullReferenceException without a workaround in Controller property getter

file attachments

Closed Jan 1, 2010 at 10:19 PM by mak_
Fixed. In current version UtilController is being passed by IUtility::Init(...).

comments

wrote Nov 29, 2009 at 9:01 AM

I consider Controller's getter as a 'bad design thing', which may cause more errors: UtilityController shouldn't make such strong assumptions on IUtility's behaviour. Why shall it keep the reference to the Controller if it doesn't need it at all?

wrote Jan 1, 2010 at 10:19 PM

wrote Feb 2, 2013 at 3:58 AM

wrote May 13, 2013 at 6:30 PM