Today, correcting errors in some existing code, I found a strange error.
Too big branch offset too short
After searching, I found that this is due to Java byte code conversion. Here are the links I found:
In my case, cftransaction contains about 870 statements and works fine. But I need to add 2 more requests to this transaction. Now I get this error when I add even one line of code inside cftransaction. Currently, I cannot migrate any of the existing cfquery from cftransaction.
Here is the general structure of the code:
<cftransaction action="begin"> <cfif URL.action eq 'add'> Around 200 lines of queries/statements <cfelseif URL.action eq 'edit'> Around 200 lines of queries/statements </cfif> <cfif URL.action eq 'add' or URL.action 'edit'> Around 450 lines of queries/statements </cfif> </cftransaction>
Is there any workaround?
coldfusion coldfusion-9 cfquery
Deepak kumar padhy
source share