K51452582: Error: The value of the property "<JS function>" is null or undefined, not a function object.

Support Solution

Original Publication Date: May 31, 2022
Updated Date: Aug 04, 2022

Description

After upgrading the APM Client to 7220.2022.308.1349-5763.0, end users starting receiving a script error when attempting to connect to the VPN. This occurs after they enter their credentials to logon and prevents the user from connecting to the VPN. 

You may also see this error on the embedded web browser:
Error: The value of the property "<JS function>" is null or undefined, not a function object.

Note: The <JS function> may vary, one example is u_insertHTMLIntoContainer.

Environment

  • BIG-IP APM
  • Edge Client
  • APM Client 7.2.2

Cause
Bug ID 1110821, which has been marked as duplicate of Bug ID 756468, fixed in APM Client 7.2.3. 

Recommended Actions

You can workaround this issue by following these steps:

1. Clear the INet cache located in C:\Users\<username>\AppData\Local\Microsoft\Windows\INetCache*
2. Create and apply the below iRule to virtual server. Refer to the Additional Information section, to create and apply an iRule.

when CLIENT_ACCEPTED {
    ACCESS::restrict_irule_events disable
}
when HTTP_REQUEST {
    if { [HTTP::path] contains "/public/include/js/"} 
    {
        set file_found 1
     }
}
when HTTP_RESPONSE_RELEASE {
    if {[info exists file_found]} {
        unset file_found
        if { [HTTP::header exists "Cache-Control"] } {
            HTTP::header remove "Cache-Control"
        }
        HTTP::header insert Cache-Control "no-store"         
    }
}

*INetCache is a hidden directory. You may need to type or paste the full path on Windows Explorer. Alternatively, you can also go to Control Panel > Internet Options, under Browsing History, select View files.

Additional Information

  • To create the iRule in the previous section, perform the following
    1. Login to the Configuration utility
    2. Go to Local Traffic > IRules
    3. Select Create.
    4. Give the iRule a name
    5. Copy and paste the iRule in the previous section in the Definition field.
    6. Select Finished.
  • To apply the iRule to the virtual server, perform the following
    1. Login to the Configuration utility
    2. Go to Local Traffic > Virtual Servers
    3. Select the name of your virtual server.
    4. Select Resources
    5. In the iRules section, select Manage.
    6. Select the new iRule you created in the previous procedure.
    7. Select << 
    8. Select Finished.

F5 Support engineers who work directly with customers to resolve issues create this content. Support Solution articles give you fast access to mitigation, workaround, or troubleshooting suggestions.

Applies to:

Product: BIG-IP, BIG-IP APM
17.X.X, 16.X.X, 15.X.X, 14.1.5, 14.1.4