class cast exception in extending ReportEventAdapter [message #1229832] |
Fri, 10 January 2014 05:11 |
Eclipse User |
|
|
|
Hi All,
I am creating a BIRT report with ODA data source.
For a requirement I want to report parameter from java.
To achieve this I have created a class that extends ReportEventAdapter like this
public class OrderReport extends ReportEventAdapter{}
and in the Reports event handler, providing the fully qualified name of the class.
When the report runs it throws an error whose root cause is
Caused by: java.lang.ClassCastException: com.optisys.reports.OrderDataSource1 cannot be cast to org.eclipse.birt.report.engine.api.script.eventhandler.IReportEventHandler
at org.eclipse.birt.report.engine.script.internal.ReportScriptExecutor.handleInitialize(ReportScriptExecutor.java:74)
What might be the solution for this!!
Thanks
Sudhansu
|
|
|
Powered by
FUDForum. Page generated in 0.02312 seconds