branch | RCL_3 |
changeset 19 | 71c436fe3ce0 |
parent 14 | 04becd199f91 |
--- a/javacommons/utils/src.s60/s60commonutils.cpp Tue May 25 12:34:19 2010 +0300 +++ b/javacommons/utils/src.s60/s60commonutils.cpp Wed Jun 09 09:34:07 2010 +0300 @@ -118,6 +118,12 @@ for (int i = 0; i< count; i++) { + if( !aNativeArray[ i ] ) + { + // Skip null elements since already initialized + continue; + } + //TPtr16 temp = aNativeArray[i]->Des(); jstring javaString = S60CommonUtils::NativeToJavaString(aJni, *aNativeArray[i]); if (javaString == NULL)