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 227782 - NullPointerException at org.netbeans.modules.profiler.nbimpl.actions.FileSensitivePerformer.contains
Summary: NullPointerException at org.netbeans.modules.profiler.nbimpl.actions.FileSens...
Status: RESOLVED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-21 16:00 UTC by _ tboudreau
Modified: 2013-03-21 16:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 199788


Attachments
stacktrace (7.77 KB, text/plain)
2013-03-21 16:00 UTC, _ tboudreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2013-03-21 16:00:55 UTC
Build: NetBeans IDE Dev (Build 20130111-46604caf2c6f)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Linux

User Comments:
tboudreau: Thrown whenever I click a node in Explorer with this module installed: https://github.com/timboudreau/nb-nodejs

This did not happen until I built the trunk from source and installed it in that.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.profiler.nbimpl.actions.FileSensitivePerformer.contains(FileSensitivePerformer.java:126)
   at org.netbeans.modules.profiler.nbimpl.actions.FileSensitivePerformer.enable(FileSensitivePerformer.java:83)
   at org.netbeans.modules.project.ui.actions.FileAction$2.run(FileAction.java:137)
   at org.netbeans.modules.project.ui.actions.FileAction$3.run(FileAction.java:153)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2048)
Comment 1 _ tboudreau 2013-03-21 16:00:57 UTC
Created attachment 132915 [details]
stacktrace
Comment 2 _ tboudreau 2013-03-21 16:44:12 UTC
Was nulls in the array of actions from the selected project.  The profiler probably should do a null check, but it was my bad for doing what you do in a Node for separators in an ActionProvider.