intermittent class not found with esapi.extension 2.2.4.13 / 5.4.0.80

Description

I'm getting this error being reported occasionally from v5.4.0.80

In the OSGi Bundle with the name [esapi.extension] and the version [2.2.4.13] was no class with name [org.lucee.extension.esapi.functions.EncodeForJavaScript] found. org.lucee.extension.esapi.functions.EncodeForJavaScript

I've traced the elderly code to this block but I'm still not sure what invokes it or what variables contain.

<cfloop query="qVehicleCategories"> <cfset categoryList = categoryList & '"#encodeForJavaScript( qVehicleCategories.CategoryDescription )#^' & encodeForJavaScript( qVehicleCategories.CategoryDescription ) 4 ' (' & qVehicleCategories.NoVehicles & ')' & '",'> </cfloop>

I've not experienced this type of error before and would like some advice on what the issue might be:

  • v5.4.0.80

  • The install of Lucee itself (CommandBox)

  • The code (not mine!)

worked fine with 5.3.10.120 with ESAPI 2.2.4.8

error happening in QA

via slack https://cfml.slack.com/archives/C06TA0A9W/p1688380735860239

Environment

None

Activity

Show:

Michael Offner 4 December 2024 at 20:30

maybe related:

Unable to resolve esapi.extension [106](R 106.0): missing requirement [esapi.extension [106](R 106.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=findbugsAnnotations)(bundle-version>=3.0.1)) Unresolved requirements: [[esapi.extension [106](R 106.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=findbugsAnnotations)(bundle-version>=3.0.1))] Lucee was not able to download/load the following bundles [findbugsAnnotations:3.0.1;]

Michael Offner 8 September 2023 at 14:09
Edited

do you have the full stacktrace for this? this exceptions (OSGi Bundle with the name [esapi.extension]) always hide more details in the “caused by“ part

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 3 July 2023 at 16:33
Updated 4 December 2024 at 20:30

Flag notifications