Error on entering scene: "Attempt to call method 'rotate' (a nil value)"

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:

$&nbsp; grep -i ':rotate ' \*lua $&nbsp;

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?

Hi @corona273,

Are you using a scene transition effect, and if so, which one?

Brent

Brent:

Interesting! I hadn’t thought of that. I am using a scene transition effect – fromBottom.

Hi @corona273,

OK, just for testing, can you omit the effect entirely? Meaning, just show the scene… no effect defined at all… and see if the error still pops up.

Brent

Hi @corona273,

Are you using a scene transition effect, and if so, which one?

Brent

Brent:

Interesting! I hadn’t thought of that. I am using a scene transition effect – fromBottom.

Hi @corona273,

OK, just for testing, can you omit the effect entirely? Meaning, just show the scene… no effect defined at all… and see if the error still pops up.

Brent