• benjix
  • NEWBIE
  • 0 Points
  • Member since 2012

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

Hello,

 

I'm having trouble modifying and saving an Apex class.

When I'm saving it, I get an error message, but the indicated error line doesn't match the actual code in the class.

The error is matching the old version of the code, before I modify the class.

 

I tried to save the class using the ForceIDE and directly in the browser without success.

I also tried to recompile all classe but I fails because of the same error.

 

So I emptied all the code in the class, leaving only the declaration (see screenshot below), but the error message is still referencing the old code :(

 

Error: Compile Error: Variable does not exist: Constants.CONTACT at line 59 column 83

screenshot: http://i.imgur.com/WbQvpXU.png

 

 

I seems like the old code is cached somehow, does anybody know how to handle this?

 

 

 

 

 
  • March 20, 2013
  • Like
  • 0

Hello,

 

I'm having trouble modifying and saving an Apex class.

When I'm saving it, I get an error message, but the indicated error line doesn't match the actual code in the class.

The error is matching the old version of the code, before I modify the class.

 

I tried to save the class using the ForceIDE and directly in the browser without success.

I also tried to recompile all classe but I fails because of the same error.

 

So I emptied all the code in the class, leaving only the declaration (see screenshot below), but the error message is still referencing the old code :(

 

Error: Compile Error: Variable does not exist: Constants.CONTACT at line 59 column 83

screenshot: http://i.imgur.com/WbQvpXU.png

 

 

I seems like the old code is cached somehow, does anybody know how to handle this?

 

 

 

 

 
  • March 20, 2013
  • Like
  • 0