2004 IR Help Posted August 22, 2006 Share Posted August 22, 2006 By: andres_uy - andres_uy EXCEPTION_ACCESS_VIOLATION 2005-08-04 11:50 I get the following sometimes when i start a report. I had this problem with all the versions but it still hapening at the current version jasperreports-1.0.0.jar I saw the referenced line JRCalculator.java:608, and it have an try- catch wit NullPointerException, so i dont understand how is hapening. I am compiling with ireport 0.5.0 I only have one JVM in the path and java_home Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x80A 5AF1 Function=JVM_FindSignal+0x1878D Library=C:j2sdk1.4.2_06jrebinclientjvm.dll Current Java thread: at java.lang.Throwable.fillInStackTrace(Native Method) - locked <0x100cfd20> (a java.lang.NullPointerException) at java.lang.Throwable.<init>(Throwable.java:180) at java.lang.Exception.<init>(Exception.java:29) at java.lang.RuntimeException.<init>(RuntimeException.java:32) at java.lang.NullPointerException.<init>(NullPointerException.java:36) at net.sf.jasperreports.engine.fill.JRCalculator.evaluate(JRCalculator.java:608) **************** Another exception has been detected while we were handling last error. Dumping information about last error: ERROR REPORT FILE = (N/A) PC = 0x080a5af1 SIGNAL = -1073741819 FUNCTION NAME = JVM_FindSignal OFFSET = 0x1878D LIBRARY NAME = C:j2sdk1.4.2_06jrebinclientjvm.dll Please check ERROR REPORT FILE for further information, if there is any. Good bye. By: andres_uy - andres_uy RE: EXCEPTION_ACCESS_VIOLATION 2005-08-04 12:03 I forgot to say that this situacion stops the jboss service. And it hapens sometimes only. By: Teodor Danciu - teodord RE: EXCEPTION_ACCESS_VIOLATION 2005-08-05 02:08 Hi, It seems that we need to reopen the bug if you say you upgraded and still have th problem. Are you generating fairly big reports? Do you think it might be related to memory problems in you case? What about trying to use a different garbage-collection policy with you JVM? Thank you, Teodor By: andres_uy - andres_uy RE: EXCEPTION_ACCESS_VIOLATION 2005-08-05 07:09 The expression you suggested in the closed ticket isnt implemented in current version. You said to put: "if (expression != null)" in evaluateOld method.. I am thinking on compiling a version with that on method "evaluate". Whats the common think to do ? to run the compile jasper from the server or to call them directly from the client machine ? By: Teodor Danciu - teodord RE: EXCEPTION_ACCESS_VIOLATION 2005-08-05 07:19 Hi, Testing the expression for null before trying to evaluate it was not enough for solving the problem. So it was removed from our code. You could try it but it might only make the problem occur rarer and not solve it completely. The bug report was reopened. Let's continue the discussion there: http://sourceforge.net/tracker/index.php?func=detail&aid=745120&group_id=36382&atid=416703 Thank you, Teodor 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