mohammed.sardar Posted August 25, 2014 Share Posted August 25, 2014 Greetings to everyone ! We're facing an issue with Jasper where by it happens only for few users not for all. this is related to accessing an logo image that has been placed on a jasper report. Please find the error details below.Could anyone please give me an idea on how to trace with this case ? ERROR : java.lang.Exception: net.sf.jasperreports.engine.JRException: Unable to get value for field 'REPORT_IMAGE' of class 'java.awt.Image'STACK TRACE :jasperTools.jasperReportBuilder$1Runner.run(jasperReportBuilder.java:218) [Version=1.12,Date=20130715150317]util.csSQLProgressMonitor$2.run(csSQLProgressMonitor.java:285) [Version=1.4,Date=20120217154226] Link to comment Share on other sites More sharing options...
hozawa Posted August 25, 2014 Share Posted August 25, 2014 Seems like parameter REPORT_IMAGE' is not being entered properly for those users getting the error. Do you set a default value so it's not empty? Link to comment Share on other sites More sharing options...
mohammed.sardar Posted August 25, 2014 Author Share Posted August 25, 2014 It's a field in a sub_report. I'm not quite confident how to get the name of the sub report. I mean to say the main report and the related to above error has been incorporated into an another sub-report which I dont know how to get the name and check what is the default value? Could you pls let me any clue? Bcoz the sub report was developed by another developer. Thanks Mohammed Link to comment Share on other sites More sharing options...
Tom C Posted August 26, 2014 Share Posted August 26, 2014 Please check your sub report template (JRXML file) REPORT_IMAGE default expression to help determine the root cause of the error. Link to comment Share on other sites More sharing options...
mohammed.sardar Posted August 26, 2014 Author Share Posted August 26, 2014 Hi I can understand your answer but not really sure how to know the SUB_REPORT name from my main report. :( Kind Regards Mohammed Link to comment Share on other sites More sharing options...
mohammed.sardar Posted August 26, 2014 Author Share Posted August 26, 2014 One more informatino is that the user who is facing this issue uses windows 7 Pro 64 Bit Version. Link to comment Share on other sites More sharing options...
mohammed.sardar Posted August 26, 2014 Author Share Posted August 26, 2014 Hi I'm not sure whether I can ask my doubts as above. But I'm new to Jasper. So if anyone has any idea then please help me. Else no issues. If the idea you are giving is new then I will learn from it. Link to comment Share on other sites More sharing options...
mohammed.sardar Posted September 7, 2014 Author Share Posted September 7, 2014 Still only some users are getting this error only in the morning at first when they log in. Afterwards this error will vanish. If any experts have heard about this isse please share your ideas.many thanks 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