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.
Created attachment 130879 [details] IDE log. In NetBeans 7.3RC1 was logged some error from RepositoryUpdater. I just unzipped full distribution and created java web project. FINE [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Paths ID classpath/javascript-boot: [D:\Development\builds\NB73\20130130\netbeans\ide\jsstubs\corestubs.zip;D:\Development\builds\NB73\20130130\netbeans\ide\jsstubs\domstubs.zip;D:\Development\builds\NB73\20130130\netbeans\ide\jsstubs\reststubs.zip] Product Version: NetBeans IDE 7.3 RC1 (Build 201301302200) Java: 1.7.0_11; Java HotSpot(TM) 64-Bit Server VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_11-b21 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Hello, I have several questions for this one: 1. Why is this P1? 2. Why is FINE logging turned on for repository updater in the release build? 3. Is the reported error harmful? Thanks, David
1/ because it would be desirable to fix in 7.3, at least I would also vote for fixing; it could scare users who see the console contents. 2/ because of PERFORMANCE defects, which reported scanning even if no project was opened. The FINE loglevel is set programmatically when background scan runs AND there's no project opened so the global classpath contains garbage, which should be reported. The level goes back to INFO after the bkg scan completes. 3/ no, it pollutes the log. In the case of 'scanning when no project is opened' we will need to filter out these invalid log entries (should be easy, since only *stubs.zip!/ are present in classpath) because of fragile detection and changes in JS stubs zip naming, the log now also reports "OK" situation with only JS stubs on classpath (of course it would be better if the classpath contained no entry at all)
Changeset: e361a7d6d1bf Author: Svata Dedic <sdedic@netbeans.org> Date: 2013-02-01 09:15 Message: Improved detection of IDE-injected entries on classpaths so diagnostics of scanning without project is not printed
fixed in trunk (pushing in a few minutes). Please decide on application to 7.3 release.
I am against pushing this into 7.3 branch but I don't want to make the final decision (yet). I would like to first hear from Tomas Zezula (after reviewing the patch) and also from QA (preferably Marian) how they assess how serious it is from their point of view. As for 3.: is the message printed just once (per IDE run) or is it printed repeatedly?
The patch is not dangerous, it just detects .*stubs.zip in the NB installation. Maybe 100% safe patch for Nb 7.3 will be just correct the name of the javascript stubs and hard code it and keep this patch only in dev.
During my testing, it was printed every time, when the IDE was empty & the 1st project was created, and every time the last project closed.
(In reply to comment #6) > The patch is not dangerous, it just detects .*stubs.zip in the NB installation. > Maybe 100% safe patch for Nb 7.3 will be just correct the name of the > javascript stubs and hard code it and keep this patch only in dev. Yes, I could just replace the .contains string with "/jsstubs/". Since it is for diagnostic only (and no real work), then even if user code contained some such directory, it could just cause the diagnostics NOT being printed, which is the safe side.
ported to release73 as http://hg.netbeans.org/releases/rev/9b7b3cec3405
Integrated into 'main-golden', will be available in build *201302020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e361a7d6d1bf User: Svata Dedic <sdedic@netbeans.org> Log: Issue #225589 - Non-empty roots encountered while no projects are opened: fixed Improved detection of IDE-injected entries on classpaths so diagnostics of scanning without project is not printed
Integrated into 'releases', will be available in build *201302032200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/9b7b3cec3405 User: Svata Dedic <sdedic@netbeans.org> Log: Issue #225589: no jsstubs/ files will trigger scanning diagnostics