ExtJS5: Uncaught TypeError: Cannot read property 'idProperty' of undefined - extjs5

I upgraded from Ext JS 4.2.3 to 5.0.1 and I have the following error. Any ideas?
Uncaught TypeError: Cannot read property 'idProperty' of undefinedext-all-debug.js:68239 Ext.define.applyRootext-all-debug.js:6842 setterext-all-debug.js:121857 Ext.define.initComponentext-all-debug.js:36830 Ext.define.constructorext-all-debug.js:8144 Ext.Base.Base.addMembers.callParent

Related

Method not found: '!!0 System.Text.Json.JsonSerializer.Deserialize(System.ReadOnlySpan`1<Byte>, System.Text.Json.JsonSerializerOptions)'

Just tried to create a new web api .net 6.0 and on first build/run getting error:
1>obj\Debug\net6.0\staticwebassets.build.json : error : MissingMethodException: Method not found: '!!0 System.Text.Json.JsonSerializer.Deserialize(System.ReadOnlySpan`1, System.Text.Json.JsonSerializerOptions)'.
Any Idea?!

DART fails in Chrome 44

I installed the new Chrome 44 and my DART application stopped working (it worked in Chrome 43).
I see this in my developer console:
Uncaught TypeError: this.shadowRoot.getElementsByTagName is not a function
mypage.html:5884 Uncaught TypeError: this.shadowRoot.getElementsByTagName is not a function
mypage.html:6389 Uncaught TypeError: this.shadowRoot.getElementsByTagName is not a function
mypage.html:7770 Uncaught TypeError: this.shadowRoot.getElementsByTagName is not a function
mypage.html:11479 Uncaught TypeError: this.shadowRoot.getElementsByTagName is not a function
mypage.html:11918 Uncaught TypeError: this.shadowRoot.getElementsByTagName is not a function
mypage.html:12486 Uncaught TypeError: this.shadowRoot.getElementsByTagName is not a function
mypage.html:12811 Uncaught TypeError: this.shadowRoot.getElementsByTagName is not a function
mypage.html:13079 Uncaught TypeError: this.shadowRoot.getElementsByTagName is not a function
mypage.html:13697 Uncaught TypeError: this.shadowRoot.getElementsByTagName is not a function
My suspicion is that a bug that is introduced in the new Chrome release.
However, if someone has more information on this, please, advise.
Seems this was deprecated a while ago and now finally removed https://groups.google.com/a/chromium.org/forum/m/#!msg/blink-reviews/r25yAE9YBMY/lwCGKQMppfkJ

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

Why I get output
TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at Untitled_1_fla::MainTimeline/asd()
this my code
stage.addEventListener(Event.ENTER_FRAME,asd)
function asd(e:Event){
if(test.pemukul.hitTestObject(musuh)){
musuh.visible=false
}
}
some object you trying to access is null
so check this objects:
test
pemukul
musuh

ReferenceError: Error #1065: Variable Profiler is not defined

I'm having this error , the swf compiled with flex builder
ReferenceError: Error #1065: Variable Profiler is not defined.
at global$init()
at core::Emulator()[C:\Users\AJ\Documents\Flex Builder 3\Snes\src\core\Emulator.as:67]
at Snes/onRomLoaded()[C:\Users\AJ\Documents\Flex Builder 3\Snes\src\Snes.as:90]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
any help would be great.
Emulator.as file : http://txtup.net/8CP6r
Snes.as file : http://txtup.net/b9WW
I was reading your code, can you paste following lines and check if your "cLoader" variable is getting initialize properly? or it would be great if you can provide source for "CLibInit" class as well.
cLoader = new CLibInit();
if(cLoader){
cLoader.supplyFile( "romfile", rom );
cLib = cLoader.init();
cLib.setup();
}

Flex 3 Value aware combo box error

I am using a value aware combobox, it was working fine, but recently i started getting the below error, when I try to click on combobox, and the error is random.
I am not sure of it is because of any changes i have done in the coding, or some changes in data provider etc any help is appreciated...
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()
Debugger throws
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()
Here is the part of my code
[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>
Issue fixed in Apache Flex 4.10 (not released yet) see https://issues.apache.org/jira/browse/FLEX-33382.
If using an older SDK you could monkey patch mx:ComboBox like so adding the "&& tween" check:
private function destroyDropdown():void
{
if (inTween && tween)
tween.endTween();
displayDropdown(false, null, false);
}