?:0: Attempt To Call Method 'setfillcolor' (A Nil Value)

I am also experiencing this problem … unless there is a new way to modify a row upon touch that i don’t know about to show that it is selected and change the row’s height, bg color, etc …

I have to delete all rows then scroll to the selected row.

I experience the same issue as is originally reported:

?:0: attempt to call method 'setFillColor' (a nil value) stack traceback: &nbsp;&nbsp;&nbsp;&nbsp;[C]: in function 'setFillColor' &nbsp;&nbsp;&nbsp;&nbsp;?: in function '\_listener' &nbsp;&nbsp;&nbsp;&nbsp;?: in function \<?:141\> &nbsp;&nbsp;&nbsp;&nbsp;?: in function \<?:218\> 2013-06-04 14:01:51.687 Corona Simulator[72920:707] ErrorMessage: Error Message: ?:0: attempt to call method 'setFillColor' (a nil value)&nbsp; &nbsp;

Is there a work-around for this?

Any update on progress on this issue?

Is there a better way to modify a row’s appearance dynamically without the crazy … delete everything and then reassert it all?

thanks!

Cheers,

m

it has now been three months since i reported this is there any progress on this matter?

Please let me know

+1

Hey guys,

Just letting you know that this has been fixed and is in testing. If everything is ok, the fix will be available in a daily build very soon.

Thanks,

Alex

Have the same bug with 2013.1137… some fix soon?

[quote name=“Danwu” post=“196078” timestamp=“1375226704”]Have the same bug with 2013.1137… some fix soon?[/quote] I believe it’s been fixed in the daily builds (1166) and since released as updated open source code on GitHub. You can get it there. See the sticky post at the top of this sub forum.

it has now been three months since i reported this is there any progress on this matter?

Please let me know

+1

Hey guys,

Just letting you know that this has been fixed and is in testing. If everything is ok, the fix will be available in a daily build very soon.

Thanks,

Alex

Have the same bug with 2013.1137… some fix soon?

[quote name=“Danwu” post=“196078” timestamp=“1375226704”]Have the same bug with 2013.1137… some fix soon?[/quote] I believe it’s been fixed in the daily builds (1166) and since released as updated open source code on GitHub. You can get it there. See the sticky post at the top of this sub forum.

same error i got like 

mslack.

so is any related issue of build sdk of corona ? ( i am using this corona sdk Version 2013.1202 (2013.8.28)).

so please what to do ?

Hi @amit.jec2005.  Build 1202 is quite old.  In fact, unless you are doing Android only, you can’t deploy to Apple with that build.  We produced a special build 1262 as the last Graphics 1.0 but even then, Apple will only accept builds that have ads in them with that build.

The current public release is 2187a.  I would highly recommend updating your Corona SDK to that version.  It uses the Graphics 2.0 engine and you will have to make some changes.  See the Graphics 2.0 Migration guide:

http://docs.coronalabs.com/guide/graphics/migration.html

same error i got like 

mslack.

so is any related issue of build sdk of corona ? ( i am using this corona sdk Version 2013.1202 (2013.8.28)).

so please what to do ?

Hi @amit.jec2005.  Build 1202 is quite old.  In fact, unless you are doing Android only, you can’t deploy to Apple with that build.  We produced a special build 1262 as the last Graphics 1.0 but even then, Apple will only accept builds that have ads in them with that build.

The current public release is 2187a.  I would highly recommend updating your Corona SDK to that version.  It uses the Graphics 2.0 engine and you will have to make some changes.  See the Graphics 2.0 Migration guide:

http://docs.coronalabs.com/guide/graphics/migration.html

Anyone has noticed tableview still has this error in graphics 2.0

I’m getting this error due to corona table view

Runtime error

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

stack traceback:

?: in function ‘touch’

?: in function <?:937>

?: in function <?:221>

Corona SDK Version 2015.2646 (2015.5.27)

it mostly happened when tableview:reloadData() called

Regards,
Usman Mughal

Hi @Usman,

I have not seen this any time recently. Can you post your widget code so I can inspect? Are you possibly still running in Graphics 1.0 “compatibility” mode?

Brent

No, I have upgraded project to graphics 2.0

I can’t upload code right now but it can be reproduced. I can upload code latter if needed. Main issue is with tableview:reloadData(). By the way I have fixed it by added custem function of relaod data.

Steps may help to reproduce issue:
1 - Create tableview
2 - Add row touch and row render functions.(In my case row has a full image(background), a lable and overlay to dull the row little bit)
3 - Add tableview:reloadData() in row touch function
4 - Play with tableview scrolling(scroll and touch or touch and scroll)

I hope it will help. Thanks

Regards,
Usman Mughal

Anyone has noticed tableview still has this error in graphics 2.0

I’m getting this error due to corona table view

Runtime error

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

stack traceback:

?: in function ‘touch’

?: in function <?:937>

?: in function <?:221>

Corona SDK Version 2015.2646 (2015.5.27)