cancel
Showing results for 
Search instead for 
Did you mean: 

code too large for try statement

Former Member
0 Kudos

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

/usr/sap/<SID>/J04/j2ee/cluster/apps/sap.com/com.cop.hr.mss.personnel_detail/servlet_jsp/com.cop.hr.mss.personnel_detail/work/PRT_jsp_WEB_2d_INF_pagelet_overview_42230550_1455557582000_1455747310294.java:6405: code too large for try statement

Caused by: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException: 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

@/usr/sap/PTZ/J04/j2ee/cluster/server0/compilerTempDir/compiler_Feb_17_at_16.15.10_33/S1455747310498.txt^M

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

Accepted Solutions (0)

Answers (1)

Answers (1)

jeffrushlow
Participant
0 Kudos

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. 

Former Member
0 Kudos

Jeffrey

We had to re-write our JAVA code which reduce the code less than 65K. We didn't had any more choice other than re-writing the code.

Mahesh Shetty