Deeply nested cftry/cfcatch/cffinally can result in java.lang.VerifyError
Issue
Under certain conditions, ColdFusion can throw a java.lang.VerifyError due to nested coding. This can be caused in the following conditions, examples:
nested cftry/cfcatch/cffinallyblock- using a nested
cffinallywhen on WebSphere with JDK1.5 on Microsoft Windows - using nested <cfthrow>/throw
The following sample shows how the code may be structured when recieiving this exception:
<cftry>
.... do code ...
<cfcatch type="any">
<cftry>
.... do code ...
<cfcatch type="any">
<cftry>
.... do code ...
<cfcatch type="any">
.... do code ...
</cfcatch>
<cffinally>
.... do code ...
</cffinally>
</cftry>
</cfcatch>
</cftry>
</cfcatch>
</cftry>
Reason
This is a known issue.
Solution
Remove the levels of nesting in the your code.
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
