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.
NetBeans dev build 201109090600 JDK 7 build 147 Steps to reproduce: 1. Create a NetBeans platform module with a TopComponent (Window) and open the TopComponent. 2. Open the Tasks window. 3. Set the filter to "Default filter". 4. Click the "Show tasks for all opened projects" button if not yet in that mode. 5. Set the filter to "Show all". 6. Click the "Show tasks for currently edited file only" button. A java.lang.NullPointerException occurs at org.netbeans.modules.java.editor.whitelist.WhiteListTaskProvider$4.run(WhiteListTaskProvider.java:321). Another way to produce the behaviour is to first click "Show tasks for currently edited file only" and then changing the filter to "Show all" (i.e. swap steps 5 and 6 above).
*** This bug has been marked as a duplicate of bug 201924 ***
I can confirm that this issue is fixed in build 201109141017. So indeed, the fix for bug #201924 has fixed this way of recreating the NullPointerException too. :)