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 109000 - 6.0: code completion not working for "NPE"
Summary: 6.0: code completion not working for "NPE"
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-06 04:04 UTC by Masaki Katakai
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2007-07-06 04:04:07 UTC
On 6.0 M10, these code completion that can work on 5.5
does not work, e.g.

Type "NPE", then Ctrl+\

On NetBeans 5.x, it will show

  NoPermissionException
  NullPointerException

as candidate.

But there is no candidate on 6.0 M10.
Comment 1 Dusan Balek 2007-07-31 12:37:58 UTC
Fixed.

Checking in JavaCompletionItem.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/JavaCompletionItem.java,v  <--  JavaCompletionItem.java
new revision: 1.52; previous revision: 1.51
done
Checking in Utilities.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/Utilities.java,v  <--  Utilities.java
new revision: 1.28; previous revision: 1.27
done
Checking in JavaCompletionProvider.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/JavaCompletionProvider.java,v  <--  JavaCompletionProvider.java
new revision: 1.129; previous revision: 1.128
done