PDA

View Full Version : Container will not transform to Panel when Ext.Image Src file is Not Available



steveaxelrad
12 Apr 2012, 1:25 PM
Add an Image to a simple Container. Fill out the src for the Ext.Img with an image name not yet in the folder. Attempt to transform the simple Container to a Panel. The following error message occurs.

TypeError: 'Null' is not an object
Source Class: undefined line 0

I am not sure if this error message should occur.

The problem is corrected once the named image is added to the folder.

aconran
12 Apr 2012, 2:29 PM
Unable to reproduce the null error using Ext JS or Sencha Touch on Build 374.

Can you provide additional steps to reproduce the error?

steveaxelrad
14 Apr 2012, 8:56 AM
Yes. It occurs when "Url Prefix" is not set in Project Preferences. It is not a problem for me anymore. I am using Sencha Touch 2 on an iMac/Lion.