Jump to content

Runtime crash of JVM


2005 IR Help

Recommended Posts

By: Krishna S - krishna_s

Runtime crash of JVM

2002-11-15 09:37

Hi,

I could not figure out the weird problem. Pls help.

Sometime ( randomly) the JasperReports is crashing the JVM and I get the following messages on the console:

 

Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D3C94E8

Function=JVM_RegisterUnsafeMethods+0x12E01

Library=C:j2sdk1.4.0_01jrebinclientjvm.dll

 

Current Java thread:

at java.lang.Throwable.fillInStackTrace(Native Method)

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 dori.jasper.engine.fill.JRCalculator.evaluate(JRCalculator.java:656)bti

 

 

****************

Another exception has been detected while we were handling last error.

Dumping information about last error:

ERROR REPORT FILE = (N/A)

PC = 0x6D3C94E8

SIGNAL = -1073741819

FUNCTION NAME = JVM_RegisterUnsafeMethods

OFFSET = 0x12E01

LIBRARY NAME = C:j2sdk1.4.0_01jrebinclientjvm.dll

Please check ERROR REPORT FILE for further information, if there is any.

Good bye.

Press any key to continue . . .

----------------------------------------------------

Part of the file

c:/JasperReports/src/dori/jasper/engine/fill/JRCalculator.java is as follows:

protected Object evaluate(JRExpression expression) throws JRException

{

Object value = null;

 

try

{

value = this.evaluate(expression.getId());

}

catch (NullPointerException e)

{

}

catch (Exception e)

{

throw new JRException("Error evaluating expression value : " + expression.getName(), e);

}

 

return value;

}

 

 

Pls help.

Rgds.,

 

 

 

 

By: Teodor Danciu - teodord

RE: Runtime crash of JVM

2004-04-30 03:19

 

Hi,

 

Try to launch your JVM using the -server command line

switch instead of the default which is -client.

 

Thank you,

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...