I’m getting this error occasionally when entering a scene in Corona SDK:
2015-05-21 12:53:00.493 Corona Simulator[26226:6769409] Runtime error ?:0: attempt to call method 'rotate' (a nil value) stack traceback: ?: in function '\_listener' ?: in function \<?:141\> ?: in function \<?:221\> 2015-05-21 12:53:00.493 Corona Simulator[26226:6769409] error handleSystemErrors: received error message: ?:0: attempt to call method 'rotate' (a nil value) 2015-05-21 12:53:00.493 Corona Simulator[26226:6769409] error handleSystemErrors: received error type: nonexistent method error 2015-05-21 12:53:00.494 Corona Simulator[26226:6769409] debug handleSystemErrors: texture memory: 22.14 2015-05-21 12:53:00.494 Corona Simulator[26226:6769409] debug handleSystemErrors: memory: 13.73 2015-05-21 12:53:00.494 Corona Simulator[26226:6769409] debug handleSystemErrors: print output mode indicates development version, flagging error
That scene uses the widget library and tableview but does not include a single call to a “rotate” method. In fact, there is no reference in any of my .lua files to a “rotate” method:
$ grep -i ':rotate ' \*lua $
Besides, as you can tell from the unhelpful stack traceback, it seems to be an SDK bug.
I have not found a reliable method to reproduce this consistently; it seems to happen about 10% of the time.
I’m using daily build 2015.2638 but have noticed it on earlier daily builds as well.
Has anyone else encountered this?