diff -r 35baca0e7a2e -r 023eef975703 javamanager/javainstaller/javasifplugin/tsrc/src.s60/main.cpp --- a/javamanager/javainstaller/javasifplugin/tsrc/src.s60/main.cpp Tue Jul 06 20:36:19 2010 +0300 +++ b/javamanager/javainstaller/javasifplugin/tsrc/src.s60/main.cpp Fri Jul 09 16:35:45 2010 +0300 @@ -591,7 +591,13 @@ // TEMP TEST // This thread does not have active scheduler, // create and install it - CActiveScheduler* as = new(ELeave) CActiveScheduler(); + CActiveScheduler* as = new CActiveScheduler(); + if (NULL == as) + { + ELOG(EJavaConverters, + "testsifapi: cancelFunction: Cannot create active scheduler"); + return 1; + } CActiveScheduler::Install(as); // Wait for 6 seconds so that the operation to be cancelled