Skip navigation
Currently Being Moderated

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

Aug 21, 2013 7:55 AM

Tags: #cfchart #coldfusion10 #gateways

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(Ajax RBFileMap.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   

 
Replies
  • Currently Being Moderated
    Aug 21, 2013 10:08 AM   in reply to Jurriaan Balleur
     
    |
    Mark as:
  • Currently Being Moderated
    Aug 26, 2013 5:30 AM   in reply to Jurriaan Balleur

    I've a) verified this as working in CF9 and broken in CF10; b) provided a free-standing repro case for it.  See http://cfmlblog.adamcameron.me/2013/08/the-process-of-creating-clear-r epro.html.

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 26, 2013 5:36 AM   in reply to Jurriaan Balleur

    Jurriaan, do you mean to say you've paid for a CF10 upgrade, and this prevents you from using it?

     

    Or we your still just testing stuff, and it means you won't be buying a CF10 upgrade?

     

    --

    Adam

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points