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.
Summary: | IllegalArgumentException in Inspect windows for Elements with no sources | ||
---|---|---|---|
Product: | java | Reporter: | _ sandipchitale <sandipchitale> |
Component: | Navigation | Assignee: | _ sandipchitale <sandipchitale> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | blaha, mmirilovic, sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
_ sandipchitale
2007-12-10 20:43:19 UTC
A null check for fileObject associated with the Element was missing. Added the missing null check for associated fileObject which was missing for tree nodes with Elements that do not have associated source files available. A blank JavaDoc is now shown. Checking in src/org/netbeans/modules/java/navigation/JavaHierarchyModel.java; /cvs/java/navigation/src/org/netbeans/modules/java/navigation/JavaHierarchyModel.java,v <-- JavaHierarchyModel.java new revision: 1.17; previous revision: 1.16 done Checking in src/org/netbeans/modules/java/navigation/JavaMembersModel.java; /cvs/java/navigation/src/org/netbeans/modules/java/navigation/JavaMembersModel.java,v <-- JavaMembersModel.java new revision: 1.15; previous revision: 1.14 done This should be fixed in Patch 2. Fixed. Verified NetBeans IDE Dev (Build 200712111200) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Windows XP version 5.1 running on x86; Cp1252; The fix has been ported into the release601_fixes branch. Checking in src/org/netbeans/modules/java/navigation/JavaHierarchyModel.java; /cvs/java/navigation/src/org/netbeans/modules/java/navigation/Attic/JavaHierarchyModel.java,v <-- JavaHierarchyModel.java new revision: 1.16.6.1; previous revision: 1.16 done Checking in src/org/netbeans/modules/java/navigation/JavaMembersModel.java; /cvs/java/navigation/src/org/netbeans/modules/java/navigation/Attic/JavaMembersModel.java,v <-- JavaMembersModel.java new revision: 1.14.6.1; previous revision: 1.14 done |