getting KERN-EXEC 3 panic while implementing information dialog in UIQ 3

Login to reply to this topic.
Wed, 2008-02-27 13:49
Joined: 2008-01-03
Forum posts: 21

Shocked

i am implementing a info dialog in uiq 3

its like there is a list box implimented and in the HandleListBoxEventL i am implementing the
info dialog
the code goes like this :-

void CImailView::HandleListBoxEventL(CQikListBox* aListBox, TQikListBoxEvent aEventType, TInt aItemIndex, TInt /*aSlotId*/)
{
switch(aEventType)
{
case EEventItemConfirmed:
case EEventItemTapped:
{
switch (aItemIndex)
{
case 0:

// Retrieve list box data, the data returned is Open().
MQikListBoxData* listBoxData = aListBox->Model().RetrieveDataL(aItemIndex);
// Make an InfoMsg on the name of the confirmed or tapped list box item
iEikonEnv->InfoMsg(listBoxData->Text(EQikListBoxSlotText1));
// When done using the list box data it must call Close().
listBoxData->Close();
break;
case 1:
LaunchTextDialogL();
break;
case 2:
// Displays an information dialog
iEikEnve->InfoWinL(R_DIALOGS_LISTVIEW_INFORMATION_DIALOG_TITLE, R_DIALOGS_LISTVIEW_INFORMATION_DIALOG_TEXT);
break;

in case 2 i am implimenting a the info message n getting a panic in the same line
KERN EXEC 3

can any body help
or tell me the mistake in the code written by mee

plz help


Wed, 2008-02-27 14:09
Joined: 2005-11-20
Forum posts: 1242
KERN EXEC 3

iEikEnve->InfoWinL(R_DIALOGS_LISTVIEW_INFORMATION_DIALOG_TITLE, R_DIALOGS_LISTVIEW_INFORMATION_DIALOG_TEXT);

Is 'iEikEnve' simply a typo? Can't probably be right, anyway.

Did you check whether the two resource id's that you give really point to strings (and not some other kind of resources that would be inappropriate)?

And many times, simply by looking at the call chain in the debugger I got good hints about the source of the problem, in this way: Is it 'InfoWinL' itself which causes the crash, or some method that is called within that method? (Of course UIQ source is not available, but the call chain is.)


René Brunner

Thu, 2008-02-28 06:22
Joined: 2008-01-03
Forum posts: 21
KERN-EXEC 3 panic while implementing information dialog

thanks Boss
u were right the problem was in the "iEikEnve"
that solved the problem

  • Login to reply to this topic.