• Post Reply Bookmark Topic Watch Topic
  • New Topic

urgent :: pls help immly.  RSS feed

 
Prabhu Chandrasekaran
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Friends,
i have one jsp report which comes to 5000 lines. it is compiling properly but on runtime, it gives an error stating
java.lang.VerifyError Illegal target for jump or branch found.
what is the problem and how to rectify ?? Pls. help.
Advance thanks,
Prabhu.V.C
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like you have hit the size limit for a single method. In order to do the various jumps within a compiled method, the jvm needs for the method to use less than 65K bytecodes.
You should refactor your monster JSP to use taglibs, beans, or some other form of helper class.
Incidently, you should never use titles like "urgent:: pls help" it does not communicate a thing about what your problem is and wastes people's time. You could have said "Illegal target for jump or branch problem"
Bill
 
Prabhu Chandrasekaran
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks,
I will try to change this program style so that it fits to the requirements.
Thanks again for the advice. Henceforth, I will be more specific with my subject line.
Regards,
Prabhu.V.C
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!