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.
Every time I start the Netbeans Ruby IDE the IDE spends about 15 min indexing my projects and, unfortunately, also all library files. It spends most of the time in jruby-1.0.3\lib\ruby\1.8 (And the IDE won’t exit during this time so it has to be killed) The problem appeared about two weeks ago, but I don’t remember exactly at what build number. (It appeared about the same time I started to use the auto_update script. I just extract the new zip over the existing folder (with forced override) so that I don’t lose installed plugins.) Product Version: NetBeans Ruby IDE 20071225172709 Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06 System: Windows XP version 5.1 running on x86; Cp1250; sl_SI (nbrubyide) Userdir: C:\Documents and Settings\ajasja\Application Data\.nbrubyide\dev
Created attachment 54504 [details] Screenshot of slow indexing
Created attachment 54505 [details] Screenshot of slow indexing
Created attachment 54507 [details] Screenshot of slow indexing
Created attachment 54508 [details] layer-stamp.txt
Created attachment 54509 [details] lookup-stamp.txt
The auto_update script has nothing to do with this bug. I just installed Build #5916 (Product Version: NetBeans Ruby IDE 20071226092219) in a fresh folder, but it still indexes the library files.
Hi there, I recently rev'ed the schema version for the index database, so a single re-index needed to be performed. BUT, (a) it sounds like it's not using the pre-indexed databases for most of your gems, and more importantly, it's happening not just once but every time? Would you mind trying to start NetBeans with a different userdir, and see if it happens more than once? netbeans --userdir /tmp/test
Hello! Sorry for the late reply, I had a nasty case of the stomach flu. If I run the IDE with a fresh user dir then the slow indexing at startup does not occur (not even once). But I get this exception at startup http://www.netbeans.org/issues/show_bug.cgi?id=124535 and if I try to open a context menu on any project node (in the projects view) I get this exception http://www.netbeans.org/issues/show_bug.cgi?id=124534 (and no context menu). I tried deleting var folder in my normal userdir (and running the IDE without the --userdir option), but it indexed everything on the first run and got stuck in jruby-1.0.3\lib\ruby\1.8 on the second run. Best regards and a happy new year!
I figured something out: if I change the platform of the (main) project to the Built-in JRuby (1.0.3) then the slow indexing at startup does not occur (it only reindexes all project files). But if I try to run the project I get "Missing the Rails 2.0.2 gem..." and I can't install any gems for that platform. But I guess that's another issue:)
Might be dupe of issue 124444?
It probably is. I also wiped my user dir and now everything works fine again:)
Ok, marking as duplicate of 124444. *** This issue has been marked as a duplicate of 124444 ***