-
19 Sep 2011 3:28 AM #1
[FIXED] Designer (with Ext 4 project) frequently crashes
[FIXED] Designer (with Ext 4 project) frequently crashes
I experience frequent crashes with Ext designer (version 1.2.0 for OS X Snow Leopard). If I look at a preview and return to the designer, below the current design only shows a 'ghost image' (I only see the borders not the content of the design) and then the designer just crashes. With frequent I mean, this happens about every hour of work.
I get a: TypeError: 'null' is not an object message.Last edited by halcwb; 19 Sep 2011 at 3:36 AM. Reason: added the error message
-
19 Sep 2011 1:25 PM #2devshiGuest
Can you elaborate or provide steps to recreate these issues, so we can investigate and possibly address any such issues.
-
20 Sep 2011 4:38 AM #3Sencha - Desktop Packager Dev Team
- Join Date
- Mar 2007
- Location
- Baltimore, MD.
- Posts
- 1,745
- Vote Rating
- 5
Likely this issue is resolved by one of our previous ticket submissions, but if we have steps to reproduce we can confirm its resolution. Thanks!
-
20 Sep 2011 8:32 AM #4
I will just give you the code, because frankly, I kind of had with all the bugs:
Code:Ext.define('GenForm.lib.view.ui.ProductEdit', { extend: 'Ext.form.Panel', height: 498, itemId: 'frmProductEdit', width: 564, bodyPadding: 10, title: 'Bewerk Artikel', initComponent: function() { var me = this; me.items = [ { xtype: 'fieldset', title: 'Artikel Details', items: [ { xtype: 'textfield', itemId: 'fldLabelName', name: 'LabelName', fieldLabel: 'Etiket Naam', anchor: '100%' }, { xtype: 'textfield', itemId: 'fldProductCode', name: 'ProductCode', fieldLabel: 'Artikel Code', anchor: '100%' }, { xtype: 'textfield', itemId: 'fldGenericName', name: 'GenericName', fieldLabel: 'Generiek naam', anchor: '100%' }, { xtype: 'fieldcontainer', height: 25, itemId: 'cntProductShape', width: 400, layout: { align: 'stretchmax', type: 'hbox' }, hideLabel: true, anchor: '100%', items: [ { xtype: 'combobox', itemId: 'cboProductShape', name: 'ProductShape', fieldLabel: 'Vorm', hideEmptyLabel: false, flex: 1 }, { xtype: 'button', itemId: 'btnEditProductShape', width: 70, text: 'Bewerk' }, { xtype: 'button', itemId: 'btnAddProductShape', width: 70, text: 'Nieuw' } ] }, { xtype: 'fieldcontainer', height: 24, itemId: 'cntProductQuantity', width: 520, layout: { align: 'stretch', type: 'hbox' }, fieldLabel: 'Hoeveelheid', anchor: '100%', items: [ { xtype: 'numberfield', itemId: 'fldProductQuantity', name: 'ProductQuantity', flex: 1 }, { xtype: 'combobox', itemId: 'cboProductUnit', name: 'ProductUnit', flex: 1 }, { xtype: 'button', itemId: 'btnEditProductUnit', width: 70, text: 'Bewerk' }, { xtype: 'button', itemId: 'btnAddProductUnit', width: 70, text: 'Nieuw' } ] }, { xtype: 'fieldcontainer', height: 25, itemId: 'cntPackage', width: 400, layout: { align: 'stretchmax', type: 'hbox' }, hideLabel: true, anchor: '100%', items: [ { xtype: 'combobox', itemId: 'cboProductPackage', width: 300, fieldLabel: 'Verpakking', hideEmptyLabel: false, flex: 1 }, { xtype: 'button', itemId: 'btnEditProductPacakge', width: 70, text: 'Bewerk' }, { xtype: 'button', itemId: 'btnAddProductPackage', width: 70, text: 'Nieuw' } ] } ] }, { xtype: 'hiddenfield', itemId: 'fldProductId', name: 'ProductId', fieldLabel: 'Label', anchor: '100%' }, { xtype: 'tabpanel', height: 256, itemId: 'tbpProduct', activeTab: 2, anchor: '100%', items: [ { xtype: 'panel', itemId: 'tabSubstances', layout: { type: 'fit' }, title: 'Stoffen', items: [ { xtype: 'gridpanel', itemId: 'grdSubstances', columns: [ { xtype: 'numbercolumn', itemId: 'colSortOrder', width: 67, dataIndex: 'SortOrder', text: 'Volgorde', field: { xtype: 'numberfield', itemId: 'fldSortOrder', name: 'SortOrder' } }, { xtype: 'gridcolumn', itemId: 'colSubstance', width: 181, dataIndex: 'Substance', text: 'Stofnaam', field: { xtype: 'combobox', itemId: 'cboSubstance', name: 'Substance' } }, { xtype: 'numbercolumn', dataIndex: 'SubstanceQuantity', text: 'Hoeveelheid', field: { xtype: 'numberfield', itemId: 'fldSubstanceQuantity', name: 'SubstanceQuantity' } }, { xtype: 'gridcolumn', dataIndex: 'SubstanceUnit', text: 'Eenheid', field: { xtype: 'combobox', itemId: 'cboSubstanceUnit', name: 'SubstanceUnit' } } ], viewConfig: { itemId: 'grvSubstances' }, plugins: [ Ext.create('Ext.grid.plugin.RowEditing', { clicksToEdit: 1 }) ] } ] }, { xtype: 'panel', layout: { type: 'fit' }, title: 'Routes', items: [ { xtype: 'gridpanel', itemId: 'grdRoutes', columns: [ { xtype: 'gridcolumn', itemId: 'colRoute', dataIndex: 'Route', text: 'Route', field: { xtype: 'combobox', itemId: 'cboProductRoute', name: 'ProductRoute', fieldLabel: 'Label', hideLabel: true } } ], viewConfig: { }, plugins: [ Ext.create('Ext.grid.plugin.RowEditing', { clicksToEdit: 1 }) ] } ] }, { xtype: 'panel', height: 224, layout: { type: 'fit' }, title: 'Bijzonderheden', items: [ { xtype: 'htmleditor', height: 150, itemId: 'edtProductText', style: 'background-color: white;', name: 'ProductText', fieldLabel: 'Label', hideLabel: true } ] } ] } ]; me.callParent(arguments); } });
-
20 Sep 2011 8:49 AM #5Sencha - Desktop Packager Dev Team
- Join Date
- Mar 2007
- Location
- Baltimore, MD.
- Posts
- 1,745
- Vote Rating
- 5
Thanks. Without the project file or at least steps to reproduce a specific error, we can only hope your issue is resolved. Generated code is wholly unrelated to .xds. If you want to paste your .xds contents then that will be ok.
-
20 Sep 2011 9:55 PM #6
-
21 Sep 2011 8:09 AM #7Sencha - Desktop Packager Dev Team
- Join Date
- Mar 2007
- Location
- Baltimore, MD.
- Posts
- 1,745
- Vote Rating
- 5
Thanks. No crashing happening anywhere, so I think 1.2.1 will take care of the issues you experienced.
-
22 Sep 2011 12:44 AM #8
You mean, you tested the file with 1.2.1 and using that version there were no crashes?
Thanks -- Casper
-
22 Sep 2011 5:43 AM #9
1.2.1 Where ?
1.2.1 Where ?
Where can the 1.2.1 release be downloaded from, as the designer window is unusable for anthing other than very simple use.
-
26 Sep 2011 4:49 AM #10
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote