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.
This is the same issue as issue 244049, again the "core" items are missing in following use case: - install NB 8.0 SE, without patch - extend to all - create HTML5 project - upgrade to 8.0.1 Cleaning cache dir helps so I believe this is really identical situation to 244049 Product Version: NetBeans IDE 8.0.1 (Build 201408202300) Java: 1.7.0_67; Java HotSpot(TM) Client VM 24.65-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_67-b01 System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)
I used the -J-Dorg.netbeans.modules.javascript2.editor.index.level=FINE option as mentioned in the issue 244049 and the times are again "badly" fast: INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: /home/vriha/netbeans-8.0/ide/jsstubs/reststubs.zip took: 20 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms] INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: /home/vriha/netbeans-8.0/ide/jsstubs/domstubs.zip took: 46 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms] INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: /home/vriha/netbeans-8.0/ide/jsstubs/corestubs.zip took: 25 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms] It really looks like the same problem...
Created attachment 148817 [details] IDE log with -J-Dorg.netbeans.modules.javascript2.editor.index.level=FINE
Petre, could you please evaluate? In case it is really same situation as in case of 244049, could you please update the timestamps again and transplant it to releases?
This is stopper for 8.0.1 ... please proceed with evaluation/fix quickly. We scheduled final build for this night, so we still can catch the train and release together with GF team.
With a big help from Ondra, we tried following: - upload 3 modified stubs ZIP archives to hg.netbeans.org/binaries - in release801 branch, I changed the the javascript2.editor/external/binaries-list to 07D37946BA4E047506A1822261D54FDD04562C1C js-corestubs.zip 3BCBB635FA4631EDAB8C5BF8CCAF1AA53E315FF4 js-domstubs.zip 41006E8DA9DD2BB1EDD2F77D59366986F6FAA845 js-reststubs.zip - increased OpenIDE-Module-Specification-Version in manifest file of javascript2.editor - clean and build javascript2.editor - generated nbms in javascript2.editor - install the nbms file in the broken IDE => I have now code completion from DOM stubs, but NOT from the other 2 zips :/
I gave it another try and now the case from description worked (the only difference is that I enabled the mentioned logging before upgrading to 8.0.1) I'll try it few more times tomorrow morning
This change is not in a repository, should I push the changed zip files to the web-main and releases?
Hmmm, when I download http://hg.netbeans.org/binaries/07D37946BA4E047506A1822261D54FDD04562C1C-js-corestubs.zip , http://hg.netbeans.org/binaries/3BCBB635FA4631EDAB8C5BF8CCAF1AA53E315FF4-js-domstubs.zip and http://hg.netbeans.org/binaries/41006E8DA9DD2BB1EDD2F77D59366986F6FAA845-js-reststubs.zip all these zip files have files that were changed at 25th April 2014, which is not right. I'm going create to do new zip files with updated files.
So I have created new zip files, commit the change in binary-list: http://hg.netbeans.org/web-main/rev/ba85436c4f8c and also to the releases: http://hg.netbeans.org/releases/rev/ad8353384d1d This issue should be fixed in parsing infrastructure in the future, else we will run in this every release.
Thank you, I've tried it couple of times and without problem. What I tried - install NB 8.0 SE, without patch - extend to all - create HTML5 project - upgrade to 8.0.1 - install nbm from javascript2.editor (with increased spec version) I'll verify tomorrow with 801 build.
Integrated into 'main-silver', will be available in build *201408230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ba85436c4f8c User: Petr Pisl <ppisl@netbeans.org> Log: #246615 - Broken core completion after upgrade to 8.0.1
Integrated into 'releases/release801', will be available in build *201408222300* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/ad8353384d1d User: Petr Pisl <ppisl@netbeans.org> Log: #246615 - Broken core completion after upgrade to 8.0.1
Verified with latest 8.0.1 catalog, thank you Product Version: NetBeans IDE 8.0.1 (Build 201408222300) Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26 System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)