どのバージョンのディレクターを使用していますか? director クラスの最新バージョン (1.4 だと思います) は、問題の原因となる THE ACTUAL ERROR を出力します。
あなたが言及したエラーは、あなたが制御できないディレクタークラスのエラーです。このようなものが得られます。
-----------------------
Director ERROR: Failed to execute new( params ) function on 'mainscreen'.
-----------------------
e:\corona\satheesh\doodle2\mainscreen.lua:35: attempt to perform arithmetic on global 'screen' (a nil value)
Runtime error
編集
これらのメッセージをデバイスに表示する必要がある場合は、director.lua に次の変更を加えます。
1.セット
showDebug = true
2.変更
local alert = native.showAlert( "Director Class - ERROR", message, { "OK" }, onComplete )
に
local alert = native.showAlert( "Director Class - ERROR",debugMessage, { "OK" }, onComplete )