値を認識するコンボボックスを使用していますが、正常に機能していましたが、最近、コンボボックスをクリックしようとすると、以下のエラーが発生し始めました。エラーはランダムです。コーディングで行った変更、またはデータプロバイダーなどの変更が原因であるかどうかはわかりませんが、助けていただければ幸いです...
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.controls::ComboBox/destroyDropdown()
at mx.controls::ComboBox/styleChanged()
at mx.core::UIComponent/setBorderColorForErrorString()
at mx.core::UIComponent/commitProperties()
at mx.controls::ComboBase/commitProperties()
at mx.controls::ComboBox/commitProperties()
at custom.controls::ComboBox/commitProperties()[D:\workspace\eclipse\indigo\ams\flex_src\custom\controls\ComboBox.mxml:13]
at mx.core::UIComponent/validateProperties()
at mx.managers::LayoutManager/validateProperties()
at mx.managers::LayoutManager/doPhasedInstantiation()
デバッガーがスローします
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.controls::ComboBox/destroyDropdown()
at mx.controls::ComboBox/styleChanged()
at mx.core::UIComponent/setBorderColorForErrorString()
at mx.core::UIComponent/commitProperties()
at mx.controls::ComboBase/commitProperties()
at mx.controls::ComboBox/commitProperties()
at custom.controls::ComboBox/commitProperties()[D:\workspace\eclipse\indigo\ams\flex_src\custom\controls\ComboBox.mxml:13]
at mx.core::UIComponent/validateProperties()
at mx.managers::LayoutManager/validateProperties()
at mx.managers::LayoutManager/doPhasedInstantiation()
at mx.managers::LayoutManager/validateNow()
at mx.controls::ComboBox/displayDropdown()
at mx.controls::ComboBox/downArrowButton_buttonDownHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::buttonPressed()
at mx.controls::Button/mouseDownHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.controls::ComboBase/textInput_mouseEventHandler()
これが私のコードの一部です
[Bindable]
private var networkExpObj:NetworkExpansion=new NetworkExpansion();
[Bindable]
public var codeDescpResult:Object;
<mx:FormItem label="Status"
required="true">
<controls:ComboBox id="NWEXP_STATUS_ID"
disabledColor="0x000000"
maxWidth="150"
change="validateUs()"
selectedValue="{networkExpObj.NWEXP_STATUS_ID}"
dataProvider="{codeDescpResult.SRV_NWE_STATUS}"/>
</mx:FormItem>