Back button nav bar triggers CoreAnimation error
I have a simple application, in the main window has a table view, that when you click on it, it goes to another page, where it performs a database query.
This page query has two buttons: next and back.
When you click on them more than 6 times and then click the back button in the nav bar triggers the following error in the debug of titanium:
2010-03-12 11:14:39.241 Vade Mecum [8126:20 b] CoreAnimation: ignoring exception: * - [NSCFDictionary contextShutdown:]: unrecognized selector sent to instance 0x51d3aa0
Then the application is terminated. Does anyone know a possible solution or what might be causing this error?
4 Answers
-
Can you post the code in question to pastie.org or gist so we could duplicate? Thanks…
-
final window called by table view
This is the sequence of code. I hope we get to a solution
-
Good news. I was suspicious that this error was caused by the database, do not know why, but …
However, I manipulated the code again and changed the command "Titanium.Database.install('DataBase / system.db', 'SYSDB');"by
"Titanium.Database.open('SYSDB');"
considering that the database was already installed. My application has to end because of some error, however, there is still some errors in the debug, such as:
2010-03-12 14:41:54.903 Vade Mecum [8319:20 b] - [NSCFDictionary contextShutdown:]: unrecognized selector sent to instance 0x8e42e10
2010-03-12 14:41:54.904 Vade Mecum [8319:20 b] CoreAnimation: ignoring exception: - [NSCFDictionary contextShutdown:]: unrecognized selector sent to instance 0x8e42e10
2010-03-12 14:42:09.721 Vade Mecum [8319:20 b] - [NSCFDictionary contextShutdown:]: unrecognized selector sent to instance 0x8e3c640
2010-03-12 14:42:09.721 Vade Mecum [8319:20 b] CoreAnimation: ignoring exception: - [NSCFDictionary contextShutdown:]: unrecognized selector sent to instance 0x8e3c640Well, I think it's a begin right? Because apparently to me, that would improve the stability of Titanium.
-
this looks to be a bug. you should be able to call install multiple times and it should only install once.