I am trying to use the ReportCaster to distribute a jschart to a printer. However when I run the schedule I get the following message in the schedule log:
0 NUMBER OF RECORDS IN GRAPH= 63048 PLOT POINTS= 135 (FOC1522) java.lang.reflect.InvocationTargetException, caused by (FOC1522) java.lang.NegativeArraySizeException. CPJAVA: Error in processing (FOC1522) EXECUTE command for Class ibi.jsgraph.IBIRunJSCOMGraph 0 HOLDING PS FILE ON PC DISK ... Task error: IBFSException 6000: Error executing procedure Cht_CPG_YOY.fex No report to distribute.
I am not really sure what to make of this error. I'm not well versed in JS nor do I have access to app studio. I've already tried changing the format of my fex to PDF and PS but got the same error both times. Does anyone have any familiarity with this error and could point me in the right direction for resolving? I haven't been able to find anything on here or in the documentation. Thanks in advance
See below for fex code:
ENGINE INT CACHE SET ON SET PAGE-NUM=NOLEAD -DEFAULTH &WF_HTMLENCODE=ON; SET HTMLENCODE=&WF_HTMLENCODE
SET ARGRAPHENGINE=JSCHART SET EMBEDHEADING=ON SET GRAPHDEFAULT=OFF -DEFAULTH &WF_TITLE='WebFOCUS Report'; GRAPH FILE transmetric/VWFUELMETRICSSUMMARY -* Created by Info Assist for Graph SUM COMPUTE CostPerGal; BY Year BY WeekNumber WHERE VWFUELMETRICSSUMMARY.VWFUELMETRICSSUMMARY.PERIODENDING GE '01022016'; HEADING "Cost per Gallon Year Over Year" "(Click 'Show Filters' button to select dimensions)" ON GRAPH PCHOLD FORMAT JSCHART ON GRAPH SET GRAPHEDIT SERVER ON GRAPH SET ARGRAPHENGIN JSCHART ON GRAPH SET VZERO OFF ON GRAPH SET GRWIDTH 1 ON GRAPH SET HAXIS 770.0 ON GRAPH SET VAXIS 405.0 ON GRAPH SET LOOKGRAPH LINE ON GRAPH SET STYLE * *GRAPH_SCRIPT