Archived:Carbide UI Designer app with empty Options menu panics with 3rd party FEP (Known Issue)
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.
Create a sample application using Carbide UI Designer (part of Carbide.c++) with empty menu items. If you click on the Options key of the UI Designer application with the third party FEP running in the background, the application panics with E32USER-CBase21.
Article Metadata
Tested with
Devices(s): Nokia N73, Nokia N95, Nokia 6210 Navigator
Compatibility
Platform(s): S60 3rd Edition
S60 3rd Edition, FP1
S60 3rd Edition, FP2
S60 3rd Edition, FP1
S60 3rd Edition, FP2
Article
Created: User:Technical writer 1
(04 Sep 2008)
Last edited: hamishwillee
(15 Jun 2012)
Description
When pressing the Options key, the CEikMenuBar::StartDisplayingMenuBarL() function is invoked. The code does not check if the array of the menu pane has elements, so a negative index is used and this causes the application to panic.
Solution
Populate the menu with menu items in Carbide UI Designer.

