06-21-2010 02:05 PM
I have a fairly large Midlet that gives me this error message when packaging in Eclipse:
MControll.Main_Controll: Error!: Error!: control flow verification information too large: commandAction
Doing a "Build all" in the Blackberry JDE I get no complaints
So I wonder, is there a problem in the code or in Eclipse??
Solved! Go to Solution.
06-21-2010 04:50 PM
Looked in the code. Not me who wrote it. Its a beast. Curious, what does it really mean that Blackberry JDE do not complain but Eclipse does?
06-21-2010 05:01 PM
Dunno, but I've been there.
I had a class (written by somebody else) that had (among other issues) 1800 lines in a switch statement. I added 3 lines to one case and started getting the problem. When I removed the three lines, the problem went away.
Eventually had to start breaking out the logic in the case statements into separate methods, then wound up doing a deeper refactoring job anyway. I eventually got it up and compiling again.
One of those deals where the customer says "but it's only a couple of lines of code, right?"