Hi
I am using jasperserver with Mongodb as data source. I have added the data source, test connection is successful. but after creating a topic when i try to create an ad hoc view for the report it gives me
The server has encountered an error. Please excuse the inconvenience.
Error Message
java.lang.RuntimeException: exception getting dataset from cache
Error Trace
"collectionName":"weekly_jasper_reports"} at com.jaspersoft.commons.semantic.dsimpl.JRQueryDataSet$JRDataSetIterator.next(JRQueryDataSet.java:317) at com.jaspersoft.commons.datarator.CachedData.fetchData(CachedData.java:135) ... 143 more Caused by: net.sf.jasperreports.engine.JRException: No MongoDB connection at com.jaspersoft.mongodb.query.MongoDbQueryExecuter.createDatasource(MongoDbQueryExecuter.java:114) at com.jaspersoft.commons.semantic.dsimpl.JRQueryDataSet.getJRDataSource(JRQueryDataSet.java:190) at com.jaspersoft.commons.semantic.dsimpl.JRQueryDataSet.access$100(JRQueryDataSet.java:51) at com.jaspersoft.commons.semantic.dsimpl.JRQueryDataSet$JRDataSetIterator.next(JRQueryDataSet.java:308) ... 144 more
I have also tried with giving datasource in the specific topic but didn't solve my issu.
Need Help thanks
1 Answer:
Posted on September 20, 2019 at 8:54am
You might check out this related post:
https://community.jaspersoft.com/wiki/exception-getting-dataset-cache
I get the same error