Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with this error

 
Rama Ituarte
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Help with this error: Error occurred in server thread; nested exception is java.lang.ClassFormatError suncertify.server.LockManager(mad magic number). I only get this error when running the app via executable jar files. Do you think one of my classes is corrupted? I have attempted to rebuild the jar files.
Rama Ituarte.
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rama,

... java.lang.ClassFormatError suncertify.server.LockManager(mad magic number). I only get this error when running the app via executable jar files. Do you think one of my classes is corrupted?

That's what it sounds like. If the magic number (inital bytes) in the class file is wrong then it is assumed not to be a valid class file. Try rebuilding all your class files before recreating the jar.
Hope this helps,
Michael Morris
 
Rama Ituarte
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That�s what it was.
Thanks again.
Rama
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic