tracker issue : CF-4204119

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

cfchart format="png"

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Claudia K. / ()

Created: 03/26/2019

Components: Charting/Graphing, Server

Versions: 2016,2018

Failure Type: Non Functioning

Found In Build/Fixed In Build: 2018.0.03.314033 / CF2016U12,CF2018U5

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Win 2012 Server x64

Vote Count: 0

Problem Description:

creating big chart with many data points in format="png" throws following error:

Encountered code generation error while compiling script: generated bytecode for method exceeds 64K limit. (<cmd>#1) 

Steps to Reproduce:
run attached file chart_bug.cfm

Actual Result:
Error: Encountered code generation error while compiling script: generated bytecode for method exceeds 64K limit. (<cmd>#1) 

Expected Result:
cfdocument with generated charts

Any Workarounds:
Runs with ColdFusion11 Update11
Fails with ColdFusion11 Update15
Fails with ColdFusion2018 Update3

Attachments:

Comments:

Hello Support-Team, when can I expect to get a patch for that problem? It is very urgent, because we have this error on a productive system. best regards Claudia
Comment by Claudia K.
30599 | April 03, 2019 08:24:33 AM GMT
Hi Claudia,   It Looks like JVM doesnt permit more than 64kb in size for generated bytecode per method.  Is their any scope for you to trim down the contents of queryNew ? It works with lesser number of row. We have changed underlying java every CF Versions and code generation logic at Java would have changed and hence it would worked in CF11. 
Comment by Deepraj J.
30979 | May 09, 2019 09:59:13 AM GMT
Hi Claudia,   This works if there is at max 2 series but not 3 looks like limitation on compiled method bytecode. I have raised this with zingchart will update you once i hear from them. [https://gitlab.zingsoft.com/adobe/adobe-issues/issues/18]  Thanks Deepraj 
Comment by Deepraj J.
30980 | May 15, 2019 09:11:55 AM GMT