Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 190467 - NullPointerException at org.netbeans.modules.masterfs.watcher.LinuxNotifier.nextEvent
NullPointerException at org.netbeans.modules.masterfs.watcher.LinuxNotifier.n...
Status: RESOLVED FIXED
Product: platform
Classification: Unclassified
Component: Filesystems
6.x
All All
: P3 (vote)
: 7.0
Assigned To: Petr Nejedly
issues@platform
EXCEPTIONS_REPORT
:
Depends on:
Blocks: 26230
  Show dependency treegraph
 
Reported: 2010-09-20 16:32 UTC by Jesse Glick
Modified: 2010-09-22 03:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments
stacktrace (245 bytes, text/plain)
2010-09-20 16:33 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2010-09-20 16:32:57 UTC
This issue was reported manually by jglick.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 100920-44dca4908ecb)
VM: Java HotSpot(TM) Client VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06
OS: Linux

User Comments:
jglick: Was thrown many times after I resumed my computer from suspend.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.masterfs.watcher.LinuxNotifier.nextEvent(LinuxNotifier.java:138)
   at org.netbeans.modules.masterfs.watcher.Watcher$Ext.run(Watcher.java:137)
   at java.lang.Thread.run(Thread.java:619)
Comment 1 Jesse Glick 2010-09-20 16:33:02 UTC
Created attachment 102087 [details]
stacktrace
Comment 2 Petr Nejedly 2010-09-20 17:52:48 UTC
Thanks for a great test case causing the OS notification queue overflow.
The fix will be two-part:
*) correctly forward the overflow event to the infrastructure (and prevent NPE)
*) Do a full refresh of all the registered folders.
Comment 3 Petr Nejedly 2010-09-20 18:02:41 UTC
The NPE part is fixed:
http://hg.netbeans.org/core-main/rev/205206707791

The overflow handling is filed as: 190470
Comment 4 Quality Engineering 2010-09-22 03:07:54 UTC
Integrated into 'main-golden', will be available in build *201009220000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/205206707791
User: Petr Nejedl


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo