krishnam Posted March 28, 2012 Share Posted March 28, 2012 Was trying to use map/reduce feature of mongodb.Both the attached reports work fine on windows 7 machine with iReport 4.5.0/4.5.1 and mongodb 2.0.0.I could see the report output being generated in PDF.but throws "The document has no pages" message on windows vista m/c with iReport 4.5.0/4.5.1 and mongodb1.8.1/2.0.0.Not sure what was the reason. Not suspecting the os issue. In both the cases it creates the collection and stores records after executing map/reduce command but after wards it doesn't return results in second scenario.But doesn't return any results. Tried different approaches with no luck.Any ideas why is this weird behavior of working on one m/c and not others ?Is it mongodb version?Failure case : mongo db running in different drive vs ireport designer (but not suspecting this) Link to comment Share on other sites More sharing options...
krishnam Posted March 29, 2012 Author Share Posted March 29, 2012 Solved the issue by myself by setting the filter expression tonew Boolean(true) Link to comment Share on other sites More sharing options...
lcostello Posted June 4, 2012 Share Posted June 4, 2012 Where exactly did you add new Boolean (true) because I am having a similiar problem Link to comment Share on other sites More sharing options...
elcesarzero Posted January 27, 2013 Share Posted January 27, 2013 excuse me, did you solve this problem? I had the same issue and in a lot of places says this as a solution, but where exactly this boolean needs to be? 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