The document has no pages issues with the mongodb report using mapreduce

0

 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 mongodb

1.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)

 

krishnam's picture
Joined: Mar 28 2012 - 12:56pm
Last seen: 2 years 3 weeks ago

2 Answers:

0

 Solved the issue by myself by setting the filter expression to

new Boolean(true)

 

krishnam's picture
Joined: Mar 28 2012 - 12:56pm
Last seen: 2 years 3 weeks ago
0

 Where exactly did you add new Boolean (true) because I am having a similiar problem

lcostello's picture
Joined: May 11 2012 - 9:42am
Last seen: 1 year 3 months ago

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?

elcesarzero - 1 year 2 months ago
Feedback
randomness