Code ruined when updating to latest build

I have updated Corona to the latest build twice since I originally bought it less than one year ago. Both times, my app has been totally ruined when compiling with the new build.

Is it too much to ask for this platform to be backward compatible?

Not impressed or happy. 

In addition, this time around there is no clue how to debug the issue… No file, no line, no function name. 

2013-04-20 15:20:37.842 Corona Simulator[57219:f03] Runtime error

?:0: attempt to call method ‘setSequence’ (a nil value)

stack traceback:

    [C]: in function ‘setSequence’

    ?: in function ‘_setState’

    ?: in function <?:931>

    ?: in function <?:218>

What version did you upgrade from?   The new widgets.* library got a significant re-write.  We try to keep backward compatibility unless that is what’s broken in which case we have to fix it moving forward.

I don’t remember the version number, but I updated the end of 2012.

I’ll start with the widgets then, I’ll comment out all code and start rebuilding, 

Any clues on “setSequence”?

Thanks.

No not really. 

In addition, this time around there is no clue how to debug the issue… No file, no line, no function name. 

2013-04-20 15:20:37.842 Corona Simulator[57219:f03] Runtime error

?:0: attempt to call method ‘setSequence’ (a nil value)

stack traceback:

    [C]: in function ‘setSequence’

    ?: in function ‘_setState’

    ?: in function <?:931>

    ?: in function <?:218>

What version did you upgrade from?   The new widgets.* library got a significant re-write.  We try to keep backward compatibility unless that is what’s broken in which case we have to fix it moving forward.

I don’t remember the version number, but I updated the end of 2012.

I’ll start with the widgets then, I’ll comment out all code and start rebuilding, 

Any clues on “setSequence”?

Thanks.

No not really. 

My App is back up and stable finally. It was mostly widgets that were causing issues as suggested.

There is an issue I haven’t been able to solve.

With the old widgets.newButton I used to create a button, then insert an icon into the button, so buttons share the same look/feel and have the option of an icon.

With the new widgets, I cannot get the icon to display inside the widget:

local img = display.newImage("gfx/icons/" .. icon .. "\_icon&32.png") widget:insert( img )

Also tried:

widget.\_view:insert( img )

Any ideas?

EDIT…

Problem sorted, using a group, too easy!

My App is back up and stable finally. It was mostly widgets that were causing issues as suggested.

There is an issue I haven’t been able to solve.

With the old widgets.newButton I used to create a button, then insert an icon into the button, so buttons share the same look/feel and have the option of an icon.

With the new widgets, I cannot get the icon to display inside the widget:

local img = display.newImage("gfx/icons/" .. icon .. "\_icon&32.png") widget:insert( img )

Also tried:

widget.\_view:insert( img )

Any ideas?

EDIT…

Problem sorted, using a group, too easy!