Re: Error badge on the correct code

2020-05-07 Thread Alan
On 2020-05-08 01:17, Emilian Bold wrote: Seems really awful product-wise to have a recommendation for a 'Restart IDE' plugin! It's just realistic. Every complex program has bugs of one sort or another. Memory leaks or some broken data structure, an index that doesn't get cleaned up and thus

Re: Error badge on the correct code

2020-05-07 Thread Emilian Bold
I always assumed that stray Java error badges are a mismatch between the internal compiler/parser NetBeans used and the actual project compiler. Since this happens for JSON either it's a similar parser bug or even worse an index invalidation bug. Seems really awful product-wise to have a

RE: Error badge on the correct code

2020-05-07 Thread Greenberg, Gary
I have deleted cache directory, but when I restarted Netbeans, error badge was still there. Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 -Original Message- From: Eirik Bakke Sent: Thursday, May 7, 2020 7:05 PM To: Ernie

RE: Error badge on the correct code

2020-05-07 Thread Eirik Bakke
> An aficiaonado could tell you which subdirectory of cachedir to remove. I find removing the "index" subdirectory in the cache directory (after first exiting NetBeans) does the trick. At least for Java files with stray error badges. -- Eirik -Original Message- From: Ernie Rael

Re: Error badge on the correct code

2020-05-07 Thread Ernie Rael
This can frequently be cleared up by removing "Cache Directory" only, see Menu > Help > About. This won't loose your settings/windows/openFiles/... An aficiaonado could tell you which subdirectory of cachedir to remove. -ernie On 5/7/2020 1:29 PM, Greenberg, Gary wrote: I have in one of my

Re: Error badge on the correct code

2020-05-07 Thread Alan
On 2020-05-07 16:29, Greenberg, Gary 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

Error badge on the correct code

2020-05-07 Thread Greenberg, Gary
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