Page 1 of 1

TypeError: Error #1009: Cannot access a property or method of a null object reference

Posted: Wed Jan 12, 2011 10:48 am
by jordi
Hello,
I am getting the following error when creating a variable with no category selected:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at stimulsoft.controls.visual.forms::StiDictionaryVariableForm/createVariable()[D:\project\uma\src\as\Stimulsoft_DesignerFx\src\stimulsoft\controls\visual\forms\StiDictionaryVariableForm.mxml:117]
at stimulsoft.controls.visual.forms::StiDictionaryVariableForm/onOkButtonClickHandler()[D:\project\uma\src\as\Stimulsoft_DesignerFx\src\stimulsoft\controls\visual\forms\StiDictionaryVariableForm.mxml:137]
the problem is caused by dictionaryTree.selectedObject being null in line:

Code: Select all

					variable.category = dictionaryTree.selectedObject.category;
Please advise,
Jordi

TypeError: Error #1009: Cannot access a property or method of a null object reference

Posted: Thu Jan 13, 2011 1:14 am
by Vladimir
Hello,

This error is already fixed, please download the latest prerelease build from our website:
http://stimulsoft.com/ReportsFxFlexDownloads.aspx

Thank you.