Unable to determine data types from resultset [message #246898] |
Mon, 09 July 2007 06:22  |
Eclipse User |
|
|
|
Hi, the problem is the following:
I have a local DB and the exact copy on a remote machine. On the local
machine is all right, but when in Eclipse I try change the address of
report dataset by pointing to the remote DB I have some problems:
- On the eclipse preview the raw values that I show on a simple grid of
report are shown ok, but the graphic isn't shown. Moreover I can't see red
errors.
- When I try to run a report from a web browser I have the same problem
http://127.0.0.1:8080/Birt/run?__report=report/ThresholdsPat ient.rptdesign&UserId=paperino&ReportDate=2007-06-11
but on the log file I read the following:
9-lug-2007 11.48.01 org.eclipse.birt.chart.datafeed.ResultSetWrapper setup
GRAVE: Unable to determine data types from resultset
9-lug-2007 11.48.01 org.eclipse.birt.chart.exception.ChartException logThis
GRAVE: Exception
org.eclipse.birt.chart.exception.ChartException: Empty dataset found
at
org.eclipse.birt.chart.datafeed.DataSetProcessorImpl.populat e(DataSetProcessorImpl.java:248)
- When I try to export it to pdf I get an empty white page and I have a
strange error on the stdout file:
java.lang.ClassCastException: [B
at
org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFa ctory$ContentVisitor.visitForeign(PDFLayoutManagerFactory.ja va:188)
at
org.eclipse.birt.report.engine.content.impl.ForeignContent.a ccept(ForeignContent.java:52)
Can you help me. I repeat on local DB it works well... I have no idea...
|
|
|
Re: Unable to determine data types from resultset [message #246928 is a reply to message #246898] |
Mon, 09 July 2007 08:49  |
Eclipse User |
|
|
|
It looks like two different issues. For the chart problem, I think this is
caused by having no data in it, but it shouldn't cause any error. If you
could get a snapshot of the data that the chart should display at that time,
paste it in a excel sheet, and attach your report design to a bugzilla
entry, we will fix that issue.
For the PDF problem, I would say it's a bug as well, so you can file a
bugzilla entry.
Thanks,
David
"Gabriele" <gnanni82@gmail.com> wrote in message
news:0dc4c6dadad46680f6b53335fcce235d$1@www.eclipse.org...
> Hi, the problem is the following:
>
> I have a local DB and the exact copy on a remote machine. On the local
> machine is all right, but when in Eclipse I try change the address of
> report dataset by pointing to the remote DB I have some problems:
>
> - On the eclipse preview the raw values that I show on a simple grid of
> report are shown ok, but the graphic isn't shown. Moreover I can't see red
> errors.
>
> - When I try to run a report from a web browser I have the same problem
>
> http://127.0.0.1:8080/Birt/run?__report=report/ThresholdsPat ient.rptdesign&UserId=paperino&ReportDate=2007-06-11
>
> but on the log file I read the following:
>
> 9-lug-2007 11.48.01 org.eclipse.birt.chart.datafeed.ResultSetWrapper setup
> GRAVE: Unable to determine data types from resultset
> 9-lug-2007 11.48.01 org.eclipse.birt.chart.exception.ChartException
> logThis
> GRAVE: Exception
> org.eclipse.birt.chart.exception.ChartException: Empty dataset found
> at
> org.eclipse.birt.chart.datafeed.DataSetProcessorImpl.populat e(DataSetProcessorImpl.java:248)
>
> - When I try to export it to pdf I get an empty white page and I have a
> strange error on the stdout file:
>
> java.lang.ClassCastException: [B
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFa ctory$ContentVisitor.visitForeign(PDFLayoutManagerFactory.ja va:188)
> at
> org.eclipse.birt.report.engine.content.impl.ForeignContent.a ccept(ForeignContent.java:52)
>
> Can you help me. I repeat on local DB it works well... I have no idea...
>
|
|
|
Powered by
FUDForum. Page generated in 0.03643 seconds