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 246765 - switching project groups causes compilation errors and hints to stop showing up.
Summary: switching project groups causes compilation errors and hints to stop showing up.
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-29 03:12 UTC by Milos Kleint
Modified: 2016-07-07 07:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (273.68 KB, image/png)
2014-08-29 03:12 UTC, Milos Kleint
Details
thread dump (21.34 KB, text/plain)
2014-08-30 01:53 UTC, Milos Kleint
Details
another screenshot with error marker missing (552.10 KB, image/png)
2014-08-30 01:54 UTC, Milos Kleint
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milos Kleint 2014-08-29 03:12:59 UTC
Created attachment 148948 [details]
screenshot

I'm switching between project groups a lot, at least once a day I have to restart netbeans because the error markers are not showing up and hints don't show up in editor. I believe project's view shows errors correctly but not 100% sure if that's consistent.

I'm using exclusively maven projects. Not sure if this is proper category to file under, feel free to reassign.

Product Version: NetBeans IDE 8.0 (Build 201403101706)
Updates: NetBeans IDE is updated to version NetBeans 8.0 Patch 2
Java: 1.7.0_60; Java HotSpot(TM) 64-Bit Server VM 24.60-b09
Runtime: Java(TM) SE Runtime Environment 1.7.0_60-b19
System: Mac OS X version 10.9.4 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/mkleint/Library/Application Support/NetBeans/8.0
Cache directory: /Users/mkleint/Library/Caches/NetBeans/8.0
Comment 1 Tomas Zezula 2014-08-29 07:27:13 UTC
Cau Milosi,
according to the screenshot the problem (in your case useless import) is correctly marked in the editor but the error or hint icon is not displayed.
Right?
Comment 2 Milos Kleint 2014-08-29 07:28:36 UTC
in case of hints yes, in case of compilation error not I believe. I will double check once it happens again.
Comment 3 Tomas Zezula 2014-08-29 07:30:00 UTC
Also can you attach a thread dump when it happens again.
Thanks!
Comment 4 Milos Kleint 2014-08-30 01:53:42 UTC
Created attachment 148962 [details]
thread dump

no error markers for compilation errors don't show up in editor but show up in editor tab and project view, attached thread dump (when I noticed the problem)
Comment 5 Milos Kleint 2014-08-30 01:54:21 UTC
Created attachment 148963 [details]
another screenshot with error marker missing
Comment 6 Tomas Zezula 2015-09-15 10:48:05 UTC
Neither me nor Svata can reproduce the problem.
The "Editor Parsing Loop (201403101706)" is ready to handle requests but there are none. The problem may be in generic project api, maven, parsing, java. Without steps to reproduce it's very hard to say.
Milosi, when it happen again can you generate nps file for at least 1/2 min and also heap dump will be helpful as it can be used to find out ClassPaths in GlobalPathRegistry, active roots in parsing.
Also, do the the other editor features like mark occurrences work fine?
Thanks a lot.
Comment 7 Milos Kleint 2015-09-15 11:00:38 UTC
I've stopped switching project groups and upgraded to 8.1 beta. Please note that the project in question defined /src folder as both source and resource folders, I don't already remember if I've seen it with other projects as well (i believe I did). I'm not seeing the problem now.
Comment 8 Martin Balin 2016-07-07 07:17:40 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss