whilst debugging I can confirm that is not null so the path to the file is correct and is being picked up, so i'm not sure why it would be having a problem with the InputStream. The .jasper file I created in iReport.
Any thoughts appreciated.
Regards, Dave Brown
SCJP 6 - [url]http://www.dbws.net/[/url] - Check out Grails Forum
Joined: Mar 08, 2005
Solved the problem eventually.. so for the benefit of others who may run into this....
It was all down to the version of my jasper jar. I download jasper 0.6.6 and was using iReport which comes with version 0.6.4. The compiled .jasper file from iReport being version 0.6.4 was causing the problem so I copied the 0.6.4 jar from my jasper sdk into my tomcat common/lib directory and removed the 0.6.4 jar and all problems vanished.