PR# 19173 An attempt to generate documentation for EiffelStudio caused an exception trace

Problem Report Summary
Submitter: alexk_es
Category: EiffelStudio
Priority: High
Date: 2015/12/15
Class: Bug
Severity: Critical
Number: 19173
Release: 15.11.9.8202
Confidential: No
Status: Closed
Responsible:
Environment: Windows 10
Synopsis: An attempt to generate documentation for EiffelStudio caused an exception trace

Description
In EiffelStudio project that was recompiled a few times I selected from the Main menu "Project/Generate documentation". It caused the trace below.


******************************** Thread exception *****************************
In thread           Root thread            0x0 (thread id)
*******************************************************************************
-------------------------------------------------------------------------------
Class / Object      Routine                Nature of exception           Effect
-------------------------------------------------------------------------------
EB_DOCUMENTATION_WIZARD
                    add_groups_to_cluster_grid @9
<0000000003116B68>                         Feature call on void target.  Fail
-------------------------------------------------------------------------------
EB_DOCUMENTATION_WIZARD
                    add_groups_to_cluster_grid @9
<0000000003116B68>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_DOCUMENTATION_WIZARD
                    fill_cluster_grid @4   
<0000000003116B68>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_DOCUMENTATION_WIZARD
                    show_cluster_selection @5
<0000000003116B68>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_DOCUMENTATION_WIZARD
                    go_to_page @12         
<0000000003116B68>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_DOCUMENTATION_WIZARD
                    next @6                
<0000000003116B68>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EV_NOTIFY_ACTION_SEQUENCE
                    call @21               
<000000000313EBD8>  (From ACTION_SEQUENCE) Routine failure.              Fail
-------------------------------------------------------------------------------
EV_NOTIFY_ACTION_SEQUENCE
                    call @3                
<000000000313EBD8>  (From EV_LITE_ACTION_SEQUENCE)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
EV_BUTTON_IMP       on_bn_clicked @2                                    
<0000000036F19F78>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EV_BUTTON_IMP       process_notification @2
<0000000036F19F78>  (From WEL_BUTTON)      Routine failure.              Fail
-------------------------------------------------------------------------------
EV_HORIZONTAL_BOX_IMP
                    on_wm_command @13      
<0000000018FE7EA8>  (From WEL_COMPOSITE_WINDOW)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
EV_HORIZONTAL_BOX_IMP
                    process_message @8     
<0000000018FE7EA8>  (From WEL_COMPOSITE_WINDOW)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
WEL_DISPATCHER      window_procedure @7                                 
<0000000004598C98>  (From WEL_ABSTRACT_DISPATCHER)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
WEL_DISPATCHER      window_procedure @12                                
<0000000004598C98>  (From WEL_ABSTRACT_DISPATCHER)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
WEL_MSG             dispatch @1                                         
<0000000004598C78>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EV_APPLICATION_IMP  process_message @10                                 
<0000000004597EB8>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EV_APPLICATION_IMP  process_underlying_toolkit_event_queue @6
<0000000004597EB8>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EV_APPLICATION_IMP  process_event_queue @2                              
<0000000004597EB8>  (From EV_APPLICATION_I)
                                           Routine failure.              Fail
-------------------------------------------------------------------------------
EV_APPLICATION_HANDLER
                    process_application_event_queue @1
<0000000004598248>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EV_APPLICATION_HANDLER
                    launch @3              
<0000000004598248>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EV_APPLICATION      internal_launch_application @2
<0000000004598218>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EV_APPLICATION      launch @4                                           
<0000000004598218>                         Routine failure.              Fail
-------------------------------------------------------------------------------
ES_GRAPHIC          make @4                                             
<00000000045981F8>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_KERNEL           make @4                                             
<0000000004445BD8>                         Routine failure.              Fail
-------------------------------------------------------------------------------
EB_KERNEL           root's creation                                     
<0000000004445BD8>                         Routine failure.              Exit
-------------------------------------------------------------------------------
To Reproduce
1. Compile EiffelStudio.
2. Open Generate documentation dialog.
3. Select html/stylesheet.
4. Press OK.
Problem Report Interactions
From:alexk_es    Date:2016/01/12    Status: Closed    Download   
Fixed in rev#98382 by checking that library target is initialized before accessing it. (The library target is initialized when the library is enabled. If the library is disabled by a condition, its target stays void.)