CA Service Management

Expand all | Collapse all

CA SDM error Spell interp failed at show_detail (...) freeaccess.spl:11989

  • 1.  CA SDM error Spell interp failed at show_detail (...) freeaccess.spl:11989

    Posted Aug 13, 2018 09:57 AM

    we are receving below error in stdlogs repeatedly please shre if anyone encountered same issue.
    06/19 11:28:26.47 xxxx web:primary:2 4865 ERROR pcexec.c 6507 Spell interp failed at show_detail (...) freeaccess.spl:11989 | generic_detail (...) freeaccess.spl:18180: Math argument type mismatch



  • 2.  Re: CA SDM error Spell interp failed at show_detail (...) freeaccess.spl:11989

    Broadcom Employee
    Posted Aug 13, 2018 12:57 PM

    Narasimha, it is most likely due to some customization on some detail_xxxxx.htmpl files. Thanks _Chi



  • 3.  Re: CA SDM error Spell interp failed at show_detail (...) freeaccess.spl:11989

    Posted Sep 25, 2018 05:22 AM

    HI Chi Chen,

     

    is there any way to find form name which had wrong code(customization).. please suggest.



  • 4.  Re: CA SDM error Spell interp failed at show_detail (...) freeaccess.spl:11989

    Broadcom Employee
    Posted Sep 25, 2018 09:39 AM

    you would need to trace on webengine to see it

    pdm_trace web:primary:2 ON

    later

    pdm_trace web:primary:2 OFF

    and then review the trace log file



  • 5.  Re: CA SDM error Spell interp failed at show_detail (...) freeaccess.spl:11989

    Posted Mar 06, 2019 04:19 AM

    Hi Chi Chen,

     

    as per the traces found below:

     

    It seems KEEP.edit_from_viewer value coming as nil where as in QA it is coming as 1 when we switch between KD detail and User view.

    However can not reproduce the error in QA. 

     

    Below are the traces:


    From: @|web:primary:3
    To: @|web:primary:3|D17SBA [Connection_args]
    BPMessage
    {
    method = call_attr
    arg 0 = (string)KEEP.edit_from_viewer
    arg 1 = (string)get_val
    reply object = G17SBA [Func_exec_catcherSCRNX]
    reply method = get_attr
    }

    From: @|web:primary:3
    To: @|web:primary:3|G17SBA [Func_exec_catcherSCRNX]
    BPMessage
    {
    method = get_attr
    arg 0 = nil
    }

    From: @|web:primary:3
    To: @|web:primary:3|G17SBA [Func_exec_catcherSCRNX]
    BPMessage
    {
    method = get_attr
    arg 0 = nil
    }

    pcexec.c 6507 ERROR Spell interp failed at show_detail (...) freeaccess.spl:11989 | generic_detail (...) freeaccess.spl:18180: Math argument type mismatch
    bpagent.c 1560 SIGNIFICANT ServiceDesk trace written due to watchpoint: pcexec.c 6507



  • 6.  Re: CA SDM error Spell interp failed at show_detail (...) freeaccess.spl:11989

    Broadcom Employee
    Posted Mar 06, 2019 10:46 PM

    Is the file kt_document_options.htmpl customized in your environment?

    Can you attach the complete trace?



  • 7.  Re: CA SDM error Spell interp failed at show_detail (...) freeaccess.spl:11989

    Posted Mar 06, 2019 12:13 PM

    What Version of SDM are you running?
    Are there any changes in kt_document_options.htmpl

    or are their changes done to kd_content_tab.htmpl

    Regards

    ...........Michael



  • 8.  Re: CA SDM error Spell interp failed at show_detail (...) freeaccess.spl:11989

    Posted Mar 07, 2019 10:48 AM

    Hi Michael,

     

    SDM version: 17.0

    Yes, kt_document_options.htmpl and kd_content_tab.htmpl are customized.

     



  • 9.  Re: CA SDM error Spell interp failed at show_detail (...) freeaccess.spl:11989

    Posted Mar 07, 2019 11:27 AM

    hmm. do you get the error if you remove the customized Versions?

    In kt_document_options.htmpl  I have three occurences of KEEP.edit_from_viewer

    One in function EditReworkDocument

    And two in function EditDocument

     

    in  kd_content_tab.htmpl only one.

    <input type=hidden name=KEEP.edit_from_viewer value="$args.KEEP.edit_from_viewer" />

     

    I guess These are mandatory.Please check you customization.

     

    Regards

    ........Michael



  • 10.  Re: CA SDM error Spell interp failed at show_detail (...) freeaccess.spl:11989

    Posted Mar 14, 2019 06:00 AM

    Hi Michael,

     

    I have done search, found KEEP.edit_from_viewer  EditReworkDocument and EditDocument and in kd_content_tab.htmpl  only.

     

    No other customization found. Please suggest next steps.



  • 11.  Re: CA SDM error Spell interp failed at show_detail (...) freeaccess.spl:11989

    Posted Mar 14, 2019 09:06 AM

    First of all , I'd like you to confirm, that the mentioned problem is related to the changes done to these htmpl's

    Here is my suggstion:

    • remove both files ( kt_document_options.htmpl and kd_content_tab.htmpl ) from your site/mods/htmpl/default and site/mods/htmpl/web/analyst directories
      Store them somewhere in a temporary location.
    • do a pdm_webcache
    • relogin to SDM and try to reproduce the Problem.
    • If the error is gone, great ! This asures, that we don't have a product Problem here, but it is somehow related to your customization.
    • To fix these files, it is essential to understand , what has been changed in these files and why.
    • sometimes its helpful to compare customized files with the original ones in the bopcfg/www/htmpl directory. 

     

    Hope that helps somehow.

    Best regards

    ...........Michael



  • 12.  Re: CA SDM error Spell interp failed at show_detail (...) freeaccess.spl:11989

    Posted Mar 19, 2019 09:41 AM

    Hi Michael

    Thank you.I will check these and  update.