7 Replies Latest reply on Aug 26, 2013 5:45 AM by Jurriaan Balleur

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

    Jurriaan Balleur

      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}}},GATEWAY ID={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\netq rom\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