Skip to Content
author's profile photo Former Member
Former Member

code too large for try statement

After upgrading to NW 740 SP12, our MSS application broke with the following error message.

/usr/sap/ /J04/j2ee/cluster/apps/ code too large for try statement

Caused by: Error in executing the compilation process: [ Compilation Failed! Exit Code=1^M Command line executed: /usr/sap/PTZ/J04/exe/sapjvm_6/bin//javac @/usr/sap/PTZ/J04/j2ee/cluster/server0/compilerTempDir/compiler_Feb_17_at_16.15.10_33/O1455747310497.txt


We have some old custom java code which must be generating code which is more than 65K. There is a FIX for SUNJAVA to increase jsp.bigmode.delimit.size. But we are using SAP JVM and wanted to where to set that size.

or this can be a upgrade issue with SP12. The Application works well with SP04 and has no issues. Anyone has fix for this error as this is bombing on each page of MSS.

Anyone has experienced similar issues, let me know

Mahesh Shetty

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Sep 12, 2016 at 02:20 PM

    Hello. I know this is old. Did you find a solution? We have the same problem after upgrading our Portal to 7.5. One of our PCR forms will errors with code too large for try statement. It seems that "bigmode" is not being honored in our 7.5 environment.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.