Home » Archived » BIRT » Can't Get CSV ODA Plugin to Work
Can't Get CSV ODA Plugin to Work [message #772335] |
Thu, 29 December 2011 09:38  |
Eclipse User |
|
|
|
Good afternoon,
as described in the book 'Integrating and Extending BIRT' I tried to get the CSV ODA plugin to work. I have downloaded the two zip archives from http://www.actuate.com/products/resources/?articleid=22889 and proceeded as described in the book's chapter 20, section 'Testing the CSV ODA UI Plugin'.
My Eclipse version is Helios and the BIRT included therein is 2.6.2, allthough when looking at all bits there are occasional glimpses of 2.6.1. My book's version is 'Second Edition' so it did not exactly match the more recent circumstances but I managed somehow accordingly.
The two plugins could be imported and the described run-time configuration could be started. I created a reporting project, a report and a DataSource. Test configuration said 'PING succeeded' (upon csvTestODA.csv taken from Test-CSVODA.zip downloaded form the same location as the plugins). When trying to create a DataSet, I came to the pop-up where the columns were to be selected:
29.12.2011 15:28:02 org.eclipse.datatools.connectivity.oda.design.ui.designsession.DesignSessionUtil toResultSetColumnsDesign( IResultSetMetaData )
INFO: Some optional metadata of column 1 are not available.
java.lang.UnsupportedOperationException
at org.eclipse.birt.report.data.oda.csv.impl.ResultSetMetaData.getColumnDisplayLength(ResultSetMetaData.java:97)
at ...
This is true, the method getColumnDisplayLength in org.eclipse.birt.report.data.oda.csv.impl.ResultSetMetaData only throws an UnsupportedOperationException when called.
Also I failed in previewing the report new_report_1.rptdesign which I also took from Test-CSVODA.zip:
2011-12-29 15:34:00.502:WARN::ERROR: Error for /viewer/run
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at ...
I may have done something wrong in the setup, there might be something rotten with my Eclipse installation, can somebody give me a hint?
Thanks & regards,
Juliane.
|
|
|
Re: Can't Get CSV ODA Plugin to Work [message #774309 is a reply to message #772335] |
Tue, 03 January 2012 12:08   |
Eclipse User |
|
|
|
There may be a bug in the code. Can you try these plugins?
BTW did you load up the source and then export the plugins? The
attached ones are in exported format and can just be added to the designer.
Jason
On 12/29/2011 9:38 AM, Juliane Harbarth wrote:
>
> Good afternoon,
>
> as described in the book 'Integrating and Extending BIRT' I tried to get
> the CSV ODA plugin to work. I have downloaded the two zip archives from
> http://www.actuate.com/products/resources/?articleid=22889 and proceeded
> as described in the book's chapter 20, section 'Testing the CSV ODA UI
> Plugin'. My Eclipse version is Helios and the BIRT included therein is
> 2.6.2, allthough when looking at all bits there are occasional glimpses
> of 2.6.1. My book's version is 'Second Edition' so it did not exactly
> match the more recent circumstances but I managed somehow accordingly.
>
> The two plugins could be imported and the described run-time
> configuration could be started. I created a reporting project, a report
> and a DataSource. Test configuration said 'PING succeeded' (upon
> csvTestODA.csv taken from Test-CSVODA.zip downloaded form the same
> location as the plugins). When trying to create a DataSet, I came to the
> pop-up where the columns were to be selected:
> 29.12.2011 15:28:02
> org.eclipse.datatools.connectivity.oda.design.ui.designsession.DesignSessionUtil
> toResultSetColumnsDesign( IResultSetMetaData )
> INFO: Some optional metadata of column 1 are not available.
> java.lang.UnsupportedOperationException
> at
> org.eclipse.birt.report.data.oda.csv.impl.ResultSetMetaData.getColumnDisplayLength(ResultSetMetaData.java:97)
>
> at ...
>
> This is true, the method getColumnDisplayLength in
> org.eclipse.birt.report.data.oda.csv.impl.ResultSetMetaData only throws
> an UnsupportedOperationException when called.
> Also I failed in previewing the report new_report_1.rptdesign which I
> also took from Test-CSVODA.zip:
>
> 2011-12-29 15:34:00.502:WARN::ERROR: Error for /viewer/run
> java.lang.OutOfMemoryError: PermGen space
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
> at ...
>
> I may have done something wrong in the setup, there might be something
> rotten with my Eclipse installation, can somebody give me a hint?
>
> Thanks & regards,
> Juliane.
>
>
Attachment: plugins.zip
(Size: 43.43KB, Downloaded 340 times)
|
|
| | | | | | | | | | | |
Re: Can't Get CSV ODA Plugin to Work [message #784463 is a reply to message #784445] |
Fri, 27 January 2012 10:12  |
Eclipse User |
|
|
|
Aahhh, never mind, it works for me now!!!!!!!
The last issue was something with the JVM: 1.5 vs. 1.6 / 32bit vers 64bit, don't exactly understood that last bit, but isn't that wonderful!
Can't promise I won't be back with more questions, but for the moment, thank you very much for your help and your patience.
Have a nice weekend,
Juliane.
|
|
|
Goto Forum:
Current Time: Wed Jul 23 01:51:14 EDT 2025
Powered by FUDForum. Page generated in 0.05051 seconds
|