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.
100325-f4b67c70efe1, JDK 6, Ubuntu. Not sure if this is a side effect of e.g. bug #182800 (if so then there is still a serious robustness bug in the indexer), but after starting up, every minute or so, another progress bar appears in the status area: "Checking for external changes [#####53% ] X /space/jdk1.6.0_18/jre/lib" and never disappears. No activity in thread dump. Persistent progress bars that never go away make this build completely unusable.
How does this relate to parsing.api? AFAIK was introduced by jtulach in: http://hg.netbeans.org/core-main/rev/7c5f5b8074fe and the string is defined and used in core.ui
Seems to be caused by bug #182793, though could probably do a separate robustness fix to reliably cancel progress handle in case of problems.
Created attachment 96666 [details] snapshot while spinning CPU stuck at 100%. I see this occasionally. This time debugging IDE. Attached snapshot. After took the snapshot managed to X the IDE under test; primary IDE still spinning. Took a second snapshot, will attach. Hit the X on the IDE and NB said it would terminate - nbvi-suite (debug) - Checking for external changes There's no visual evidence that the debugger is still running, the buttons have all gone away. Clicked go ahead and exit, the gui went away, but the console is sticking around. Ah, I see an occasional output from my stuff as things are closing down. Product Version: NetBeans IDE Dev (Build 201004030201) Java: 1.6.0_18; Java HotSpot(TM) Client VM 16.0-b13 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Created attachment 96667 [details] 2nd snapshot after stopping the debugged task
The "Checking for ..." happens frequently when debugging - set a break-point that will hit several times when conditions are correct - do the thing in the app that causes the condition - get the break-point, immediately continue - another break-point, continue Observe the Checking for external changes message This seems to be quite repeatable, but have not observed the stuck cpu sofar today. In this case I am debugging the IDE and have a breakpoint at 2nd line of IndentationPanel.prefsChange() in the EditorOptions module. The action to trigger the breakpoint is Tools>Options and Editor>Formatting was current the last time.
While sitting at a breakpoint in the same session just described. In main IDE started some editting did some code completion, very soon after that things went to hell.
Try to observe $userdir/var/log/uigestures, I guess there will be plenty of WINDOW_ACTIVATED reports (at least on my Linux whenever I open a dialog and close it, I seem to get an event like): <record> <date>2010-04-12T20:44:55</date> <millis>1271097895930</millis> <sequence>89642</sequence> <logger>org.netbeans.ui.focus</logger> <level>FINE</level> <thread>14</thread> <message>LOG_WINDOW_ACTIVATED</message> <key>LOG_WINDOW_ACTIVATED</key> <catalog>org.netbeans.core.ui.warmup.Bundle</catalog> <param>3</param> </record>
Now the behavior shall be much better: core-main#c03e95c8eb6f
*** Bug 183214 has been marked as a duplicate of this bug. ***
I consider this an important fix that shall be backported to 6.9 beta. What do you think?
+1. Let's get it into Beta if it is a low-risk fix.
Marian, can you test in the trunk and approve backport to Beta?
Integrated into 'main-golden', will be available in build *201004131450* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c03e95c8eb6f User: Jaroslav Tulach <jtulach@netbeans.org> Log: #182801: There needs to be proper DEACTIVATED event before we shall react to ACTIVATED one. Otherwise every closed dialog (on KDE Linux) yields scan for external changes
I am no more able to reproduce this issue- verified in trunk, please proceed with integration into NB 6.9 Beta.
Thanks for verification. Fix backported to 6.9 beta: http://hg.netbeans.org/release69_beta/rev/b0fcf3f1c0b5