IBM Support

JR45932: UNTERMINATED STRING LITERAL EXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • PMR #:27244,000,672
    PMR Description:
    
    Customer get "unterminated string literal" exception when
    binding a
    complex variable with 'Customer HTML' in new coach
    
    
    PMR Recreate steps:
    1)create a human service
    2)drag a Server Script and a new coach
    3)new a Business Object, named :NameValuePair
    which include two variable name(String) and value(string)
    4)create a variable named: a whose type is NameValuePair
    5)in the Implementation of Server Script, paste below code and
    bind to
    tw.local.a.name
    <script>
    function aa(){
        alert("a");
    }
    </script>
    6)in the new coach, drag 'Custom HTML' and bind to
    tw.local.a.name
    7)run the hunman service
    The output is :
    ------
    ",value:""}} this.system =
    {user_id:"9",user_loginName:"admin",user_fullName:"Administrator
    ",user_l
    ocaleLanguage:"en",user_localeCountry:"US"} this.epv = {}
    this.resource
    = {} this.systemData = {zComponentId :
    "3028.d062547d-1d91-4a28-ba15-2920749c50bc", zComponentName :
    "CoachNG",
    zTaskId : "p1", applicationId : "2", applicationInstanceId :
    "guid:11e8187a0a114dae:-349da118:13cebc2b38b:-7ffe",
    zWorkflowState :
    "3", zDbg : "0", boundaryEventInformation : [ { boundaryEventID
    :
    "boundaryEvent_1", endStateID :
    "b3d6cbf0-caba-4b01-9b91-da1ad65f06ed" }
    ] } }; //initData engine.initConfig = function() { var configId
    =
    "config1"; this.options[configId] = { _metadata : { visibility :
    engine.resolveStaticOptionValue.call(this, configId,
    "_metadata.visibility", "DEFAULT"), label :
    engine.resolveStaticOptionValue.call(this, configId,
    "_metadata.label", "Button 1"), labelVisibility :
    engine.resolveStaticOptionValue.call(this, configId,
    "_metadata.labelVisibility", "DEFAULT"), helpText :
    engine.resolveStaticOptionValue.call(this, configId,
    "_metadata.helpText", "") } } configId = "config2";
    this.options[configId] = { autocompletionService :
    function(args) {
    var url =
    "/rest/bpm/wle/v1/service/1.c577b1d5-f1ac-4939-a0c5-86df59df056f
    ?snaps
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Business Process Manager version 8.0 Users  *
    ****************************************************************
    * PROBLEM DESCRIPTION: Unterminated string literal exception   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    "unterminated string literal" exception is returned when
    binding a complex variable with 'Custom HTML' in new
    generation coach.
    

Problem conclusion

  • The provided iFix correctly handles Custom HTML when bound
    to a complex variable.
    
    Install/Dependency information is available in the readme.txt
    on FixCentral. When the user goes to the download files page
    in FixCentral, the readme will be available with the fix
    package as a separate download.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR45932

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-03-06

  • Closed date

    2013-05-17

  • Last modified date

    2013-05-17

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    BPM ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
08 January 2022