APEX 4.2 chart error

I'm getting error:
"This XML file does not appear to have any style information associated with it. The document tree is shown below."
I have function returning sql query that works on other page normally, don't know what does this error means.
I don't use custom XML option.
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<anychart>
<settings>
<animation enabled="false"/>
<no_data show_waiting_animation="False">
<label><text>No data found.</text><font family="Verdana" bold="yes" size="10"/>
</label>
</no_data>
</settings>
<margin left="0" top="0" right="0" bottom="0"/>
<charts>
<chart plot_type="CategorizedVertical" name="chart_11260125326414148">
<chart_settings>
<title enabled="False"/>
<chart_background><fill type="Solid" color="0xffffff" opacity="0"/><border enabled="false"/>
<corners type="Square"/>
</chart_background>
<data_plot_background></data_plot_background>
<axes>
<y_axis>
<scale mode="Normal"/><title enabled="false"/>
<labels enabled="true" position="Outside">
<font family="Tahoma" size="10" color="0x000000"/>
<format>
<![CDATA[{%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}
]]>
</format>
</labels>
<major_grid enabled="False"/>
<minor_grid enabled="False"/>
</y_axis>
<x_axis>
<scale mode="Normal"/><title enabled="false"/>
<labels enabled="true" position="Outside">
<font family="Tahoma" size="10" color="0x000000"/>
<format>
<![CDATA[{%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}
]]>
</format>
</labels>
<major_grid enabled="False"/>
<minor_grid enabled="False"/>
</x_axis>
</axes>
</chart_settings>
<data_plot_settings enable_3d_mode="false">
<bar_series style="Default">
<tooltip_settings enabled="true">
<format>
<![CDATA[{%Name}{enabled:False} - {%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}
]]>
</format>
<font family="Tahoma" size="10" color="0x000000"/>
<position anchor="Float" valign="Top" padding="10"/>
</tooltip_settings>
<label_settings enabled="true" mode="Outside" multi_line_align="Center">
<format>
<![CDATA[{%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}
]]>
</format>
<background enabled="false"/>
<font family="Tahoma" size="10" color="0x000000"/>
</label_settings>
<bar_style></bar_style>
<marker_settings enabled="True"><marker type="None"/>
</marker_settings>
</bar_series>
<line_series>
<tooltip_settings enabled="true">
<format>
<![CDATA[{%Name}{enabled:False} - {%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}
]]>
</format>
<font family="Tahoma" size="10" color="0x000000"/>
<position anchor="Float" valign="Top" padding="10"/>
</tooltip_settings>
<label_settings enabled="true" mode="Outside" multi_line_align="Center">
<format>
<![CDATA[{%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}
]]>
</format>
<background enabled="false"/>
<font family="Tahoma" size="10" color="0x000000"/>
</label_settings>
<line_style><line enabled="true" thickness="1" opacity="1"/>
</line_style>
<marker_settings enabled="True"><marker type="Circle"/>
</marker_settings>
</line_series>
</data_plot_settings>
</chart>
</charts>
</anychart>

Hi,
Is this the complete XML for your chart?  If so then it appears to contain no data, so you may need to review the chart source to ensure that the function is returning a query that's using the correct syntax for the selected chart type.  You may wish to refer to 10.4 Creating Charts for further information on the syntax required.  If you believe the function is behaving correctly, then it would be worth running your chart page with Debug set to Yes, and reviewing the debug information for any reported errors.
Regards,
Hilary

