I am using build 2185
I have an overlay that has a simple picker wheel in it.
When the overlay is called i get a bug down in some internal Corona Code. I tried removing the picker wheel and the overlay is just fine.
Below you will find the overlay i am using … i put it inside of a timer so i can be sure that it is adding the picker wheel that is causing the issue. So the overlay loads just fine then 2 seconds later i get the error.
NOTE: All is fine until i go to the ios device or the simulator and that is when i see this error not on the corona simulator.
Seems that some internal code is not working out so well:
?:0: attempt to index field ‘colours’ (a nil value)
Any thoughts on what may be going on are most welcome.
Cheers,
marc
Feb 28 11:46:27 macbook2013.missingmarble.com ArcherZUpshot[59531] \<Warning\>: Runtime error ?:0: attempt to index field 'colours' (a nil value) stack traceback: ?: in function \<?:1116\> (tail call): ? ?: in function '?' ?: in function \<?:392\> (tail call): ? ?: in function \<?:122\> (tail call): ? ?: in function '\_listener' ?: in function \<?:141\> ?: in function \<?:218\> Feb 28 11:46:27 macbook2013.missingmarble.com ArcherZUpshot[59531] \<Warning\>: ErrorMessage: Error Message: ?:0: attempt to index field 'colours' (a nil value) StackTrace: stack traceback: ?: in function \<?:1116\> (tail call): ? ?: in function '?' ?: in function \<?:392\> (tail call): ? ?: in function \<?:122\> (tail call): ? ?: in function '\_listener' ?: in function \<?:141\> ?: in function \<?:218\> Feb 28 11:46:27 macbook2013.missingmarble.com ArcherZUpshot[59531] \<Warning\>: Error: ?:0: attempt to index field 'colours' (a nil value) Feb 28 11:46:27 macbook2013.missingmarble.com ArcherZUpshot[59531] \<Warning\>: Trace: stack traceback: ?: in function \<?:1116\> (tail call): ? ?: in function '?' ?: in function \<?:392\> (tail call): ? ?: in function \<?:122\> (tail call): ? ?: in function '\_listener' ?: in function \<?:141\> ?: in function \<?:218\> Feb 28 11:46:27 macbook2013.missingmarble.com ArcherZUpshot[59531] \<Warning\>: Runtime error ?:0: attempt to perform arithmetic on field 'y' (a nil value) stack traceback: ?: in function '\_manageRowLifeCycle' ?: in function \<?:512\> ?: in function \<?:218\> Feb 28 11:46:27 macbook2013.missingmarble.com ArcherZUpshot[59531] \<Warning\>: ErrorMessage: Error Message: ?:0: attempt to perform arithmetic on field 'y' (a nil value) StackTrace: stack traceback: ?: in function '\_manageRowLifeCycle' ?: in function \<?:512\> ?: in function \<?:218\> Feb 28 11:46:27 macbook2013.missingmarble.com ArcherZUpshot[59531] \<Warning\>: Error: ?:0: attempt to perform arithmetic on field 'y' (a nil value) Feb 28 11:46:27 macbook2013.missingmarble.com ArcherZUpshot[59531] \<Warning\>: Trace: stack traceback: ?: in function '\_manageRowLifeCycle' ?: in function \<?:512\> ?: in function \<?:218\> Feb 28 11:46:27 macbook2013.missingmarble.com ArcherZUpshot[59531] \<Warning\>: ERROR: Error during request, code: -1004, details: Could not connect to the server. Feb 28 11:46:27 macbook2013.missingmarble.com ArcherZUpshot[59531] \<Warning\>: Runtime error ?:0: attempt to perform arithmetic on field 'y' (a nil value) stack traceback: ?: in function '\_manageRowLifeCycle' ?: in function \<?:512\> ?: in function \<?:218\> Feb 28 11:46:27 macbook2013.missingmarble.com ArcherZUpshot[59531] \<Warning\>: ErrorMessage: Error Message: ?:0: attempt to perform arithmetic on field 'y' (a nil value) StackTrace:
timer.performWithDelay(2000, function () self.columnData = {} self.columnData[1] = {} self.columnData[1].labels = {"TEST"} self.columnData[1].align = "left" self.columnData[1].startIndex = 1 -- create pickerWheel widget self.picker = widget.newPickerWheel{ top=95, fontSize=14, font=BoldFontName, columns=self.columnData, } group:insert(self.picker) end)