You need to sign in to do that
Don't have an account?
Google Data APIs Schema Demo - Problem
Hi there - I hope some of you can help me out with this.
I am trying to use the Google Data APIs Schema Demo (http://wiki.developerforce.com/index.php/Google_Data_APIs_Schema_Demo) but I am running into a Attempt to de-reference a null object.
The line in red is the offending one:
cell = cellMap.get('R'+currRow+'C1');
System.debug('cell: '+ cell);
//logMessages.add('['+name+'] Got cell for row#'+currRow+', isNull='+(cell ==null));
cell.content = fldDescRes.getLabel();
System.debug('theField: ' + cell.content);
cell is null after the 2nd row but I can see that the worksheet has 19 rows.
Have you seen this problem before? Thanks, JDL
There was a limit set by... someone... in the XMLDom to process no more than 10 elements. Once I removed the limit everything was fine except the performance.
Hopefully with the new XML Dom to be released with Spring 10 the performance will improve significantly.