aspose file tools*
The moose likes Java in General and the fly likes java.lang.VerifyError,runtime exception,can anyone explain when or why get this runtime exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java.lang.VerifyError,runtime exception,can anyone explain when or why get this runtime exception " Watch "java.lang.VerifyError,runtime exception,can anyone explain when or why get this runtime exception " New topic
Author

java.lang.VerifyError,runtime exception,can anyone explain when or why get this runtime exception

Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 339
I got this exception when i run my program, no idea why i got this error......

Anyone get an idea, im running i websphere appserver 6.1




Frank
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12675
    
    5
According to the JavaDocs, a VerifyError is caused by "some sort of internal inconsistancy or security problem"

Perhaps the class file has been corrupted?

Bill


Java Resources at www.wbrogden.com
Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 339
Maybe i realy donĀ“t understand it, becouse the same war file runs fine in a weblogic server

Frank
Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 2969
    
    9
Are you sure you've got all the stack trace here? It probably goes on for some time after this, with several levels of "caused by" exceptions. In particular, it would be nice to see the last part , the part that begins with the VerifyError. One of the lines of the stack trace should refer to an init() method. It would be helpful to see what exactly was going on inside that init method. Look up the source code to see what's going on at those line numbers.
Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 2969
    
    9
Also, that realllllllllly long line at the beginning has an evil effect on the formatting of this page for everyone else. Maybe someone could edit that and insert some line breaks. Thanks.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36468
    
  16
Mike Simmons wrote:Also, that realllllllllly long line at the beginning has an evil effect on the formatting of this page for everyone else. Maybe someone could edit that and insert some line breaks. Thanks.
For you, Mike . . .
Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 2969
    
    9
Thanks, Campbell!
Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 339
Here it comes loooooooooooooooong stack trace , hope someone can se something, i cant.....

// Frank


Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 339
Now i tried in websphere to uninstall my war and install it again, instaead off updating the war file, and that gives me another exception......

So no this exception



I LOVE JAVA AND CLASSPATH PROBLEMS
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

Does not look like an advanced question, moving to intermediate.


apigee, a better way to API!
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36468
    
  16
Nitesh Kant wrote:Does not look like an advanced question, moving to intermediate.
Move it somewhere where I can't find it, Nitesh

What on earth makes you think it is a classpath problem? Have you read the stack trace? No, you haven't or you would have realised it has such long lines in nobody can read it, and it has taken me ages to put enough newlines in to make it fit onto the screen.

Why are you getting NoSuchMethodErrors?
Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 339
Good quistion !

I will be back, when i found out what is wrong here !

Frank
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: java.lang.VerifyError,runtime exception,can anyone explain when or why get this runtime exception
 
Similar Threads
ERROR - Context initialization failed org.springframework.beans.factory.BeanCreationException
My app works fine on weblogic 9.2 32 bits, but fails on 64 bits, any good ideas out there ?
LOrdering Error wile starting Tomcat 7 server using Richfaces 4.1 and JSF 2.0
BeanCreationException in an standalone application using Spring
Problem running tomcat - HTTP Status 404