When the error happens it is in the main menu. I comment out the include files that have additonal levels of menus below and I will get the same error. However as I mentioned a bunch of my screens have menus as well.
Object oCommandBarSystem is a cCJCommandBarSystem
Set pbTimerUpdate to True
Procedure OnCreateCommandBars
Handle hoOptions
Get OptionsObject to hoOptions
Forward Send OnCreateCommandBars
End_Procedure
Object oMenuBar is a cCJMenuBar
Object oCopyright_Menu is a cCJMenuItem
Set psCaption to "Copyright Menu"
Set psTooltip to "Copyright Menu"
Set peControlType to xtpControlPopup
Object oProcessing_Menu is a cCJMenuItem
Set psCaption to "Processing"
Set peControlType to xtpControlPopup
//#Include SR_MENU_Copyright_Processing.pkg
End_Object
Object oReports_Menu is a cCJMenuItem
Set psCaption to "Reports"
Set peControlType to xtpControlPopup
//#Include SR_MENU_Copyright_Reports.pkg
End_Object
Object oSetups_Menu is a cCJMenuItem
Set psCaption to "Setups"
Set peControlType to xtpControlPopup
//#Include SR_MENU_Copyright_Setup.pkg
End_Object
End_Object
End_Object
End_Object