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 211163 - "Non-empty roots encountered while no projects are opened; loglevel increased" constantly printing noise
Summary: "Non-empty roots encountered while no projects are opened; loglevel increased...
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks: 208277
  Show dependency tree
 
Reported: 2012-04-13 13:47 UTC by Jesse Glick
Modified: 2016-07-07 07:31 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2012-04-13 13:47:58 UTC
In recent dev builds, pretty much every time I close a (Java-based) project, my log gets

WARNING [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Non-empty roots encountered while no projects are opened; loglevel increased

and then fills up with hundreds of lines of what to me is irrelevant noise:

FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Paths ID classpath/boot: []
FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Dumping: Binary Libraries
......

Paths changed:
 event=PATHS_REMOVED pathKind=SOURCE pathType=classpath/source affected paths:
  "/tmp/module3/src:/tmp/module3/build/classes-generated"
--
====
RepositoryUpdater caller [id=0] :
java.lang.Thread.getStackTrace(Thread.java:1479)
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.recordCaller(RepositoryUpdater.java:1908)
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.scheduleWork(RepositoryUpdater.java:1425)
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.pathsChanged(RepositoryUpdater.java:535)
org.netbeans.modules.parsing.impl.indexing.PathRegistry.fire(PathRegistry.java:840)
org.netbeans.modules.parsing.impl.indexing.PathRegistry.run(PathRegistry.java:494)
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)
FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Cancelling RootsWork@2ccf09[followUpJob=false, checkEditor=false, useInitialState=true, because of RootsWork@1cc7ce3[followUpJob=false, checkEditor=false, useInitialState=true
.....

Please suppress.
Comment 1 Jesse Glick 2012-04-13 13:51:31 UTC
Introduced by 2f76718810bb. Seems after b70d83633857 you can at least use -J-DRepositoryUpdate.increasedLogLevel=INFO [sic].
Comment 2 Tomas Zezula 2012-04-13 13:55:15 UTC
I believe that the log is intentional and it caused by issue in projectui OpenProjects.openProjects which is not atomic.
Comment 3 Tomas Zezula 2012-04-13 13:56:31 UTC
And other reasons (unknown roots, etc.)
Comment 4 Svata Dedic 2012-04-27 05:47:01 UTC
I'll disable the output before 7.2 is released (or at least lower the 'increased' priority, so you'd have to use the propery RepositoryUpdate.increasedLogLevel. The log was introduced because of defect #208277, scanning after projects are closed as an attempt to find cause for such unwanted scan of already closed roots.
Comment 5 Martin Balin 2016-07-07 07:31:59 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