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 190479 - Java fatal error in WindowsNotifier
Summary: Java fatal error in WindowsNotifier
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 normal (vote)
Assignee: Petr Nejedly
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-21 12:45 UTC by Egor Ushakov
Modified: 2010-09-23 11:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java error log (11.72 KB, text/plain)
2010-09-21 12:45 UTC, Egor Ushakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2010-09-21 12:45:06 UTC
Created attachment 102094 [details]
java error log

Lots of CND tests started to fail on windows because of java fatal error after WindowsNotifier was introduced, see log attached
Comment 1 Petr Nejedly 2010-09-22 08:19:05 UTC
Can you reproduce (at least randomly) during an IDE run, or only in the tests?
Comment 2 Egor Ushakov 2010-09-22 09:06:26 UTC
we do not use IDE on windows that frequently, but tests failures are rather stable. I can add any logging you'd need.
Comment 3 Petr Nejedly 2010-09-22 15:15:25 UTC
There was a huge problem when the watcher thread was started before registering any paths for listening (like in case you started with new userdir). This lead to a livelock with a potential of exhausting system resources.
I have delayed starting the thread until after the first watched folder and it fixed the behavior for me.

I believe it should fix your problems as well.
http://hg.netbeans.org/core-main/rev/94e76809fbc2
Comment 4 Quality Engineering 2010-09-23 03:01:07 UTC
Integrated into 'main-golden', will be available in build *201009230000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/94e76809fbc2
User: Petr Nejedl
Comment 5 Egor Ushakov 2010-09-23 11:14:25 UTC
I confirm that the problem has gone. Thanks!