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 50537 - NPE in Request Processor when displaying javadoc for overriden method
Summary: NPE in Request Processor when displaying javadoc for overriden method
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Martin Roskanin
URL:
Keywords: REGRESSION
: 50505 50524 50553 50555 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-18 09:12 UTC by cezariusz
Modified: 2007-11-05 13:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (22.83 KB, patch)
2004-10-18 09:15 UTC, cezariusz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cezariusz 2004-10-18 09:12:14 UTC
Build 200410171800, JDK 5.0

When displaying code completion with javadoc for 
overriden method, NPE occurs.
Comment 1 cezariusz 2004-10-18 09:13:57 UTC
Test case:

        StringBuilder str = new StringBuilder();
        str.

from CC select any overriden method, for example: wait, equals (it's 
enough to type "eq" or "w" to see the exception.
Comment 2 cezariusz 2004-10-18 09:15:13 UTC
Created attachment 18349 [details]
messages.log
Comment 3 cezariusz 2004-10-18 09:17:55 UTC
This regression might be related to the fix for issue 50452.
Comment 4 Martin Roskanin 2004-10-18 09:23:26 UTC
Yes, it was caused by the fix issue #50452
I will look at it.
Comment 5 Martin Roskanin 2004-10-18 09:50:07 UTC
fixed in [maintrunk]

Thanks for finding it. I took the code from JavaKit. It looks that
JavaGotoSuperImplementation should be checked also for this problem...

/cvs/editor/src/org/netbeans/modules/editor/java/NbCompletionJavaDoc.java,v
 <--  NbCompletionJavaDoc.java
new revision: 1.47; previous revision: 1.46

/cvs/editor/src/org/netbeans/modules/editor/java/NbJMICompletionJavaDoc.java,v
 <--  NbJMICompletionJavaDoc.java
new revision: 1.24; previous revision: 1.23
Comment 6 Martin Roskanin 2004-10-18 09:57:23 UTC
Yes, it's there. issue #50541
Comment 7 Martin Roskanin 2004-10-18 12:32:26 UTC
*** Issue 50524 has been marked as a duplicate of this issue. ***
Comment 8 Martin Roskanin 2004-10-18 12:35:01 UTC
*** Issue 50505 has been marked as a duplicate of this issue. ***
Comment 9 Martin Roskanin 2004-10-18 12:36:09 UTC
*** Issue 50553 has been marked as a duplicate of this issue. ***
Comment 10 cezariusz 2004-10-18 13:41:54 UTC
*** Issue 50555 has been marked as a duplicate of this issue. ***
Comment 11 cezariusz 2004-10-28 12:38:04 UTC
v. 200410271800