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 245758 - Java editor doesn't mark errors on code
Summary: Java editor doesn't mark errors on code
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P2 normal with 2 votes (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-17 12:50 UTC by iluvtr
Modified: 2015-02-06 17:04 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Image of bug (124.23 KB, image/png)
2014-07-17 12:50 UTC, iluvtr
Details
Thread dump (24.68 KB, application/octet-stream)
2014-08-14 15:04 UTC, iluvtr
Details
NB doesn't mark errors (120.48 KB, image/png)
2014-08-14 15:07 UTC, iluvtr
Details
Profile sample (6.33 KB, application/octet-stream)
2014-08-14 15:08 UTC, iluvtr
Details
NB doesn't mark errors (125.29 KB, image/png)
2014-08-14 15:15 UTC, iluvtr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iluvtr 2014-07-17 12:50:13 UTC
Created attachment 148102 [details]
Image of bug

When you use the IDE for one or more hours you can get an strange behaviour: you can have an error on a Java file but the IDE doesn't mark with red the error. 

The workaround is restart the IDE, but it's very cumbersome
Comment 1 Dusan Balek 2014-07-28 08:11:40 UTC
Could you please create a thread dump next time you reproduce the problem? Thanks.
Comment 2 Tomas Zezula 2014-08-06 12:25:07 UTC
Waiting for thread dump or self sampler file.
Comment 3 Tomas Zezula 2014-08-06 12:26:59 UTC
Here is help how to generate thread dump: http://wiki.netbeans.org/GenerateThreadDump
And here is help how to generate self sampler file: http://wiki.netbeans.org/FitnessViaPartnership
Comment 4 iluvtr 2014-08-07 03:04:45 UTC
Thank you for your attention and guidelines. The last times I had this bug I forgot to take the thread dump. The next time I catch this bug, you can make sure I gonna send you the thread dump
Comment 5 Tomas Zezula 2014-08-07 06:00:25 UTC
Thanks a lot!
Comment 6 iluvtr 2014-08-14 15:04:41 UTC
Created attachment 148703 [details]
Thread dump

Attaching thread dump
Comment 7 iluvtr 2014-08-14 15:07:18 UTC
Created attachment 148704 [details]
NB doesn't mark errors
Comment 8 iluvtr 2014-08-14 15:08:27 UTC
Created attachment 148705 [details]
Profile sample
Comment 9 iluvtr 2014-08-14 15:15:12 UTC
Created attachment 148706 [details]
NB doesn't mark errors
Comment 10 Jiri Prox 2014-08-18 08:42:33 UTC
requested info was provided
Comment 11 Dusan Balek 2014-08-18 11:12:07 UTC
As can be seen from the error stripe on the right side of the editor, there is an error displayed near the beginning of the source file (see the attached screenshot from comment 9). What is the message of that error?
Comment 12 iluvtr 2014-08-18 13:34:38 UTC
I don't remember that message
Comment 13 iluvtr 2014-08-18 16:56:08 UTC
I think this problem comes when NetBeans starts alerting 'Low memory to compile classes', and the memory is almost full. Maybe you could reproduce this bug assigning your test IDE a lower -Xmx, and trying to make some changes to Java classes in order to fill the memory.
Comment 14 Dusan Balek 2014-08-19 09:11:18 UTC
Could you please attach a memory heap dump?