tracker issue : CF-4205181

select a category, or use search below
(searches all categories and all time range)
Title:

Server side charting is broken in few Operating Systems. ("JSON" is not defined)

| View in Tracker

Status/Resolution/Reason: To Fix//Investigate

Reporter/Name(from Bugbase): / ()

Created: 09/06/2019

Components: Charting/Graphing, Server

Versions: 2016,2018

Failure Type: Non Functioning

Found In Build/Fixed In Build: 2018.0.05.315570 /

Priority/Frequency: Normal / Most users will encounter

Locale/System: /

Vote Count: 1

Problem:Server side charting is broken in few Operating Systems [Ubuntu, Mac] works fine in [RHEL, CentOS, Windows]

Method:

Run Code:

<cfchart format="png" type="bar" showlegend="false" chartHeight="600" chartWidth="400" title="Basic Chart">

    <cfchartseries>

        <cfchartdata item="2015" value=20>

        <cfchartdata item="2016" value=40>

        <cfchartdata item="2017" value=60>

        <cfchartdata item="2018" value=10>

    </cfchartseries>

</cfchart>

Result:

"JSON" is not defined

Expected:

Workaround:

Note:

Attachments:

Comments:

This issue was introduced in CF2016HF12 and above / CF2018HF5 and above. We are looking into this issue and to mitigate this issue as a workaround you can follow the following steps. 1. take a back up of js.jar and delete it from C:\ColdFusion2018\cfusion\lib 2. Restart ColdFusion server.
Comment by Dattanand M.
31907 | December 02, 2019 09:53:03 AM GMT
Is there any updates on this issue? My team is experiencing this issue with multiple different charts that we generate in reports for our application. We have yet to try the workaround since we are using Docker. Coldfusion is installed on a docker container so we don't have direct access to the jar file. Please fix this issue.
Comment by Melissa H.
32108 | February 11, 2020 09:12:58 PM GMT