Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Frank Jacobsen
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Frank Jacobsen
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe i realy donĀ“t understand it, becouse the same war file runs fine in a weblogic server

Frank
 
Mike Simmons
Ranch Hand
Posts: 3076
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3076
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 48949
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3076
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Campbell!
 
Frank Jacobsen
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here it comes loooooooooooooooong stack trace , hope someone can se something, i cant.....

// Frank


 
Frank Jacobsen
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does not look like an advanced question, moving to intermediate.
 
Campbell Ritchie
Sheriff
Pie
Posts: 48949
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 358
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good quistion !

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

Frank
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic