ramich Posted May 12, 2015 Share Posted May 12, 2015 I want to create a jasperReport that use elasticSearch as a dataSource and it contains a Pie chart and a list each one has a specific mode of query I've used a subdatset for ech graph: a facet dataSource for Pie chart and hit dataSource for list==> when i publish the report i have a null Pointer Exception Link to comment Share on other sites More sharing options...
ernestoo Posted May 15, 2015 Share Posted May 15, 2015 Which ElasticSearch plugin are you using? Link to comment Share on other sites More sharing options...
ramich Posted May 15, 2015 Author Share Posted May 15, 2015 I use ElasticJasperServer for the jasperServer and Jaspersoft Studio Plugins from Wedjaa Open Initiative for the jasperSoft studio Link to comment Share on other sites More sharing options...
ernestoo Posted May 18, 2015 Share Posted May 18, 2015 According to their blog - http://blog.wedjaa.net/elasticjasper-one/ you will need to create separate data adapter"When you create sub-reports you can recycle the connection from the master report. That’s all fine, until you want to use some kind of different query results in the subreport. So: your master report is using a ElasticJasper adapter for facets and you want to use aggregations on the sub reports: you will need to create new adapters for these sub reports. I know – it sucks, but so many things suck in life, why would you want to be worried about this one?" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now