Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRD - Preview button - error message from report based on res.partner model #297

Open
disna-sistemas opened this issue Oct 9, 2017 · 0 comments

Comments

@disna-sistemas
Copy link

Hi,
I have a clean new report with id and name fields
The data source is based on standard search, res.partner model (Odoo 8.0)
I have tested with other models and there is no problem but when i try res.partner i get this:

org.pentaho.reporting.engine.classic.core.ReportDataFactoryException: java.lang.Integer cannot be cast to [Ljava.lang.Object;
at org.pentaho.reporting.engine.classic.extensions.datasources.openerp.OpenERPDataFactory.queryData(OpenERPDataFactory.java:201)
at org.pentaho.reporting.ui.datasources.openerp.OpenERPDataSourceEditor$OpenERPPreviewWorker.run(OpenERPDataSourceEditor.java:288)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to [Ljava.lang.Object;
at com.debortoliwines.openerp.api.ObjectAdapter.searchAndReadObject(ObjectAdapter.java:516)
at com.debortoliwines.openerp.api.ObjectAdapter.searchAndReadObject(ObjectAdapter.java:498)
at com.debortoliwines.openerp.reporting.di.OpenERPHelper.getSearchData(OpenERPHelper.java:232)
at com.debortoliwines.openerp.reporting.di.OpenERPHelper.getData(OpenERPHelper.java:86)
at org.pentaho.reporting.engine.classic.extensions.datasources.openerp.OpenERPDataFactory.queryData(OpenERPDataFactory.java:197)
... 2 more

Any idea?
Thanks in advance,

Victor Martin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant