Corona example app - fails with runtime error - its hard enough to learn new api, while having to debug code

0 votes

 

Using latest - corona public build - 2830

 

ERROR: Runtime error
/Users/Karey/Downloads/App42_Corona_SDK-master/sample/App42-LeaderBoard-Sample/login.lua:85: attempt to concatenate upvalue 'emailTextField' (a nil value)
stack traceback:
/Users/Karey/Downloads/App42_Corona_SDK-master/sample/App42-LeaderBoard-Sample/login.lua:85: in function 'onException'
/Users/Karey/Downloads/App42_Corona_SDK-master/sample/App42-LeaderBoard-Sample/App42-Lua-API/Util.lua:37: in function 'throwExceptionIfNullOrBlank'
/Users/Karey/Downloads/App42_Corona_SDK-master/sample/App42-LeaderBoard-Sample/App42-Lua-API/UserService.lua:31: in function 'createUser'
/Users/Karey/Downloads/App42_Corona_SDK-master/sample/App42-LeaderBoard-Sample/login.lua:146: in function '_onEvent'
?: in function '?'
?: in function <?:1381>
?: in function <?:205>

asked Mar 6, 2016 in Corona by ebrindle (10 points)

1 Answer

0 votes
Hi Ebrindle,

 

Thanks for sharing the details with us. It seems like emailTextField doesn't contain any value that's why you are having the issue. Could you please pass direct value to the method and let me know if you are able to resolve this issue.

 

Regards.

Himanshu Sharma
answered Mar 7, 2016 by hs00105 (2,005 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...