Languages

Menu
Sites
Language
Error - "ID" has closed unexpectedly

Application imported from BADA does not start on emulator. I am getting error [APP has closed unexpectedly] on emulator screen.

This is log:

05-17 19:42:18.377 : ERROR / Tizen::Base ( 2320 : 2320 ) : result Tizen::Base::String::SubString(int, Tizen::Base::String&) const (1113). > [E_OUT_OF_RANGE] The startIndex(11) MUST be greater than or equal to 0, and less than the length of this string(11).
05-17 19:42:18.377 : ERROR / Tizen::Base ( 2320 : 2320 ) : result Tizen::Base::String::SubString(int, Tizen::Base::String&) const (1113). > [E_OUT_OF_RANGE] The startIndex(11) MUST be greater than or equal to 0, and less than the length of this string(11).
05-17 19:42:18.377 : INFO / Beer_Industry ( 2320 : 2320 ) : int OspMain(int, char **) (24). > Application started.
05-17 19:42:18.387 : ERROR / Tizen::Ui ( 2320 : 2320 ) : Tizen::Ui::_KeyEventManagerImpl::_KeyEventManagerImpl() (146). > [E_SYSTEM] pKeyMgr == null
05-17 19:42:18.397 : ERROR / Tizen::Base ( 2320 : 2320 ) : result Tizen::Base::String::SubString(int, Tizen::Base::String&) const (1113). > [E_OUT_OF_RANGE] The startIndex(11) MUST be greater than or equal to 0, and less than the length of this string(11).

 

Can onyone help me ?

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

4 Replies
Pushpa G
Can you paste your bada app here, so that i can check onit further and let you know if there is any issue
Przemyslaw Klosok
I can't paste the code here . It is over 30000 lines.
Pushpa G
[E_OUT_OF_RANGE]: means The specified index is out of range, or the specified startIndex is either greater than or equal to the length of the current instance or less than 0. startIndex The starting index of the substring Check in Tizen IDE->Help->help contents->Tizen Native App Programming > API Reference > Namespace List > Tizen::Base >Tizen::Base::String Class Referenceresult Tizen::Base::String::SubString (int startIndex, String & out) const Can you paste the code snippet at which line this issue is happening
Pushpa G
Or, open the src folder (in project explorer->your project)and the cpp file in which there is error red cross mark and check on it, send me that code on which there is red line(Error), it should be replaced with the matchable code in Tizen. The convertor converts some things like filepath etc as per Tizen, but you have to replce the changed API finctions