Getting Exception While Loading Same image Dynamically in multiple reports.

1. i delacred one parameter in ireport like $P{USERIMG} , for this i am passing image path dynamically from jsp page.

2. Here issue is, image is not dispalying in some pages(into mark showing), but not all pages. In console am getting exception like 

            "java.lang.ClassCastException: net.sf.jasperreports.engine.fill.JRTemplatePrintFrame cannot be cast to net.sf.jasperreports.engine.JRPrintImage".


3. This issue is coming some times only . Some times 30 pages also loading without any exception, some times 5  pages also not loading.

So how to Fix this issue , i can' t find any solution.

Thanks in Advance.


anilchowdary257's picture
Joined: Nov 5 2014 - 12:01am
Last seen: 7 years 9 months ago

0 Answers:

No answers yet