1、E32USER-CBase 63
只有Pop();delete;
2、E32USER-CBase 64
只有Pop();
3、E32USER-CBase 71
只有PushL();
4、E32USER-CBase 90
只有PopAndDestroy();
5、Alloc:
只有PushL(); Pop();
6、KERN-EXEC 3
1)解引用NULL指针,
2)CCoeControl* CRandomAppView::ComponentControl(TInt aIndex) const
{
switch (aIndex)
{
case 2:
return iQueryType;
default:
return NULL;
}
}
将case 2: 改为case 0:
7、USER 11
字符串赋值时超过iMaxLength
8、USER 44
非NULL指针重复删除
9、WSERV 14
Printing with no active font.
一般是调用DrawText();时未设置字体
10、EIKCOCTL 42
Invalid bitmap index in CColumnListBoxData::Draw()
例如,在rss文件定义了一个选择列表
RESOURCE LISTBOX r_query_type_listbox
{
array_id = r_query_type_listbox_items;
flags = EAknListBoxSelectionList;// | EAknListBoxLoopScrolling;
}
RESOURCE ARRAY r_query_type_listbox_items
{
items =
{
LBUF
{
txt = TransferQuery;
},
LBUF
{
txt = LineQuery;
},
LBUF
{
txt = StationQuery;
}
};
}
在rls文件里
rls_string TransferQuery "/t/t站站查询"
rls_string LineQuery "/t线路查询"
rls_string StationQuery "/t站点查询"
应将rls_string TransferQuery "/t/t站站查询"
改为rls_string TransferQuery "/t站站查询"
20、CONE 8
Environment found window server resources had not been freed
未释放使用资源动态创建的对象
如 iQueryType = new (ELeave) CAknSingleStyleListBox();
TResourceReader reader;
iEikonEnv->CreateResourceReaderLC(reader, R_QUERY_TYPE_LISTBOX);
iQueryType->ConstructFromResourceL(reader);
CleanupStack::PopAndDestroy();
如未delete iQueryType ;则出错;
21、CONE 14
Environment cannot find the specified resource in any resource file
如StringLoader::LoadLC(R_HTTP_TX_SUCCESSFUL); 但R_HTTP_TX_SUCCESSFUL没在资源文件中定义
22、CONE 44
Control being destroyed is still on the control stack,
未调用RemoveFormStack();
更详细的可以参见SDK文档:
2nd: Developer Library » API Reference » System panic reference
3nd: Symbian OS v9.2 » Symbian OS reference » System panic reference
待续...............................