I got this same error (below) in my 2 other jquery mobile projects aside from the mobile-jq example from OpenLayers.
OpenLayers.js:1234TypeError: Result of expression 'size' [null] is not an object. This is line 1234 (below) var schema={};this.readNode(data,schema);return schema;},CLASS_NAME:"OpenLayers.Format.WFSDescribeFeatureType"});OpenLayers.Renderer=OpenLayers.Class({container:null,root:null,extent:null,locked:false,size:null,resolution:null,map:null,initialize:function(containerID,options){this.container=OpenLayers.Util.getElement(containerID);OpenLayers.Util.extend(this,options);},destroy:function(){this.container=null;this.extent=null;this.size=null;this.resolution=null;this.map=null;},supported:function(){return false;},setExtent:function(extent,resolutionChanged){this.extent=extent.clone();if(resolutionChanged){this.resolution=null;}},setSize:function(size){this.size=size.clone();this.resolution=null;},getResolution:function(){this.resolution=this.resolution||this.map.getResolution();return this.resolution;},drawFeature:function(feature,style){if(style==null){style=feature.style;} Noli On 7/12/11, Andreas Hocevar <ahoce...@opengeo.org> wrote: > It also doesn't mean that jQuery is broken. It only means that the > example does not work with later versions of jQuery than the one used > in the example. > > Andreas. > > On Tue, Jul 12, 2011 at 11:35 AM, Noli Sicad <nsi...@gmail.com> wrote: >> Hi Andreas, >> >> It is not OpenLayers that is broken for sure. >> >> It is jQuery mobile that is broken. >> >> I like to see another OpenLayers and jQuery mobile project that is >> working. >> >> Noli >> >> >> On 7/12/11, Andreas Hocevar <ahoce...@opengeo.org> wrote: >>> Hi Noli, >>> >>> the subject of this thread adds a lot of drama to to the content that >>> is not actually there. So I changed the subject. Anybody is welcome to >>> fix the mobile-jq example. A non-working example does not mean that >>> OpenLayers is broken. >>> >>> Regards, >>> Andreas. >>> >>> On Tue, Jul 12, 2011 at 10:43 AM, Noli Sicad <nsi...@gmail.com> wrote: >>>> Hi Andreas, >>>> >>>> I just tested the official jQuery Mobile example in OL 2.11 RC1. >>>> >>>> It is not working with the beta1 jQM release. >>>> >>>> You can download. >>>> >>>> 1.I am using mobile-jq.html in OpenLayers-2.11-rc1.tar.gz >>>> http://www.openlayers.org/download/ >>>> >>>> 2. jQuery Mobile --- Zip File: jquery-mobile-1.0b1.zip (JavaScript, >>>> CSS, and images) >>>> http://jquerymobile.com/download/ >>>> >>>> 3. jQuery 1.6.2 >>>> http://docs.jquery.com/Downloading_jQuery >>>> >>>> The jquery mobile 1.0b1pre is working after this version. It is not >>>> working. >>>> >>>> Noli >>>> >>>> >>>> On 7/12/11, Andreas Hocevar <ahoce...@opengeo.org> wrote: >>>>> Can we have a link to an example that shows the issue, which uses >>>>> unminified versions of both OpenLayers and jQuery? This will make it >>>>> easier to locate the issue. >>>>> >>>>> Thanks, >>>>> Andreas. >>>>> >>>>> On Mon, Jul 11, 2011 at 5:43 AM, Noli Sicad <nsi...@gmail.com> wrote: >>>>>> Hi, >>>>>> >>>>>> I like to inform everybody that the current and future releases of >>>>>> jQuery Mobile will not work with OL until this issue is resolved. >>>>>> >>>>>> https://github.com/jquery/jquery-mobile/issues/search?q=OpenLayers >>>>>> >>>>>> If you know what is causing the problem, please let us. >>>>>> >>>>>> Noli >>>>>> _______________________________________________ >>>>>> Dev mailing list >>>>>> d...@lists.osgeo.org >>>>>> http://lists.osgeo.org/mailman/listinfo/openlayers-dev >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Andreas Hocevar >>>>> OpenGeo - http://opengeo.org/ >>>>> Expert service straight from the developers. >>>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> d...@lists.osgeo.org >>>> http://lists.osgeo.org/mailman/listinfo/openlayers-dev >>>> >>> >>> >>> >>> -- >>> Andreas Hocevar >>> OpenGeo - http://opengeo.org/ >>> Expert service straight from the developers. >>> >> _______________________________________________ >> Dev mailing list >> d...@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/openlayers-dev >> > > > > -- > Andreas Hocevar > OpenGeo - http://opengeo.org/ > Expert service straight from the developers. > _______________________________________________ Dev mailing list d...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-dev