Tested code no longer works: bad argument #-1 to '?' (string expected, got nil)

An app for which I have not changed anything no longer works in debug mode. All of a sudden, I get “bad argument #-1 to ‘?’ (string expected, got nil)” (see logfile below) when the apk file is run on an Android device where the same code has worked before. I know at least one more user has experienced this.

@Corona staff: any ideas what this might be?

W/ActivityManager( 2355): mDVFSHelper.release()

D/SSRMv2:CustomFrequencyManagerService( 2355): acquireDVFSLockLocked : type : DVFS_MIN_LIMIT  frequency : 1200000  uid : 1000  pid : 2355  pkgName : ACTIVITY_RESUME_BOOSTER@8

V/GLSurfaceView( 9157): glGetString(7937) returns Mali-400 MP;

W/libOpenSLES( 9157): class OutputMix interface 0 requested but unavailable MPH=43

V/Corona  ( 9157): > Class.forName: network.LuaLoader

V/Corona  ( 9157): < Class.forName: network.LuaLoader

V/Corona  ( 9157): Loading via reflection: network.LuaLoader

D/Launcher.HomeFragment( 2756): onStop

I/Corona  ( 9157): Platform: GT-I9300 / ARM Neon / 4.3 / Mali-400 MP / OpenGL ES 2.0 / 2019.3504 / English | GB | en_GB | en

D/dalvikvm( 9157): GC_CONCURRENT freed 558K, 15% free 9777K/11480K, paused 1ms+1ms, total 18ms

D/dalvikvm( 9157): GC_FOR_ALLOC freed 16K, 15% free 9766K/11480K, paused 11ms, total 11ms

I/dalvikvm-heap( 9157): Grow heap (frag case) to 11.016MB for 380692-byte allocation

D/dalvikvm( 9157): GC_FOR_ALLOC freed 0K, 15% free 10138K/11852K, paused 12ms, total 12ms

V/Corona  ( 9157): > Class.forName: shared.google.play.services.base.LuaLoader

I/Corona  ( 9157): ERROR: Runtime error

I/Corona  ( 9157): bad argument #-1 to ‘?’ (string expected, got nil)

I/Corona  ( 9157): stack traceback:

I/Corona  ( 9157): [C]: ?

I/Corona  ( 9157): ?: in function <?:95>

I/Corona  ( 9157): ?: in main chunk

I/Corona  ( 9157): ERROR: Runtime error

I/Corona  ( 9157): bad argument #-1 to ‘?’ (string expected, got nil)

I/Corona  ( 9157): stack traceback:

I/Corona  ( 9157): [C]: ?

I/Corona  ( 9157): ?: in function <?:95>

I/Corona  ( 9157): ?: in main chunk

I/Corona  ( 9157): This application failed to load and execute main.lua

I/SurfaceFlinger( 1929): id=49 Removed J_am_Zoe (5/6)

I/SurfaceFlinger( 1929): id=49 Removed J_am_Zoe (-2/6)

I/power   ( 2355): *** acquire_dvfs_lock : lockType : 1  freq : 1200000 

D/SSRMv2:CustomFrequencyManagerService( 2355): releaseDVFSLockLocked : Getting Lock type frm List : DVFS_MIN_LIMIT  frequency : 1400000  uid : 10001  pid : 2756  tag : com.sec.android.app.launcher@30

I/power   ( 2355): *** release_dvfs_lock : lockType : 1 

D/SSRMv2:CustomFrequencyManagerService( 2355): releaseDVFSLockLocked : Getting Lock type frm List : DVFS_MIN_LIMIT  frequency : 1200000  uid : 1000  pid : 2355  tag : ACTIVITY_RESUME_BOOSTER@8

i have same problem! and i cant solve it, please tell to me if you resolve this error

even with run sample of corona on real device get this error too,

what is the problem?

Arer you using an expansion file for your app?

Sorry but what is an expansion file?

Please download 2019.3408 and try that.

Rob

Before updating to 2019.3508 yesterday I used 2019.3490 and it worked with that version.

I found what the problem is, should be fixed in next daily build.

Hey, [member=‘Divergent Monkey’], please, try latest build. It should fix your issue

Yes, it works now. Thanks!  :slight_smile:

i have same problem! and i cant solve it, please tell to me if you resolve this error

even with run sample of corona on real device get this error too,

what is the problem?

Arer you using an expansion file for your app?

Sorry but what is an expansion file?

Please download 2019.3408 and try that.

Rob

Before updating to 2019.3508 yesterday I used 2019.3490 and it worked with that version.

I found what the problem is, should be fixed in next daily build.

Hey, [member=‘Divergent Monkey’], please, try latest build. It should fix your issue

Yes, it works now. Thanks!  :slight_smile: