on 02-20-2008 9:56 PM
Hi All,
When i run the plane crystal report in my application.The page is running successfully. But when, i run the graph report, the errors are comes.
Exception at EPFPageFactory.getPage: java.lang.Exception: Error in EPFImapgeObjectInstancesBase.getInstanceProperties: null epfImage
KIndly requested to all my friends, plz help me............
That error usually occurs when the application can't read/write to the temp folder.
Another possible issue is that you're running on a headless Unix server - Java AWT lib is used to draw the image, and AWT by default uses X11 - so it requires connection to a X Display.
So I recommend:
1. Ensure that your app is writing/reading the image file to the temp folder.
2. Try running your app with -Djava.awt.headless=true, such that internal lib rather than X11 is used to draw images.
The graph images are written to the temp folder, and a crystalimagehandler.jsp is called on postback to stream the image out.
Sincerely,
Ted Ueda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ted Ueda,
Again, nice met to u through My Error. Really r u more helps to me. So, I respected to u.
I read ur answer.
Before, I have changed the log4j.properties. (my Application run in windows2000-- WSADIE 5.1.1)
See the log4j.properties file -
(i have changing)
Default log location
#crystal.logs.home=${user. home}/crystal
#crystal.logs.home=$/crystal
crystal.logs.home=C:\temp (;; I changed)
-
But when run the application, no any images r store in the temp file but log file jep.log file present.
So, how to write/read the image files in temp floder. Plz give me ur suggestion,
Thnks & Hot Regards
Sanjay
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.