U10.3: IDE abort when parallel editing 2 forms

Author: ulrichmerkel@web.de (ulrich-merkel)

Start with a fresh 10.3 project environement [startup] Uniface : [MSW] 10.3.01.000, (Aug 3 2018), $ioprint=0 Create a project: MYPROJECT Add to the project 2 modal components: UCFRM_1, UCFRM_2 Open both of the components now. In UCFRM_1, go to "write Script" and edit some lines. Then switch to UCFRM_2, go to "write Script" and edit some lines as well. Then just stay in UCFRM_2 editor and wait a little. Exception is thrown: Error : -100000 Description : Exclusive transaction already in progress for a different controller. Context : [context] [TX-Url] = "cpt:UCFRM_2" [TX-Instance] = "_ALIAS00000046" [Current pUrl] = "cpt:UCFRM_1" [Current Instance] = "_ALIAS00000030" Start with UCFRM_2 and then UCFRM_1 will revert the exception context ============== Exception log [14-aug-18 10:12:16] ================= Error : -100000 Description : Exclusive transaction already in progress for a different controller. Context : [context] [TX-Url] = "cpt:UCFRM_1" [TX-Instance] = "_ALIAS00000006" [Current pUrl] = "cpt:UCFRM_2" [Current Instance] = "_ALIAS0000001D"   P.S. More verbose material already on it's way to Amsterdam

