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.
Product Version: NetBeans IDE Dev (Build 070620) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b04 System: Linux version 2.6.16-1.2122_FC5 running on i386; UTF-8; en_US (nb) I have worked on an automated tests of debugger. I have opened one of tests source in editor. The file was modified and saved. After I externally modified some of the test sources (including the opened file) the opened source was repainted by yellow background and some message dialog was thrown with text - the file was modified and cannot be loaded. The file lost code foldings and inline diffs and cannot be scrolled to end. After I tried to open other modified files code foldings and inline diff did not work there too. Editor for not externally modified files in the same package works. There were some exceptions in ide log but I do not know if they were thrown in the same time.
Created attachment 44066 [details] ide log fragment
Created attachment 44067 [details] threaddump
It looks like that you were in the middle of editing a code template when the file was reloaded. The exceptions were thrown from the code templates handler and the reaload operation failed. After that the editor was clearly in some undefined state.
I hope I did not modify any template. Or I do not know what do you mean by code template. I simply go to tests root folder in terminal and executed some recursive 'sed' command to replace a text in all java files in the folder. It was not trivial replace I replaced whole try - catch block by a single method call.
I meant code templates like 'fori' followed by tab key. When it's expanded it switches editor in a special mode in which you are required to enter code template parameters. It looks like the editor was in that state when the file was externally modified. But I might be wrong.
moving opened issues from TM <= 6.1 to TM=Dev
Will be resolved LATER, does not look like a frequent issue.
NetBeans.org Migration: changing resolution from LATER to WONTFIX