PDA

View Full Version : Reason for error message: "Cannot destroy Element "image-1011". Already destroyed."



JavaDirk
11 Feb 2015, 10:30 PM
Hi folks,

why am I getting here a "Cannot destroy element "image-1011". Already destroyed."-message?


Ext.application(
{
name : 'Test',
launch : function()
{
var panel = Ext.create('Ext.container.Viewport',
{
});

var image = Ext.create('Ext.Img',
{
src: 'images/32/arrow_right.png'
});
panel.add(image);
panel.remove(image);
}
});

Thank you very much, Dirk

mitchellsimoens
17 Feb 2015, 4:15 AM
This is a bug that should be fixed in the next release (5.1.1)

http://www.sencha.com/forum/showthread.php?295767