That was working. Thank you very much. Still do not understand why it did not clear the error when I deleted the whole Cache directory.
Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 [EmailSig-TaglineVersion] From: Bilu <albi...@gmail.com> Sent: Friday, May 8, 2020 2:21 PM To: users@netbeans.apache.org Subject: Re: Error badge on the correct code Hello, Actually you dont need to delete the entire cache dir, you need to find the .err file of your file and delete it. The Netbeans errors are cached in the index of your cache sub-directory of the Netbeans. There is some .err and .warn files, which contain the error and the warning messages for each files. So by deleting your_json_file.json.err it should work. This works for me some time ago Regards Le 08/05/2020 à 08:21, Peter Steele a écrit : I get this from time to time, clearing cache makes no difference, I normally delete the .netbeans directory. This fixes it every time. Can be quite annoying when it happens. On Thu, 7 May 2020, 21:30 Greenberg, Gary, <ggree...@visa.com.invalid><mailto:ggree...@visa.com.invalid> wrote: I have in one of my projects JSON file. At some point in time, while I was still editing it, it had errors. However, these errors were fixed long time ago, but in project file marked with the red error badge. Netbeans was restarted several times and my laptop was rebooted recently. The badge is still there. How can I get rid of it, short of removing userdir? I am working on several projects and have over 30 files open. Hate to reload everything. My environment: NB 11.1, Java 8, Win 10pro. Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com<mailto:ggree...@visa.com> M: 650-269-7902 [EmailSig-TaglineVersion]