tracker issue : CF-4136756

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

CFCHART within custom tag within function causes null pointer exception

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Oliver Jones / Oliver Jones (Oliver Jones)

Created: 04/07/2016

Components: Charting/Graphing

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: CF2016_Final /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Windows 7 64-bit

Vote Count: 0

Listed in the version 2016.0.02.299200 Issues Fixed doc
Verification notes: verified_fixed on February 03, 2020 using build 2016.0.02.299200
Problem Description: CFCHART within custom tag within function causes null pointer exception

Steps to Reproduce: Run ChartTest.cfm

<cffunction name="getChart" output="true">
	<CF_CfchartTag />


<cfif thisTag.executionMode EQ "start">
	<cfchart format="png">
	    <cfchartseries type="Bar" label="Numbers">
	         <cfchartdata item="a" value="5">
	        <cfchartdata item="b" value="10">

Actual Result:
	at coldfusion.runtime.NeoPageContext$TagSet.release(
	at coldfusion.runtime.NeoPageContext.release(
	at coldfusion.runtime.CfJspPage.release(
	at coldfusion.tagext.lang.IncludeTag.releaseTag(
	at coldfusion.tagext.lang.ModuleTag.release(
	at coldfusion.tagext.GenericTag.doFinally(
	at coldfusion.tagext.lang.ModuleTag.doFinally(

Expected Result:
Chart displayed (this functionality worked in CF9)

Any Workarounds:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4136756

External Customer Info:
External Company:  
External Customer Name: Oliver Jones
External Customer Email:  
External Test Config: My Hardware and Environment details: Win7 CF2016



test note
Comment by CFwatson U.
3132 | June 07, 2016 04:17:42 AM GMT
The fix for this bug is available as part of the early-access build for ColdFusion 2016 Update 2.
Comment by CFwatson U.
3133 | June 07, 2016 04:24:21 AM GMT