Community
Participate
Working Groups
I cannot save any .java file. I get the message: Save Failed:org/eclipse/ui/editors/text/TextFileDocumentProvider $FileInfo.fElement All othe files can be saved .xml .php and so on...
Do you have a Java stack trace in your workspace/.metadata/.log file? Can you attach that here, please?
Created attachment 34363 [details] workspace/.metadata./log Here it is the log file, thanks in advance.
Looks like a dup of bug 104486. Moving to JDT/Core for comment.
Could you please specify what build you are using?
I think I found what is happening... I switched to Sun's Java instead of kaffe and now it works perfectly. Thanks everyone! Is it kaffe's fault?
The save failed because of an IllegalAccessError (see attached .log file) and not because of a JavaModelException. It looks like a runtime issue. CompilationUnitDocumentProvider doesn't have access to field fElement of TextFileDocumentProvider$FileInfo. Moving to Platform Runtime for comment
It looks like a VM issue. It is reporting illegal access in the case of a field on a protected nested class in the superclass. The Eclipse Java compiler, and the Sun VM, don't report this as an illegal access.