Similar Messages

  • SVG: Chart error: ORA-20001:

    Hi,
    We are using 1.6.1.00.02 . I got a problem with SVG chart. The query returns following error:
    SVG: Chart error: ORA-20001: bar_char_error ORA-20001: get_data_error: ORA-20001 Fetch error: ORA-01782
    The column names are correct. The same query works perfectly in HTMLDB reports.
    Following is the query:
    SELECT
    TRANSACTION_dATE,
    SUM(SALES) SALES,
    SUM(COST_OF_SALE) COST_OF_SALE
    fROM HTML_SALES_REPORT_View
    WHERE transaction_date between
    '01-DEC-2004' and '31-DEC-2004'
    GROUP BY TRANSACTION_DATE
    Help will be appreciated.
    Regards,
    Hamayun

    Hi,
    you have to use the following syntax:
    SELECT link, label, value
    Example
    SELECT
    null link, TRANSACTION_dATE label,
    SUM(SALES) value ,
    fROM HTML_SALES_REPORT_View
    WHERE transaction_date between
    '01-DEC-2004' and '31-DEC-2004'
    GROUP BY TRANSACTION_DATE
    And to display your cost_of_sale data you have to add a second series like this:
    SELECT
    null link, TRANSACTION_dATE label,
    SUM(COST_OF_SALE) value
    fROM HTML_SALES_REPORT_View
    WHERE transaction_date between
    '01-DEC-2004' and '31-DEC-2004'
    GROUP BY TRANSACTION_DATE
    because you can't display two lines with just one query.
    I hope this will help.
    Regards, Jörg

  • Line chart error

    Created a line chart with two series as follows:
    Query for series 1
    select null, period_no, valuex
    (select null, period_no, avg(actual) valuex
    from kpi_performance
    group by period_by
    order by period_by)
    Query for series 2
    select null, period_no, valuex
    (select null, period_no, avg(forecast) valuex
    from kpi_performance
    group by period_by
    order by period_by)
    When the page is executed the following error is displayed:
    "SVG chart error: ORA-20001: line_chart error: ORA-20001: get_data error:ORA-20001: Parse error: ORA-00936: missing expression"
    I think this is related to the use of "group by" and "order by" in the queries but cannot find a workaround.
    Any ideas ?
    Thanks
    Vincent

    I believe that the problem may be the ORDER BY. I believe that you cannot have an ORDER BY clause in a series.

  • SVG CHart error ORA-20001 with Stacked Bar Chart HTML DB 1.6.0.00.87

    Hi,
    during I put a How-To into execution (How To Create a Stacked Bar Chart) I'll get the following error code:
    SVG Chart error:ORA-20001:line_Chart error:ORA-20001:
    get_data error:ORA-20001:Parse error:ORA009
    (see http://www.oracle.com/technology/products/database/htmldb/howtos/index.html)
    This Situation occurs when i add a second series to the
    chart. The first series works fine. I've used the following SQL-Statement:
    select null l, sales_month, revenue from (select to_char(o.order_timestamp,'Mon YYYY') sales_month, sum(oi.quantity * oi.unit_price) revenue, to_date(to_char(o.order_timestamp,'Mon YYYY'),'Mon YYYY') sales_month_order from DEMO_PRODUCT_INFO p, DEMO_ORDER_ITEMS oi, DEMO_ORDERS o where o.order_timestamp <= (trunc(sysdate,'MON')-1)and o.order_timestamp > (trunc(sysdate-365,'MON'))and o.order_id = oi.order_id and oi.product_id = p.product_id and p.category = 'Audio' group by to_char(o.order_timestamp,'Mon YYYY') order by sales_month_order);
    Please help.
    Regards
    Detlev

    Well,
    I've just been struggling for a couple of hours with a cluster bar chart giving the same problem.
    The problem is definitely with "ORDER BY".
    I guess the graphing chart is taking the sql query as a string and then does some other manipulation on it which ends abnormally when you include the order by clause.
    I presume that if you embed the query in a
    SELECT * FROM (<actual query with order by>)
    it might mitigate the problem.
    Bye,
    Flavio

  • Chart Flash Chart error: ORA-20001: Print Chart Data: Flash Chart error: OR

    Hi,
    if the query where my resource gantt chart is based on returns more the 107 rows, i will get the following error:
    chart Flash Chart error: ORA-20001: Print Chart Data: Flash Chart error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    If i reduce the number of results, the chart is working fine.
    Max rows attribute of the series is adjusted to 4000
    Any idea?
    Thank you

    Thank you,
    I have tried it, but it I am not able to make it work, here you find a snip of my pagesource:
    <anygantt> <resource_chart>
    <resources>
    <resource id="341" name="Drexler, Franz" />
    <resource id="5" name="Gross, Johannes-Ludwig" />
    <resource id="8" name="Pecherski, Andrzej" />
    <resource id="131" name="Steinmetz, Raphael" />
    <resource id="191" name="Jenks, Raymond" />
    <resource id="33" name="Alhambra, Roda Marie" />
    <resource id="31" name="Daminescu, Adrian" />
    </resources>
    <periods>
    <period resource_id= "31" start="24-DEC-12 12.00.00.000000000 AM" end="31-DEC-12 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="27-DEC-12 12.00.00.000000000 AM" end="28-DEC-12 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="02-JAN-13 12.00.00.000000000 AM" end="04-JAN-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "131" start="26-JAN-13 12.00.00.000000000 AM" end="04-FEB-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "131" start="01-JAN-13 12.00.00.000000000 AM" end="06-JAN-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "131" start="22-DEC-12 12.00.00.000000000 AM" end="31-DEC-12 12.00.00.000000000 AM" style="green" />
    <period resource_id= "5" start="21-DEC-12 12.00.00.000000000 AM" end="31-DEC-12 12.00.00.000000000 AM" style="green" />
    <period resource_id= "31" start="07-JAN-13 12.00.00.000000000 AM" end="11-JAN-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="21-DEC-12 12.00.00.000000000 AM" end="21-DEC-12 12.00.00.000000000 AM" style="blue" />
    <period resource_id= "33" start="26-DEC-12 12.00.00.000000000 AM" end="28-DEC-12 12.00.00.000000000 AM" style="green" />
    <period resource_id= "33" start="25-FEB-13 12.00.00.000000000 AM" end="25-FEB-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="28-MAR-13 12.00.00.000000000 AM" end="29-MAR-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="09-APR-13 12.00.00.000000000 AM" end="09-APR-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="01-MAY-13 12.00.00.000000000 AM" end="01-MAY-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="12-JUN-13 12.00.00.000000000 AM" end="12-JUN-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="26-AUG-13 12.00.00.000000000 AM" end="26-AUG-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="01-NOV-13 12.00.00.000000000 AM" end="01-NOV-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="30-DEC-13 12.00.00.000000000 AM" end="30-DEC-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="31-DEC-13 12.00.00.000000000 AM" end="31-DEC-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="21-AUG-13 12.00.00.000000000 AM" end="21-AUG-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "33" start="15-OCT-13 12.00.00.000000000 AM" end="15-OCT-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "8" start="23-DEC-13 12.00.00.000000000 AM" end="23-DEC-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="27-DEC-13 12.00.00.000000000 AM" end="27-DEC-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="30-DEC-13 12.00.00.000000000 AM" end="30-DEC-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="02-JAN-14 12.00.00.000000000 AM" end="03-JAN-14 12.00.00.000000000 AM" style="green" />
    <period resource_id= "5" start="31-MAY-13 12.00.00.000000000 AM" end="31-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="21-MAY-13 12.00.00.000000000 AM" end="24-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="27-MAY-13 12.00.00.000000000 AM" end="29-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="31-MAY-13 12.00.00.000000000 AM" end="31-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="02-APR-13 12.00.00.000000000 AM" end="05-APR-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "5" start="11-FEB-13 12.00.00.000000000 AM" end="11-FEB-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "131" start="29-JUN-13 12.00.00.000000000 AM" end="14-JUL-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "131" start="16-AUG-13 12.00.00.000000000 AM" end="16-AUG-13 12.00.00.000000000 AM" style="blue" />
    <period resource_id= "8" start="26-AUG-13 12.00.00.000000000 AM" end="30-AUG-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="02-SEP-13 12.00.00.000000000 AM" end="06-SEP-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="15-FEB-13 12.00.00.000000000 AM" end="15-FEB-13 12.00.00.000000000 AM" style="blue" />
    <period resource_id= "5" start="13-MAR-13 12.00.00.000000000 AM" end="13-MAR-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "8" start="22-MAR-13 12.00.00.000000000 AM" end="22-MAR-13 12.00.00.000000000 AM" style="blue" />
    <period resource_id= "33" start="20-MAR-13 12.00.00.000000000 AM" end="20-MAR-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "5" start="08-APR-13 12.00.00.000000000 AM" end="08-APR-13 12.00.00.000000000 AM" style="blue" />
    <period resource_id= "31" start="05-APR-13 12.00.00.000000000 AM" end="05-APR-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "31" start="02-MAY-13 12.00.00.000000000 AM" end="03-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "341" start="01-JUL-13 12.00.00.000000000 AM" end="22-JUL-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "341" start="09-MAY-13 12.00.00.000000000 AM" end="12-MAY-13 12.00.00.000000000 AM" style="green" />
    <period resource_id= "191" start="04-JUL-13 12.00.00.000000000 AM" end="06-JUL-13 12.00.00.000000000 AM" style="red" />
    <period resource_id= "31" start="15-JUN-13 12.00.00.000000000 AM" end="30-JUN-13 12.00.00.000000000 AM" style="green" />
    </periods>
    </resource_chart></anygantt>
    </textarea>
    <div id="chartDiv"></div>
    <script type="text/javascript" language="javascript">
    /* Set default swf path */
    AnyChart.swfFile = 'i/flashchart/anychart_6/swf/OracleAnyChart.swf';
    /* Create new gantt chart */
    var chart = new AnyChart();
    chart.width="2500";
    chart.height="2500";
    /* Get string data from text area */
    var data = document.getElementById('rowData').value.toString();
    /* Set data */
    chart.setData(data);
    /* Write chart to "chart" div */
    chart.write("chartDiv");
    </script>
    do you have a idea whats wrong? thank you

  • Flash chart - Error - No chart data available

    Hi
    I have a Flash chart that shows the message "Error - No chart data available" (not the no data found message).
    If I run its query in sql*plus (using the same parameters) I get 4 rows (with url, label and value columns). I am clueless about how to start investigating this as the chart does not show any other information... Any advice?
    What does that message mean? Obviously is something different from no data found?
    Thanks
    Luis

    Hi Marco
    Thanks for the reply. I did what you said and found out the problem:
    chart Flash Chart error: ORA-20001: get_data error: ORA-20001: Fetch error: ORA-01843: not a valid monthThis was caused because I used the following construction:
    where date_from = :p5_date_fromIf this was a report, this would run fine as I set the date format mask using a application level process. However, as Flash charts use separate database connections, they ignore that setting (btw I posted a message about this problem).
    I fixed it hardcoding a format mask in my SQL. Not nice but it works!
    Thanks
    Luis

  • Creating PDF (FOP) from report in Apex 3.0 generates Error 500 (solved!)

    Hi, I have installed apex 3.0 , no errors, followed the installationguide for standard support printerserver (FOP) and OC4J (standalone downloaded) is up and running. <br>
    <br>
    However, when I click print, I get a 1 byte PDF with the text:<br>
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1><PRE>Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.</PRE></BODY></HTML>
    <br>
    <br><br><br>
    <br>
    And when I check global_applications log I find:<br>
    <br>
    <br>
    07/03/26 14:44:33.205 defaultWebApp: Servlet error
    oracle.xml.xpath.XPathException: Parse Error in number function.
         at oracle.xml.xslt.XSLBuilder.startElement(XSLBuilder.java:468)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:319)
         at oracle.xml.xslt.XSLProcessor.newXSLStylesheet(XSLProcessor.java:708)
         at oracle.xml.xslt.XSLStylesheet.<init>(XSLStylesheet.java:321)
         at oracle.xml.parser.v2.XSLStylesheet.<init>(XSLStylesheet.java:114)
         at apex_fop__render._jspService(_apex__fop__render.java:71)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.2.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:597)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:521)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:534)
    <br><br><br><br><br><br>
    I know it's a longshot, but anyone have a clue what might be wrong? Apex is configured to access the apex_fop.jsp as well. and everything is unzipped where it should be and all that.
    <br><br><br><br><br>
    Could it have something to do with the java version or anything?
    <br><br><br><br>
    Message was edited by:
    p950jbg
    Whoops a lil bit messy text<br><br>
    Thank you in advance<br>
    <br>
    Sincerely<br>
    Johnny
    Message was edited by:
    p950jbg

    Small update again,
    I skipped using the downloadable oc4j/j2ee and tried using the one that came with 10.2.0.1 installation (patched to 10.2.0.3)
    It starts up fine saying:
    07/03/28 21:31:27 Oracle Application Server Containers for J2EE 10g (9.0.4.1.0) initialized
    It started up all well with the downloadable latest containers too, but got different errors running the apex_fop.jsp file.
    well with the version that came with the database it says in the PDF file after I tried to generate it from a report:
    Error 500:
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
    Anyone got any idea?

  • Refreshing Materialized view from APEX process is causing errors

    Hi,
    I have created a materialized view, and am attempting to create a process in APEX to refresh the mview on a button click.
    I have been reading the documentation on Materialized Views and think I am more confused now than when I started.
    Do I need to add my mview to a refresh group to enable me to use the DBMS_REFRESH.REFRESH command from an APEX process?
    I have had a few attempts at getting it working, but to no avail yet.
    Any help would be appreciated.
    Cheers, Greg

    Snowman wrote:
    Hi,
    I have created a materialized view, and am attempting to create a process in APEX to refresh the mview on a button click.
    I have been reading the documentation on Materialized Views and think I am more confused now than when I started.
    Do I need to add my mview to a refresh group to enable me to use the DBMS_REFRESH.REFRESH command from an APEX process?What error are you getting?

  • Apex and fusion charts

    Hi,
    I am using Apex with fusion charts and can easly create a one series Charts,
    how can I create 2 or Multiple series Charts?
    regards.
    MDK.

    Hi,
    Creating multi-series chart using FusionCharts would be as easy as creating a single series chart.
    All you need to do is - build and provide proper XML to the correct chart swf files. Like for each single series chart there is a separate SWF file, for each multiseries chart there is a separate SWF file. e.g. for Multi-series Column3D chart you need to use MSColumn3D.swf.
    Please refer to the XML structure for Multi-series chart from FusionCharts' online Documentation -http://www.fusioncharts.com/docs page : http://www.fusioncharts.com/docs/Contents/MultiSeries.html .
    You can get XML samples from multi-seires charts from our Gallery -http://www.fusioncharts.com/Gallery/Data/MSCol3D1.xml etc.
    글 수정: user13306705

  • APEX 4.0.2 Project Gantt Chart - Error Code: 2002 Message: Empty input

    Hi
    I have created a brand new page containing a Project Gantt Chart region. The Gantt chart is designed to track the progress of a job over time. The page has one chart series containing the following SQL.
    SELECT null LINK,
    stage NAME,
    rownum ID,
    null PARENT_ID,
    trunc(start_date) ACTUAL_START,
    trunc(completion_date) ACTUAL_END,
    decode(completion_date, null, 0, 100) PROGRESS
    FROM tracking
    WHERE job_reference = '889343'
    This SQL statement returns values from SQL Developer and from the SQL Workshop > SQL Commands from within APEX itself.
    The problem is that when I run the page the following error displays inside the region
    Category: 2000
    Error code: 2002
    Message: Empty input
    Environment Information
    Application Express 4.0.2.00.07. - Clean installation not upgraded from APEX 3
    Using Firefox 3.6.15
    Issue identical in IE
    DB version - Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    I'm really stuck so I hope someone can help me out. I really would appreciate it.
    Thanks
    Kylie

    Debug mode doesn't appear to have picked anything up that looks out of the ordinary to me or raises any alarm bells.
    This is the XML with a reduced number of records returned.
    <anygantt>

    <settings>

    <title align="Center" position="Top">
    <text>Resources Gantt</text>

    <font_style>
    <font face="Tahoma" size="2" color="0x000000"/>
    </font_style>
    </title>
    <outer_margin left="0" top="0" right="0" bottom="0"/>

    <background>
    <fill type="Solid" color="0xffffff" opacity="0"/>
    <border enabled="false"/>
    <corners type="Square"/>
    </background>
    <navigation enabled="true"/>

    <locale>

    <date_time_format week_starts_from_monday="True">

    <months>

    <names>
    January,February,March,April,May,June,July,August,September,October,November,December
    </names>
    <short_names>Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec</short_names>
    </months>

    <week_days>

    <names>
    Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday
    </names>
    <short_names>Sun,Mon,Tue,Wed,Thu,Fri,Sat</short_names>
    </week_days>

    <format>
    <full>%yyyy.%MM.%dd.%HH.%mm.%ss</full>
    <date>%yyyy.%MM.%dd</date>
    <time>%HH.%mm.%ss</time>
    </format>
    </date_time_format>
    </locale>
    </settings>

    <datagrid enabled="true">

    <columns>

    <column width="40" cell_align="Center">

    <header>
    <text>ID</text>
    </header>
    <format>{%ID}</format>
    </column>

    <column attribute_name="Name" width="180" cell_align="Center">

    <header>
    <text>Name</text>
    </header>
    <format>{%Name}</format>
    </column>

    <column attribute_name="ActualStart" width="80" cell_align="Center">

    <header>
    <text>Start Date</text>
    </header>
    <format>{%ActualStart}{dateTimeFormat:%dd-%MMM-%yyyy}</format>
    </column>

    <column attribute_name="ActualEnd" width="80" cell_align="Center">

    <header>
    <text>End Date</text>
    </header>
    <format>{%ActualEnd}{dateTimeFormat:%dd-%MMM-%yyyy}</format>
    </column>
    </columns>
    </datagrid>

    <timeline>
    <plot line_height="30" item_height="15" item_padding="5"/>
    </timeline>

    <styles>

    <period_styles>

    <period_style name="defaultStyle">

    <tooltip enabled="true">

    <text>
    Task: {%Name}
    Start Date: {%ActualStart}{dateTimeFormat:%dd-%MMM-%yyyy}
    End Date: {%ActualEnd}{dateTimeFormat:%dd-%MMM-%yyyy}
    Complete: {%Complete}%
    </text>
    <font color="Black"/>
    </tooltip>

    <bar_style>

    <middle shape="Full">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x1D8BD1"/>
    <border enabled="true" type="Solid" color="Black"/>
    </middle>

    <states>

    <hover>

    <middle>
    <border enabled="true" type="Solid" color="Red"/>
    </middle>
    </hover>
    </states>

    <start>

    <marker type="Rhomb">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x1D8BD1"/>
    <border enabled="true" type="Solid" color="Black"/>
    </marker>
    </start>

    <end>

    <marker type="Rhomb">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x1D8BD1"/>
    <border enabled="true" type="Solid" color="Black"/>
    </marker>
    </end>
    </bar_style>
    </period_style>
    </period_styles>

    <task_styles>

    <task_style name="defaultStyle">

    <tooltip enabled="true">

    <text>
    Task: {%Name}
    Start Date: {%ActualStart}{dateTimeFormat:%dd-%MMM-%yyyy}
    End Date: {%ActualEnd}{dateTimeFormat:%dd-%MMM-%yyyy}
    Complete: {%Complete}%
    </text>
    <font color="Black"/>
    </tooltip>

    <row_datagrid>

    <tooltip enabled="true">

    <text>
    Task: {%Name}
    Start Date: {%ActualStart}{dateTimeFormat:%dd-%MMM-%yyyy}
    End Date: {%ActualEnd}{dateTimeFormat:%dd-%MMM-%yyyy}
    Complete: {%Complete}%
    </text>
    <font color="Black"/>
    </tooltip>
    </row_datagrid>

    <actual>

    <bar_style>

    <middle shape="Full">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x1D8BD1"/>
    <border enabled="true" type="Solid" color="Black"/>
    </middle>

    <states>

    <hover>

    <middle>
    <border enabled="true" type="Solid" color="Red"/>
    </middle>
    </hover>
    </states>

    <start>

    <marker type="Rhomb">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x1D8BD1"/>
    <border enabled="true" type="Solid" color="Black"/>
    </marker>
    </start>

    <end>

    <marker type="Rhomb">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x1D8BD1"/>
    <border enabled="true" type="Solid" color="Black"/>
    </marker>
    </end>
    </bar_style>
    </actual>

    <progress>

    <bar_style>

    <middle shape="Full">
    <fill enabled="true" type="Solid" opacity="0.8" color="0xF1683C"/>
    <border enabled="true" type="Solid" color="Black"/>
    </middle>

    <start>

    <marker type="Rhomb">
    <fill enabled="true" type="Solid" opacity="0.8" color="0xF1683C"/>
    <border enabled="true" type="Solid" color="Black"/>
    </marker>
    </start>

    <end>

    <marker type="Rhomb">
    <fill enabled="true" type="Solid" opacity="0.8" color="0xF1683C"/>
    <border enabled="true" type="Solid" color="Black"/>
    </marker>
    </end>
    </bar_style>
    </progress>

    <baseline>

    <bar_style>

    <middle shape="Full">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x2AD62A"/>
    <border enabled="true" type="Solid" color="Black"/>
    </middle>

    <start>

    <marker type="Rhomb">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x2AD62A"/>
    <border enabled="true" type="Solid" color="Black"/>
    </marker>
    </start>

    <end>

    <marker type="Rhomb">
    <fill enabled="true" type="Solid" opacity="0.8" color="0x2AD62A"/>
    <border enabled="true" type="Solid" color="Black"/>
    </marker>
    </end>
    </bar_style>
    </baseline>
    </task_style>
    </task_styles>

    <resource_styles>

    <resource_style>

    <row_datagrid>

    <tooltip enabled="true">

    <text>
    Task: {%Name}
    Start Date: {%ActualStart}{dateTimeFormat:%dd-%MMM-%yyyy}
    End Date: {%ActualEnd}{dateTimeFormat:%dd-%MMM-%yyyy}
    Complete: {%Complete}%
    </text>
    <font color="Black"/>
    </tooltip>
    </row_datagrid>
    </resource_style>
    </resource_styles>

    <defaults>

    <task>

    <task_style>

    <row_datagrid>

    <tooltip enabled="true">

    <text>
    Task: {%Name}
    Start Date: {%ActualStart}{dateTimeFormat:%dd-%MMM-%yyyy}
    End Date: {%ActualEnd}{dateTimeFormat:%dd-%MMM-%yyyy}
    Complete: {%Complete}%
    </text>
    <font color="Black"/>
    </tooltip>
    </row_datagrid>
    </task_style>
    </task>
    </defaults>
    </styles>

    <project_chart>

    <tasks>
    <task id="1" parent="" name="STAGE1" actual_start="2010.08.11 12.08.00" actual_end="" progress="0" style="defaultStyle"/>
    <task id="2" parent="" name="STAGE2" actual_start="" actual_end="" progress="0" style="defaultStyle"/>
    <task id="3" parent="" name="STAGE3" actual_start="2010.07.27 12.07.00" actual_end="2010.08.06 12.08.00" progress="100" style="defaultStyle"/>
    <task id="4" parent="" name="STAGE4" actual_start="" actual_end="" progress="0" style="defaultStyle"/>
    <task id="5" parent="" name="STAGE5" actual_start="" actual_end="" progress="0" style="defaultStyle"/>
    </tasks>
    </project_chart>
    </anygantt>
    Thank you for your assistance.
    Regards
    Kylie

  • Asynchronous update of Flash chart error in IE

    Hi gurus,
    I had a post a while ago about an update command for a flash chart:
    [Asynchronous update of flash chart when select list value changes|http://forums.oracle.com/forums/thread.jspa?messageID=3491745]
    The goal was when I clicked a button or changed a select list the flash chart should update. Here is the command to update the flash chart:
    apex_RefreshChart ($v('pFlowStepId'), $v('Pxx_REGION_ID').substr(1), navigator.language );This worked really well in Firefox but IE always created an error:
    Details zum Fehler auf der Webseite
    Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Zeitstempel: Mon, 5 Oct 2009 06:16:52 UTC
    Message: Object doesn't support this property or method
    Line: 1
    Char: 31991
    Code: 0
    URI: http://apex.oracle.com/i/javascript/apex_3_1.jsTry this example:
    [http://apex.oracle.com/pls/otn/f?p=65555:23|http://apex.oracle.com/pls/otn/f?p=65555:23]
    I found out that IE used another function to get the client language. I fixed that but an error still occurs:
    Details zum Fehler auf der Webseite
    Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Zeitstempel: Mon, 5 Oct 2009 06:27:02 UTC
    Message: Unkown error.
    Line: 49
    Char: 5
    Code: 0
    URI: http://SERVER:8080/apex/f?p=150:1:10579031101899::NO::P1_I_ID,P1_INSTANCE_NAME:1,DB1That is the javascript I used now:
    //check the Browser type to set the right browser language
    function fnc_checkBrowserLanguage()
    var nav_lng="en"; //default language string
    if(navigator.language)nav_lng=navigator.language;
    if(navigator.browserLanguage)nav_lng=navigator.userLanguage;
    if(navigator.systemLanguage)nav_lng=navigator.systemLanguage;
    if(navigator.browserLanguage)nav_lng=navigator.browserLanguage;
    if(navigator.userLanguage)nav_lng=navigator.userLanguage;
    if(window.navigator.language)nav_lng=window.navigator.language;
    return nav_lng;
    // return 'en-us';
    function fnc_setTablespaceItem (pItem)
      var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=dummy',0);
      get.add(pItem,$x(pItem).value)
      gReturn = get.get();
    // alert('Item '+pItem+' Session State set to '+$x(pItem).value+'!');
      var v_flow_id = $v('pFlowStepId');
      var v_region_id = new String($v('P1_REGION_ID_TU').substr(1));
      var v_browser_lang = fnc_checkBrowserLanguage();
      //alert(v_flow_id);
      //alert(v_region_id);
      //alert(v_browser_lang);
      var vOriginal_apex_RefreshChart = apex_RefreshChart;
      apex_RefreshChart = function(v_flow_id,v_region_id,v_browser_lang)
        vOriginal_apex_RefreshChart(v_flow_id, v_region_id, v_browser_lang);
      apex_RefreshChart(v_flow_id, v_region_id, v_browser_lang);
      get = null;
    }If I set the alert boxed all variables have a value. Firefox works well. And I have no idea what I could do next???
    Tobias

    I just found out that the original time based flash update option creates the same error I get all the time. It can be configured under:
    Chart attributes > Refresh: Asynchronous Update = YES and Update Interval (Seconds) = 10
    Error: (line 49) (JScript - script block):
    function __flash__addCallback(instance, name) {
      instance[name] = function () {
        return eval(instance.CallFunction("<invoke name=\""+name+"\" returntype=\"javascript\">" + __flash__argumentsToXML(arguments,0) + "</invoke>"));
      }By the way I use the newest APEX version: "Application Express 3.2.1.00.10"
    Seems more like a general error? Everybody should be able to rebuild this under IE 8 or IE 7. I use IE8!
    Created source code:
    &lt;script type="text/javascript" language="javascript">
    function chart_r2258227549390282_InitRefresh(pNow) {
      setTimeout("chart_r2258227549390282_InitRefresh(true)",10000);
      if (pNow){apex_RefreshChart (1, '2258227549390282', 'de');}
    apex_SWFFormFix('c2258227549390282');
    &lt;/script>It still works well with Firefox.
    Tobias
    Edited by: Tobias Arnhold on Oct 6, 2009 2:37 PM

  • Resource Gantt Chart - Error : Resourse with same ID "%1" already exists

    Hi,
    I have a requirement to have multiple periods per resource.
    I have implemented the example in http://apex.oracle.com/pls/apex/f?p=36648:60. It seems only to cater for a single period.
    The COLUMN_NAME ID in my query is not unique.
    The following error in the chart is displayed:
    Category: 1000
    Error code: 1002
    Message: Resourse with same ID "%1" already exists
    Somewhere I'm missing something, and might be the late nights - Can you please advise?
    Kind Regards
    Mynhardt

    Hello Roel -
    Thank you for the suggestion. After setting parent_id to null, it still doesn't load. By using debug I'm getting a invald character to number conversion. Paring down the query to just basics, it still won't pass query validation:
    select null link, null
    a.WS_ENGINEER, number
    a.ws_engineer name, number
    null parent_id, null
    a.ws_start_date start_date, timestamp with timezone
    a.ws_end_date end_date timestamp with timezone
    from WORK_SCHEDULE a
    I have to think it's the timestamps with timezone that are causing the problems since all other data is only numeric. I'll keep after it.

  • Flash chart error: scroller position should be positive and integer

    Hi
    I am periodically getting this error when running a flash chart.
    It seems to be related to the amount of data that I am using.
    Any Idea whats causing it and how to resolve it
    Keith

    This only happens when using custom xml. If I change it to use the built-in xml, I get a no data found message.
    That happens even if i just reset the custom xml.
    Apex 3.1 with built in anychart
    Edited by: Keith Jamieson on Aug 20, 2010 1:47 PM

  • Flash Chart Error

    Hi
    Can anyone assit with this ...
    I get following error when using a 2 series 2d line chart with animation set to scale, in apex 3:
    "A Script in this movie is causing adobe flash player to run slowly. If it continues, your computer may become unresponsive."
    When I accept to debug, it breaks on this parameter as an undefined error:
    __flash__addCallback(c2741428313213918, "SetXMLText");
    Thanks
    Kezie

    Hi
    I upgraded my browser flash from v8 to v9 and tested again. The flash upgrade did not resolve the issues as the error still occurs.
    I did looked on the adobe site and found this link which sheds some light on why the error might occur: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15512&sliceId=1
    I am not loading a large amount of data or displaying too many data points however, so I'm not sure about why I get this error.
    Any other pointers would be appreciated.
    I have pasted the XML below ...
    Thanks
    Kez
    <p>&lt;?xml version = &quot;1.0&quot; encoding=&quot;utf-8&quot; standalone = &quot;yes&quot;?&gt;<br>
    &lt;root&gt;<br>
    &lt;type&gt;<br>
    &lt;chart type=&quot;2DLine&quot; minimum_value=&quot;99.5&quot; maximum_value=&quot;100&quot;&gt;<br>
    &lt;animation enabled=&quot;no&quot;/&gt;<br>
    &lt;hints auto_size=&quot;yes&quot;&gt;<br>
    &lt;text&gt;&lt;![CDATA[{NAME}, {VALUE}]]&gt;&lt;/text&gt;<br>
    &lt;font type=&quot;Verdana&quot; size=&quot;10&quot; color=&quot;0x000000&quot; /&gt;<br>
    &lt;/hints&gt;<br>
    &lt;names show=&quot;yes&quot; width=&quot;150&quot; placement=&quot;chart&quot; position=&quot;bottom&quot; &gt;<br>
    &lt;font type=&quot;Arial&quot; size=&quot;10&quot; color=&quot;0x000000&quot; /&gt;<br>
    &lt;/names&gt;<br>
    &lt;values show=&quot;no&quot; prefix=&quot;&quot; postfix=&quot;&quot; decimal_separator=&quot;.&quot; decimal_places=&quot;0&quot;
    /&gt;<br>
    &lt;arguments show=&quot;no&quot; /&gt;<br>
    &lt;line_chart left_space=&quot;5&quot; right_space=&quot;5&quot;&gt;<br>
    &lt;block_names enabled=&quot;no&quot; /&gt;<br>
    &lt;/line_chart&gt;<br>
    &lt;/chart&gt;<br>
    &lt;workspace&gt;<br>
    &lt;background enabled=&quot;yes&quot; type=&quot;gradient&quot; gradient_type=&quot;linear&quot;&gt;<br>
    &lt;colors&gt;<br>
    &lt;color&gt;0xFFFFFF&lt;/color&gt;<br>
    &lt;color&gt;0xFFFFFF&lt;/color&gt;<br>
    &lt;/colors&gt;<br>
    &lt;alphas&gt;<br>
    &lt;alpha&gt;100&lt;/alpha&gt;<br>
    &lt;alpha&gt;100&lt;/alpha&gt;<br>
    &lt;/alphas&gt;<br>
    &lt;ratios&gt;<br>
    &lt;ratio&gt;0&lt;/ratio&gt;<br>
    &lt;ratio&gt;0xFF&lt;/ratio&gt;<br>
    &lt;/ratios&gt;<br>
    &lt;matrix r=&quot;0&quot;/&gt;<br>
    &lt;/background&gt;<br>
    &lt;base_area enabled=&quot;no&quot; /&gt;<br>
    &lt;chart_area enabled=&quot;yes&quot; x=&quot;60&quot; y=&quot;50&quot; width=&quot;400&quot; height=&quot;300&quot; deep=&quot;0&quot;&gt;<br>
    &lt;background enabled=&quot;no&quot;/&gt;<br>
    &lt;border enabled=&quot;yes&quot; size=&quot;1&quot;/&gt;<br>
    &lt;/chart_area&gt;<br>
    &lt;grid&gt;<br>
    &lt;values lines_step=&quot;.1&quot;&gt;<br>
    &lt;captions&gt;<br>
    &lt;font type=&quot;Arial&quot; size=&quot;10&quot; color=&quot;0x000000&quot; /&gt;<br>
    &lt;/captions&gt;<br>
    &lt;/values&gt;<br>
    &lt;/grid&gt;<br>
    &lt;/workspace&gt;<br>
    &lt;legend enabled=&quot;yes&quot; x=&quot;480&quot; y=&quot;50&quot;&gt;<br>
    &lt;names enabled=&quot;yes&quot;&gt;<br>
    &lt;font type=&quot;Arial&quot; size=&quot;10&quot; color=&quot;0x000000&quot; /&gt;<br>
    &lt;/names&gt;<br>
    &lt;values enabled=&quot;no&quot;/&gt;<br>
    &lt;scroller enabled=&quot;no&quot;/&gt;<br>
    &lt;header enabled=&quot;no&quot;/&gt;<br>
    &lt;background alpha=&quot;0&quot;/&gt;<br>
    &lt;/legend&gt;<br>
    &lt;/type&gt;<br>
    &lt;data&gt;<br>
    &lt;block name=&quot;Uptime&quot; color=&quot;0xFF6347&quot; border_color=&quot;0xFF6347&quot; &gt;<br>
    &lt;set name=&quot;Ahmedabad Mob&quot; value=&quot;99.98&quot; color=&quot;0xFF6347&quot; /&gt;<br>
    &lt;set name=&quot;Bangalore Mob&quot; value=&quot;0&quot; color=&quot;0xFF6347&quot; /&gt;<br>
    &lt;set name=&quot;Chandigarh Mob&quot; value=&quot;99.99&quot; color=&quot;0xFF6347&quot; /&gt;<br>
    &lt;set name=&quot;Mumbai Mob&quot; value=&quot;0&quot; color=&quot;0xFF6347&quot; /&gt;<br>
    &lt;/block&gt;<br>
    &lt;block name=&quot;Target&quot; color=&quot;0xFFA500&quot; border_color=&quot;0xFFA500&quot; &gt;<br>
    &lt;set name=&quot;Ahmedabad Mob&quot; value=&quot;99.5&quot; color=&quot;0xFFA500&quot; /&gt;<br>
    &lt;set name=&quot;Bangalore Mob&quot; value=&quot;99.5&quot; color=&quot;0xFFA500&quot; /&gt;<br>
    &lt;set name=&quot;Chandigarh Mob&quot; value=&quot;99.5&quot; color=&quot;0xFFA500&quot; /&gt;<br>
    &lt;set name=&quot;Mumbai Mob&quot; value=&quot;99.5&quot; color=&quot;0xFFA500&quot; /&gt;<br>
    &lt;/block&gt;<br>
    &lt;/data&gt;<br>
    &lt;/root&gt;<br>
     </p>
    Message was edited by:
    Kezie

  • APEX 4.0 Installation Error

    Hello,
    When installing APEX 4.0 on an AIX box, 64 bit processor, I receive an error on the package wwv_flow_gen_api2. The result being that a get a package spec but no body for wwv_flow_gen_api2. I have searched the forums and tried a couple of suggestions offered. So far I have had no luck in getting a clean install. Has anyone else run into this? I don't have access to the install log at the moment. When I can get it I will post a copy to this ticket. Thanks for any and all assistance.
    Bob

    Here is an excerpt from the install log where the error occurs.
    Bob
    IV.   I N S T A L L   O R A C L E   A P E X   P A C K A G E   B O D I E S
    +...wwv_dbms_sql+
    No errors.
    +...wwv_meta_cleanup+
    No errors.
    +...wwv_flow_sw_parser+
    No errors.
    +...calendar.plb+
    No errors.
    +...chart.plb+
    No errors.
    wwv_render_report3.plb
    No errors.
    +...wwv_flow_page_cache_api+
    No errors.
    wwv_flow_render_query.plb
    No errors.
    +...wwv_flow_api+
    No errors.
    +...wwv_flow_gen_api+
    ERROR:
    ORA-03114: not connected to ORACLE
    Warning: Package Body created with compilation errors.
    Any thoughts?

Maybe you are looking for