• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 378
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe i realy donĀ“t understand it, becouse the same war file runs fine in a weblogic server

Frank
 
Master Rancher
Posts: 4796
72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Master Rancher
Posts: 4796
72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Marshal
Posts: 79153
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Master Rancher
Posts: 4796
72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, Campbell!
 
Frank Jacobsen
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here it comes loooooooooooooooong stack trace , hope someone can se something, i cant.....

// Frank


 
Frank Jacobsen
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 1638
IntelliJ IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does not look like an advanced question, moving to intermediate.
 
Campbell Ritchie
Marshal
Posts: 79153
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 378
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good quistion !

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

Frank
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic