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.

Bug 230477 - After source code has been corrected, file still signaled as error (red ! badge)
Summary: After source code has been corrected, file still signaled as error (red ! badge)
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-29 18:55 UTC by ecerichter
Modified: 2013-06-04 20:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (126.87 KB, text/plain)
2013-05-29 18:55 UTC, ecerichter
Details
Screenshot of the issue (82.46 KB, image/png)
2013-05-29 18:56 UTC, ecerichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ecerichter 2013-05-29 18:55:46 UTC
Product Version = NetBeans IDE Dev (Build 201305262300)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_17
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01

After correcting some syntax error in source code, and compiling, the file is still marked as wrong in Project tree.
Also, in Action Items it is not refreshed even if I explicit ask for a refresh.
See attached screenshot for reference.
Comment 1 ecerichter 2013-05-29 18:55:53 UTC
Created attachment 135094 [details]
IDE log
Comment 2 ecerichter 2013-05-29 18:56:13 UTC
Created attachment 135095 [details]
Screenshot of the issue
Comment 3 Dusan Balek 2013-05-30 09:32:03 UTC
Could you please create a reproducible test case (simple test project and exact steps to reproduce) and attach it to the issue? Thanks.
Comment 4 ecerichter 2013-05-30 15:43:14 UTC
Sorry to say I can't reproduce this with small projects.

This one is a large project with > 1,000,000 loc.

Also NetBeans rapidly consumes all 2G I've reserved for him, and after a while I get error "Not enough memory to compile ..." (or a similar error message, whereas ... is my project source folder).

Probably these two problems are related, since the "red !" appears after a while working with my large project (and doesn't with small ones).
Comment 5 Dusan Balek 2013-05-31 10:40:59 UTC
Yeah, "Not enough memory to compile ..." could be a source of your problems.
Could you please provide a memory heap dump for us? Thanks.
Comment 6 Dusan Balek 2013-06-03 07:57:47 UTC
A huge leak causing "Not enough memory to compile ..." while indexing even middle size projects found and fixed in jet-main. Hopefully it helps.

http://hg.netbeans.org/jet-main/rev/a5c024b6f59f
Comment 7 Quality Engineering 2013-06-04 01:47:53 UTC
Integrated into 'main-golden', will be available in build *201306032301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a5c024b6f59f
User: Dusan Balek <dbalek@netbeans.org>
Log: Do not keep end positions while indexing - see issue #230477.
Comment 8 ecerichter 2013-06-04 20:31:54 UTC
I'm pleased to tell that I've been working a full day with two big projects open, and NetBeans is behaving perfectly well.

Thank you very much!

Edson.