+ Start a Discussion

"Problem with the existing metadata for this class"

I have started getting the following message with increasing frequency:
"Severity and Description Path Resource Location Creation Time Id
Compilation error: Problem with the existing metadata for this class, try deleting the class first or contact support Fairsail Develop/Apex Classes CompetencyAssessment.cls line 1 1192792313859 4150"
The cure is to delete the class and paste it back in again.  This is getting to be a hastle since it sometimes happens on almost any change to a class source.  It doesn't just happen with one class - several have done it.  I can't spot a pattern as to when it occurs.
What is causing it?
How can I avoid it?
If it is a bug can it be fixed?
Ron HessRon Hess
Is this with eclipse?
can you post your eclipse version and apex toolkit for eclipse version?

I saw this once long ago, but have installed the latest eclipse toolkit for apex and no longer see it.
It hasn't happened yet in the latest (Oct 2007) Ecllipse add-in.
No - the new version of Eclipse has the same problem. It has the additional issue that it doesn't always tell you about it.  It returns "unknown exception" when you try to run the code.  It then doesn't let you delete the class either - you have to go back to the web interface to do the delete and recreation of the class.  So in fact the problem is now worse.
Hey cic,
Is this still occuring? Have you found any solution?