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 187973

Summary: NullPointerException at org.netbeans.modules.jumpto.file.FileDescription.getIcon
Product: utilities Reporter: tnleeuw <tnleeuw>
Component: Jump ToAssignee: Victor Vasilyev <vvg>
Severity: normal CC: tnleeuw
Priority: P3 Keywords: SIMPLEFIX
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 170902
Attachments: stacktrace

Description tnleeuw 2010-06-23 06:12:49 UTC
Build: NetBeans IDE Dev (Build 201006220001)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows Vista

   at org.netbeans.modules.jumpto.file.FileDescription.getIcon(
   at org.netbeans.modules.jumpto.file.FileSearchAction$Renderer.getListCellRendererComponent(
   at javax.swing.plaf.basic.BasicListUI.paintCell(
   at javax.swing.plaf.basic.BasicListUI.paintImpl(
   at javax.swing.plaf.basic.BasicListUI.paint(
   at javax.swing.plaf.ComponentUI.update(
Comment 1 tnleeuw 2010-06-23 06:12:52 UTC
Created attachment 100342 [details]
Comment 2 Alexei Mokeev 2010-07-27 08:52:57 UTC
Valid issue. Likely caused by the lack of DataObject at line 100 of and therefore NPE on attempt to get Icon.

Can be either substituted by stub icon as done for 'no project' case or just ignored.
Comment 3 Victor Vasilyev 2010-09-16 08:50:08 UTC
*** Bug 188242 has been marked as a duplicate of this bug. ***
Comment 4 Victor Vasilyev 2010-09-16 09:35:30 UTC
Fixed in the main trunk
Comment 5 Quality Engineering 2010-09-17 03:23:43 UTC
Integrated into 'main-golden', will be available in build *201009170000* on (upload may still be in progress)
User: Victor G. Vasilyev <>
Log: #187973 -  NullPointerException at org.netbeans.modules.jumpto.file.FileDescription.getIcon