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.
Hi, I've downloaded and installed the tasklist found on the tasklist module webpage (not the one from auto-update) and I get the exception below at regular basis. I'm not doing anything special: just editing my sources while the tasklist window is open... I'm using NetBeans 3.5 final regards, Maarten Coene Annotation: Exception occurred in Request Processor java.lang.NullPointerException at org.netbeans.modules.tasklist.docscan.SourceScanner.scanAll (SourceScanner.java:414) at org.netbeans.modules.tasklist.docscan.SourceScanner.scan (SourceScanner.java:204) at org.netbeans.modules.tasklist.docscan.SourceTaskProvider.sc an(SourceTaskProvider.java:115) at org.netbeans.modules.tasklist.docscan.SourceTaskProvider.re scan(SourceTaskProvider.java:89) at org.netbeans.modules.tasklist.suggestions.SuggestionManager Impl$2.run(SuggestionManagerImpl.java:1659) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run (RequestProcessor.java:328) [catch] at org.openide.util.RequestProcessor$Processor.run (RequestProcessor.java:670)
It's very annoying, because it seems to me that when this happens, Tasklist doesn't work anymore (nothing shows up anymore in the suggestion list) until I restart NetBeans.
Can you tell me exactly which versions of the modules you're using? I was guessing "3.5 stable", except the line numbers in your stack traces don't match up. To tell, send your ide.log file (it's in your user directory's system/ directory. If you're not sure where the user directory is, go to the About item in the Help menu and select the Details tab in the resulting dialog.) This looks a lot like a bug a fixed a while ago, but since it was due to a race condition, there may be other race conditions remaining in the code which are causing what you're seeing.
Created attachment 10749 [details] ide.log
Here is my ide.log. The tasklist exception is at the bottom of the file
I do not get the exception symptom. But I randomly get "Tasklist doesn't work anymore (nothing shows up in the suggestion list) until I restart NetBeans.".
Document race condition eliminated