Skip to main content
Participating Frequently
August 21, 2013
Question

CF10: cfchart in a gateway giving: java.lang.NullPointerException

  • August 21, 2013
  • 1 reply
  • 2148 views

We have recently upgraded to CF10.

Our application uses cfchart for reports.

In a standard request the charts work perfectly. We create png images en the publish them. All server activit

<cfchart name="cfChartData" format="png" chartWidth="650" chartHeight="200" rotated="yes" show3d="false" >

                    <cfchartdata item="item 1" value="20">   

                    <cfchartdata item="item 2" value="50">   

                    <cfchartdata item="item 3" value="10">   

                    <cfchartdata item="item 4" value="35">                           

</cfchart>  

When I try to use this through a gateway (cfml type) is returns the folowing exception:

"Error","Thread-22","08/21/13","14:13:36",,"Error invoking CFC for gateway netqromeventgateway: null  {GATEWAYTYPE={CFMLGateway},ORIGINATORID={CFMLGateway},DATA={{ACTION={testChart}}},GATEWAYID={netqromeventgateway}}."

java.lang.NullPointerException

    at coldfusion.tagext.html.ajax.AjaxRBFileMap.getRBFileName(AjaxRBFileMap.java:66)

    at coldfusion.tagext.html.ajax.AjaxRBFileMap.importResourceBundleJS(AjaxRBFileMap.java:52)

    at coldfusion.tagext.html.ajax.HtmlAssembler.importJS(HtmlAssembler.java:958)

    at coldfusion.tagext.html.ajax.HtmlAssembler.importJS(HtmlAssembler.java:854)

    at coldfusion.tagext.html.ajax.HtmlAssembler.importJS(HtmlAssembler.java:820)

    at coldfusion.tagext.io.ChartTag.doStartTag(ChartTag.java:1078)

    at cfnetQROMEventGateway2ecfc866926243$funcONINCOMINGMESSAGE._factor0(E:\apps\productie\netqrom\model\eventgateway\netQROMEventGateway.cfc:25)

could someone help us.

System Information 

Server Details 

Server Product  ColdFusion 

Version  ColdFusion 10,283922 

Tomcat Version  7.0.23.0 

Edition  Enterprise   

Serial Number 

Operating System  Windows Server 2008 R2   

OS Version  6.1   

Adobe Driver Version  4.1 (Build 0001)   

JVM Details 

Java Version  1.7.0_15   

This topic has been closed for replies.

1 reply

vishu_13
Inspiring
August 21, 2013
Participating Frequently
August 21, 2013

Exact same error Vishu.

But we don't use cfcproxy and a cf build higher then:

Fixed In Build      282653

Thanx for your help!!