• FernandoF
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies

I get the following error when I compile my apex classes:

 

line -1, column -1: Method 'CodeCoverage' exceeds the maximum number of allowed op codes. Please break this method into multiple, smaller methods.
line -1, column -1: Previous load of class failed: CodeCoverageTest: line -1, column -1: Method 'CodeCoverage' exceeds the maximum number of allowed op codes. Please break this method into multiple, smaller methods.

repeats...

repeats...

repeats...

 

I had never received this error before in my sandbox. I have not changed anything in the apex since I last ran the compliation.

 

Any suggestions as to what has caused this?

  • February 17, 2012
  • Like
  • 0