Sanjaya Member Licensed User Longtime User Feb 10, 2015 #1 Hi guys, Thank you Erel for pointing in the right direction - worked BUT THEN this: Compiling generated Java code. Error B4A line: 3659 End Sub javac 1.7.0_76 src\sanjaya\app\calculation.java:10536: error: code too large for try statement catch (Exception e) { ^ 1 error What does it mean and any way to fix this? Sanjaya
Hi guys, Thank you Erel for pointing in the right direction - worked BUT THEN this: Compiling generated Java code. Error B4A line: 3659 End Sub javac 1.7.0_76 src\sanjaya\app\calculation.java:10536: error: code too large for try statement catch (Exception e) { ^ 1 error What does it mean and any way to fix this? Sanjaya
lemonisdead Well-Known Member Licensed User Longtime User Feb 10, 2015 #2 Hello, Erel said that the limit is 64 Kb set by Java. Were you in debug mode ? The solution seems to be : break the code in smaller parts Upvote 0
Hello, Erel said that the limit is 64 Kb set by Java. Were you in debug mode ? The solution seems to be : break the code in smaller parts
NJDude Expert Licensed User Longtime User Feb 10, 2015 #3 The error you mentioned means the code you have in your TRY...CATCH is too long. Upvote 0
Sanjaya Member Licensed User Longtime User Feb 11, 2015 #4 Thank you LEMONISDEAD and NJDUDE for the pointers Going to try breaking up the code But this message never appeared before moving the Hard Drive onto a new Computer Hmmm Upvote 0
Thank you LEMONISDEAD and NJDUDE for the pointers Going to try breaking up the code But this message never appeared before moving the Hard Drive onto a new Computer Hmmm
Erel B4X founder Staff member Licensed User Longtime User Feb 11, 2015 #5 This error usually happens in rapid debug mode when you have a very large sub. The Try / Catch block is added automatically so it might be a bit confusing. The solution is to break it to smaller subs. Upvote 0
This error usually happens in rapid debug mode when you have a very large sub. The Try / Catch block is added automatically so it might be a bit confusing. The solution is to break it to smaller subs.