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 101776 - NPE inside 'Add module dependency dialog'
Summary: NPE inside 'Add module dependency dialog'
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-04-19 14:09 UTC by Max Sauer
Modified: 2007-09-06 22:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE stack trace (4.54 KB, text/plain)
2007-04-19 14:10 UTC, Max Sauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max Sauer 2007-04-19 14:09:40 UTC
Sometimes, when adding new module dependency, and using 'Filter' textfield, the
dialog searches for a very long time. In case 'Show non-api modules' checkbox is
checked in the middle of the process, following NPE pops up: 

java.lang.NullPointerException
	at
org.netbeans.modules.apisupport.project.ui.customizer.AddModulePanel.showDescription(AddModulePanel.java:201)
	at
org.netbeans.modules.apisupport.project.ui.customizer.AddModulePanel.access$000(AddModulePanel.java:59)
	at
org.netbeans.modules.apisupport.project.ui.customizer.AddModulePanel$1.valueChanged(AddModulePanel.java:79)
	at javax.swing.JList.fireSelectionValueChanged(JList.java:1765)
	at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1779)
(whole stack trace attached)

---
NetBeans IDE Dev (Build 070419)
1.6.0_01; Java HotSpot(TM) Server VM 1.6.0_01-b04
Linux version 2.6.12-1.1390_FC4smp running on i386
en_US (nb); UTF-8
Comment 1 Max Sauer 2007-04-19 14:10:26 UTC
Created attachment 41252 [details]
NPE stack trace
Comment 2 Jesse Glick 2007-09-06 22:46:36 UTC
Checking in AddModulePanel.java;
/shared/data/ccvs/repository/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/customizer/AddModulePanel.java,v
 <--  AddModulePanel.java
new revision: 1.44; previous revision: 1.43
done