This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Example: After a JavaModel is corupted a user cannot save changed document. I think the Save Document action should be implemented better. A document content must be written into a file. Exceptions from FileChanged notifiations cannot break the saving of a document.
Created attachment 15753 [details] Example stacktrace.
actualy I'm getting similar exceptions today a lot.. BUT the document gets saved, just the notification that the files is modified stays there..
Are you joking or what does it mean ? Why do you file it against filesystems ? *** This issue has been marked as a duplicate of 44934 ***
Aha, I was mystifing by IDE. It's good way to panic when IDE looks it cannot save your documents :). But a document should be set as saved in despite of state of Java and other models. Radek: You can close it as INVALID or decrease priority. But it is not duplicate of the java problem. I thought the problem in notification after the saving of a document. It is possible to get IDE into inconsistent state. It doesn't matter why.
What are you speaking about ? Naturally its possible to get IDE into inconsistent state e.g. if you cause ClassCastException. If you think that implementations of FileChangeListener can arbitrarily crash then forget about it. No artificial intelligence in openide and core yet.
I only don't know why state of a document depends on state of some model. I think all models are builded above documents. I mean when I invoke Close Document and it is changed it will be saved and closed independently of thrown non-ioexceptions. I know "restart IDE" is the solution.
closed