3 Comments

  1. So I am not the only one who gets these Error: -100000 Messages. Working with only one IDE open. After some time of working (edit, compile, test) i get the error : [] User action failed to complete. Unexpected exception. [error=-100000] It is illegal to call this operation while there are pending changes. What pending changes???

    ==============  Exception log  [13-aug-18 23:48:54]  =================
      Error       : -100000
      Description : It is illegal to call this operation while there are pending changes.
      Context     : 
    [context] = ""
    
      Callstack   : 
        Component  Instance        Type                Proc Container  Proc Module  Line Nr                           Code
        ---------  --------        ----                --------------  -----------  -------                           ----
        UC_CPT     _ALIAS00000006  CPT.UDO             CLL                          collOperation GETUDO              17    return (THROWCODINGEXCEPTION("It is illegal to call this operation while there are pending changes.","",$proccontext("STACK")))
        UC_CPT     _ALIAS00000006  SCRIPT_EDITOR.VIEW  CLL                          collOperation PROCESSNODEVALUE    31    activate $collhandle(CPT.UDO)->getUdo(VUDO)                                                                                    
        UC_CPT     _ALIAS00000006  .                   OPR                          operation PROCESSNODEVALUE        9      $collhandle(VCONTROLENTITY)->processNodeValue(PPROCID,VVIEW,PNODE,PSTATE,PDATA)                                               
        UV_CODE    _ALIAS0000002F  CODEBOX.LAYOUT      MOD                          entry GETNODEVALUE                13    activate PCONTROLLER."PROCESSNODEVALUE"( VPROCID , PNODE , PSTATE , PDATA )                                                    
        UV_CODE    _ALIAS0000002F  CODEBOX.LAYOUT      OCC                          occOperation VM_WO_REFRESH_VALUE  2     VATTVALUE = GETNODEVALUE(VSTATENODE,STATEROOT.CODEBOX,DATAROOT.CODEBOX,$CONTROLLER$)                                           
        UV_CODE    _ALIAS0000002F  CODEBOX.LAYOUT      OCC                          occOperation VM_WO_REFRESH        36     $occhandle(CODEBOX.LAYOUT)->"vm_wo_refresh_%%VATTID"(VSTATENODE,VATTID)                                                       
        UV_CODE    _ALIAS0000002F  CODEBOX.LAYOUT      CLL                          collOperation VM_WE_REFRESHUDE    63     $occhandle(CODEBOX.LAYOUT)->vm_wo_refresh(VSTATENODE,PDATANODE,PSTATEROOT,PDATAROOT)                                          
        UV_CODE    _ALIAS0000002F  CODEBOX.LAYOUT      CLL                          collOperation VM_WE_REFRESH       43     $collhandle(CODEBOX.LAYOUT)->vm_we_refreshUde(PWIDGETENT,PDATANODE,PSTATEROOT,PDATAROOT,VSTATENODE,VCUROCC,VSELLOCS,VSELOBJS) 
        UV_CODE    _ALIAS0000002F  CODEBOX.LAYOUT      MOD                          entry LPREFRESHVIEW               34     $collhandle(VENTITYNAME)->vm_we_refresh(VSTATENODE,PDATANODE,PSTATE,PDATAROOT)                                                
        UV_CODE    _ALIAS0000002F  .                   OPR                          operation VM_REFRESH              57    call LPREFRESHVIEW(PSTATE,PDATANODE,PDATAROOT)                                                                                 
        UC_CPT     _ALIAS00000006  .                   MOD                          entry VC_REFRESHVIEW              62    activate VVIEWINSTNAME."VM_REFRESH"( PSTATE , PDATA->*{1} , PDATA , PCMDRESULT )                                               
        UC_CPT     _ALIAS00000006  .                   MOD                          entry VC_REFRESHVIEWHIERARCHY     2     call VC_REFRESHVIEW(PSTATE,PDATA,PCMDRESULT)                                                                                   
        UC_CPT     _ALIAS00000006  .                   MOD                          entry VC_REFRESHVIEWHIERARCHY     33    call VC_REFRESHVIEWHIERARCHY($STATE$->"%%VCONTAINEDVIEWKEY",PDATA,PCMDRESULT)                                                  
        UC_CPT     _ALIAS00000006  .                   MOD                          entry VC_REFRESHVIEWHIERARCHY     33    call VC_REFRESHVIEWHIERARCHY($STATE$->"%%VCONTAINEDVIEWKEY",PDATA,PCMDRESULT)                                                  
        UC_CPT     _ALIAS00000006  .                   MOD                          entry VC_REFRESHVIEWHIERARCHY     33    call VC_REFRESHVIEWHIERARCHY($STATE$->"%%VCONTAINEDVIEWKEY",PDATA,PCMDRESULT)                                                  
        UC_CPT     _ALIAS00000006  .                   MOD                          entry VC_REFRESHVIEWHIERARCHY     33    call VC_REFRESHVIEWHIERARCHY($STATE$->"%%VCONTAINEDVIEWKEY",PDATA,PCMDRESULT)                                                  
        UC_CPT     _ALIAS00000006  .                   MOD                          entry VC_REFRESHVIEWS             53    call VC_REFRESHVIEWHIERARCHY(VTOPVIEWSTATENODE,PDATA,PCMDRESULT)                                                               
        UC_CPT     _ALIAS00000006  .                   OPR                          operation VC_EVENTHANDLER         1351  call VC_REFRESHVIEWS("",UC_GETCMDRESULT())                                                                                     
        UC_CPT     _ALIAS00000006  .                   OPR                          operation PRIV_MESSAGEHANDLER     133   activate $instancename."VC_EVENTHANDLER"( VMSGDATA )                                                                           
        UC_MAIN    UC_MAIN         .                   MOD                          entry PROCESSMESSAGES             43    activate VINSTANCE."PRIV_MESSAGEHANDLER"( VMESSAGE )                                                                           
        UC_MAIN    UC_MAIN         .                   TRG                          trigger RECEIVEMESSAGE            2     call PROCESSMESSAGES()                                                                                                         
        IDE                        .                   MOD                          entry START_IDE                   312   apstart                                                                                                                        
        IDE                        .                   TRG                          trigger APSTART                   47    call START_IDE()                                                                                                               
    

    Author: Lauterbach (norbert.lauterbach@infraserv.com)
  2. We all are aware that all the "elsecases" lead to different Error: -100000 Messages But in case of the pending changes, a simple close and reopen of the tab seems to unlock the situation and we can continue.


    Author: ulrich-merkel (ulrichmerkel@web.de)
  3. As I stopped working with an IDE which aborts under normal usage (editing in 2 objects), but I want to continue my exploration of the new U10.3 in the next couple of days. Is there a patch deliverydate for a U10.3 without these severe problems reported? TIA from Frankfurt/Germany, Uli


    Author: ulrich-merkel (ulrichmerkel@web.de)